Loading ...
Sorry, an error occurred while loading the content.

291204Re: Is a late header check possible?

Expand Messages
  • Titanus Eramius
    Feb 8, 2013
    • 0 Attachment
      Thu, 07 Feb 2013 10:03:32 -0600 skrev Noel Jones
      <njones@...>:

      > On 2/7/2013 8:58 AM, Titanus Eramius wrote:
      > > 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
      > blacklisted.
      >
      > 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.
      > http://www.postfix.org/MULTI_INSTANCE_README.html

      Thank you for the reply Noel, it's very helpful as usual.

      The multi instance seems like the best solution, so I'll most likely go
      with that.
      And thanks for the warning.
    • Show all 28 messages in this topic