291204Re: Is a late header check possible?
- Feb 8, 2013Thu, 07 Feb 2013 10:03:32 -0600 skrev Noel Jones
> On 2/7/2013 8:58 AM, Titanus Eramius wrote:Thank you for the reply Noel, it's very helpful as usual.
> > I'm running SpamAssassin as a content_filter on incoming mail which
> > ads 4 spam-headers, one of them being "X-Spam-Level:". The precise
> > header varies, depending on the spamscore. SpamAssassin ads one "*"
> > for each spampoint, so a example-header could be:
> > X-Spam-Level: ********************
> > I would like to have the ability to redirect mails with that header
> > to a account where I can store them.
> > So basically I *think* I'm asking if Postfix have a header_checks
> > feature that runs after the content filters?
> I'll assume your content_filter reinjects mail to localhost:10025
> after processing.
> Note: make sure your post-filter header checks don't ever reject
> mail. That would make you a backscatter source and get you
> The cleanest way to do this is a separate postfix instance (not just
> a master.cf listener service) that listens on 10025, with its own
> header_checks. This also gives the very nice benefit of separation
> between pre-filter and post-filter mail.
The multi instance seems like the best solution, so I'll most likely go
And thanks for the warning.
- << Previous post in topic Next post in topic >>