Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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'm going to implement a mailfiltering gateway for my company. I'm going to use Postfix, with a PostgreSQL back-end.

The question would be: how to best implement the antispam measures.

  • Mailscanner + SpamAssassin?
  • amavisd-new + SpamAssassin?

(Note: I don't need antivirus filtering)

I've been searching for up-to-date comparison between Mailscanner and amavisd-new, but most comparisons I found are severely out of date.

Can someone provide me an up-to-date comparison or a link to such?


share|improve this question
But, consider this point of view:… – user115038 Mar 22 '12 at 21:06
up vote 5 down vote accepted

Silly me. Just found out about this page:

... and I quote:

mailscanner system, works with Postfix and other MTAs. WARNING: This software uses unsupported methods to manipulate Postfix queue files directly. This will result in corruption or loss of mail. The mailscanner authors have sofar refused to discuss a proper access API or protocol.

Case solved. amavisd-new, it will be.

Thanks for everyone who have tried to answer!


In the comments, @Spikolynn referred to , which explains how Postfix now implements a 'holding' queue which should prevent queue corruption.

Many improvements have happened on the Postfix side since this question was asked; so if you happen upon this Q&A as a result of a search, please be aware that the situation might not be as clear cut as it was when I came upon the problem.

share|improve this answer
Could you accept this as the answer to your question? Would help other visitors and keep the site clean(er). – the-wabbit Nov 28 '11 at 17:58
@syneticon-dj I'd like to, but it's still under embargo (i.e., clicking on the checkmark pops up a box "You can accept your own answer tomorrow") :) – pepoluan Nov 29 '11 at 5:01
BTW, as a side note: amavisd-new is working quite well with postfix. We're using it with AV scanners enabled, although technically there hardly would ever be a need due to configurable blocking by filetype - we just block executables and whatever is currently on the "potentially harmful" list. – the-wabbit Nov 29 '11 at 9:12
the… mentions a way you can configure mailscanner/postfix to not corrupt queues :) – Spikolynn Sep 1 '14 at 0:18
MailScanner is mega-awesome, but the primary maintainer has retired and it isn't getting the focus that it once did. The complaints about postfix queue corruption are overblown. – chicks Sep 1 '14 at 2:24

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.