OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Re: clarification for smtpd milters and header/body checks

From: Noel Jones (njonesmegan.vbhcs.org)
Date: Thu Aug 02 2007 - 00:22:32 CDT


At 11:59 PM 8/1/2007, Marshal Newrock wrote:
>Is it possible to use header/body checks to reject mail after it goes
>through a milter?
>
>I am trying to use spamass-milter with postfix 2.4.3 to scan mail
>before it is accepted, and then reject it based on score or if it
>matches certain rules after being marked as spam. I have this working
>with spampd, but using the milter seems like it would be a little more
>reliable, and I also want to also get clamav into the mix.
>
>After switching from spampd to spamass-milter, I noticed that it was
>now bouncing messages instead of rejecting, so I promptly switched it
>back.

No, header_checks aren't applied to headers added by a milter.
I suppose you have a content_filter and the bounces are caused by the
after-filter postfix rejecting the mail.

--
Noel Jones