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

Re: extra headers via amavis

Expand Messages
  • mouss
    ... if you insist, you can easily detect that in postfix (before the filter) with header checks and either reject the message or prepend a specific header that
    Message 1 of 14 , Dec 29, 2010
    • 0 Attachment
      Le 29/12/2010 23:42, Phil Howard a écrit :
      > [snip]
      >
      > It's not about preserving it, per se, but instead, it's about
      > detecting any attempts along those lines. It's a test I'd rather do
      > before amavis gets the mail. But that's also a larger project I'd
      > prefer to avoid. It's a fallback option if all else fails.
      >

      if you insist, you can easily detect that in postfix (before the filter)
      with header checks and either reject the message or prepend a specific
      header that your script can use

      /^Received: ..../ PREPEND X-NOTICE: found blah blah

      see my other post for how to use a "secret" value for the amavisd-new
      related header.

      >[snip]
    Your message has been successfully submitted and would be delivered to recipients shortly.