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

Re: Stripping out headers

Expand Messages
  • mouss
    ... removing headers loses information (that may help in debugging, filtering, ... etc). Rewrite it instead. use header_checks for that:
    Message 1 of 6 , Jan 29 2:00 PM
      Jay Chandler wrote:
      > I was leafing through the O'Reilly Postfix book, and was wondering the
      > best way to have Postfix remove a particular header (in this case,
      > Disposition-Notification-To:) as it processes mail.

      removing headers loses information (that may help in debugging,
      filtering, ... etc). Rewrite it instead. use header_checks for that:

      /(^Disposition-Notification-To:.*)/ REPLACE X-$1
    Your message has been successfully submitted and would be delivered to recipients shortly.