On 8/27/2012 3:03 PM, Juerg Reimann wrote:
> Hello everybody,
>
> Please excuse my probably rather novice question but I couldn't find any hint 
> on this. The document at http://www.postfix.org/SMTPD_PROXY_README.html says 
> it should be possible to reject an email with a before-queue content filter 
> ... but how would I exactly accomplish this?
>
> What I want to do is reject what spamassassin considers spam (ok, I know the 
> cons, but I really want to do it this way), so what I have in my master.cf is:
If I were you, I would use spamass-milter or similar because it does
exactly what you describe.
Personally, I use amavisd-milter to do virus scanning as well as spam
checking at the front door.
Just understand that milters are global as per the documentation.

I'm sure there are before-queue filters out there, but you cannot use a
pipe.
You must create/find a front-end that speaks SMTP as noted at the bottom
of the SMTPD_PROXY_README.

Brian

Reply via email to