postfix mail filtering with amavisd-milter - works!

Patrick Ben Koetter p at
Thu Jan 31 08:37:08 CET 2013

* Jo Rhett <jrhett at>:
> So I've been a sendmail admin for 20+ years and never saw any need for
> postfix. I was very happy with sendmail and amavisd-milter and amavisd.
> However, when rebuilding my colo box I decided to go ahead and learn
> postfix, just so I can see how the other half lives ;-)
> First, I found that all of the published recipes for spam containment with
> postfix are bogus. They either create back-scatter, or they drop messages
> which hit the filter instead of rejecting them in the SMTP session like they
> are supposed to. So if something is a false positive, the far side will
> never know it happened. Neither of these situations is playing fair to other
> parties.
> So I've done some testing and work, and I currently have postfix using
> amavisd-milter as a before-queue spam test, which properly rejects spam
> during the SMTP session. This solves both of the previous problems and
> brings postfix users closer to being a proper mail gateway. I believe very
> strongly that this recipe should replace the existing documentation, to
> avoid sending new users out to become backscatters.

Agreed. I will expand the documentation as my time permits. There's good
reason to keep both approaches. Some countries don't see the need to do
pre-queue filtering; they have different ideas of a good [TM] content filter

p at rick

[*] sys4 AG, +49 (89) 30 90 46 64
Franziskanerstraße 15, 81669 München
Sitz der Gesellschaft: München, Amtsgericht München: HRB 199263
Vorstand: Patrick Ben Koetter, Axel von der Ohe, Marc Schiffbauer
Aufsichtsratsvorsitzender: Joerg Heidrich

More information about the amavis-users mailing list