Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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
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


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.