Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have just started using spamassassin for my email server.

I am unable to find an answer for following questions:

  1. Does spamassassin scans attachments?

  2. If not, what plugins can be used for the same.

As far as I can comprehend spamassassin can dmime an attachment and can scan it if it's in a plain format (like html, txt etc), Is my assumption correct?

Thanks in advance

Ashish Sharma

share|improve this question

2 Answers 2

up vote 1 down vote accepted

Yes, it will scan them up to X kilobytes, where X is defined by --max-size parameter given to spamc, or for example the message size limit configured in amavisd-new.

What kind of attachments SpamAssassin will scan is depending on what kind of unarchivers and viewers you have installed. I you don't have (un)zip installed, don't expect SpamAssassin to dig through zip archives ... :-)

share|improve this answer

Spamassassin will scan the first X kB of each message-part (where X is configurable).

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.