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