postfix-users

Re: clarification for smtpd milters and header/body checks

Subject: Re: clarification for smtpd milters and header/body checks
From: Noel Jones <njones AT megan.vbhcs DOT org>
To: <postfix-users AT postfix DOT org>
Date: Thu, 02 Aug 2007 00:22:32 -0500
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

<Prev in Thread] Current Thread [Next in Thread>