Charles Account wrote:


 > Date: Wed, 18 Feb 2009 17:33:36 -0600
 > From: njo...@megan.vbhcs.org
 > To: cwo1...@hotmail.com; postfix-users@postfix.org
 > Subject: Re: postfix/milter added headers and header_check feature
 >
 > Charles Account wrote:
 >> Hi,
 >>
 >> I found an email from Noel Jones:
 >> >>At 09:51 AM 8/2/2007, Marshal Newrock wrote:
 >> >>If not, what do I need to do in order to use header and body
 >> >>checks to reject mail after it has been scanned with the milter?
 >> >>
 >> >>Header_checks does not inspect headers added by milters in the same
 >> instance of postfix. You cannot use>>header_checks to reject mail based
 >> on milter-added headers.
 >
 > Still true.
 >
 >
 >>
 >> Here's my problem...
 >> I want to running a postfix (outbound mail) where the milter adds an
 >> RFC822 header. The added header classifies the mail. If the header
>> classification is good, I would like the mail to be deliver to its final
 >> destination (ie lmtp or smtp). If the header classification is bad, I
 >> would like the mail to be routed to a secondary postfix.
 >
 > Use two (or more) postfix instances. Do the header_checks in
 > the second instance. Postfix 2.6 will have a simplified
 > multi-instance interface to make it easier.
 >
 > -- Noel Jones

I am trying to understand after-queue content filter feature to see if I can run a filter to examine the mail classification. Reading the 'simple content filter example' it states 'deliver unfiltered mail to a content filter with the postfix pipe. If I have the milter injecting headers, are the headers available via content filter?


Yes, basically what I describe is using a second instance of postfix as what that document calls an "advanced" content_filter.

  -- Noel Jones

Reply via email to