Re: Stripping out headers
- Jay Chandler wrote:
> I was leafing through the O'Reilly Postfix book, and was wondering theremoving headers loses information (that may help in debugging,
> best way to have Postfix remove a particular header (in this case,
> Disposition-Notification-To:) as it processes mail.
filtering, ... etc). Rewrite it instead. use header_checks for that:
/(^Disposition-Notification-To:.*)/ REPLACE X-$1