Re: Keeping a copy of all mail, and then removing headers from outbound

2012-03-09 Thread Lars Preben Sørsdahl
In that case, it should be safe to have the option in main.cf, because LMTP mail delivery uses lmtp_header_checks instead of smtp_header_checks. Thanks, Wietse. It worked like a charm. -- Lars Preben Sørsdahl lars.preben.no

Re: Keeping a copy of all mail, and then removing headers from outbound

2012-03-08 Thread Lars Preben Sørsdahl
What I'm trying to achieve is for Postfix to deliver a copy to a local IMAP account, and then remove our internal/private headers before passing the mail on to the relay host. The idea is for some custom software to read the copy from the IMAP account, using the interal/private headers

Re: Keeping a copy of all mail, and then removing headers from outbound

2012-03-08 Thread Wietse Venema
Lars Preben S?rsdahl: What I'm trying to achieve is for Postfix to deliver a copy to a local IMAP account, and then remove our internal/private headers before passing the mail on to the relay host. The idea is for some custom software to read the copy from the IMAP account, using the

Keeping a copy of all mail, and then removing headers from outbound

2012-03-07 Thread Lars Preben Sørsdahl
All our internal machine generated emails are sent through our Postfix server (which is only used for outbound mail), and then relayed out to a third party MTA. To be able to integrate all outbound mail to other services (like CRM), we are adding a few headers (customer number etc) to the mail

Re: Keeping a copy of all mail, and then removing headers from outbound

2012-03-07 Thread Wietse Venema
Lars Preben S?rsdahl: All our internal machine generated emails are sent through our Postfix server (which is only used for outbound mail), and then relayed out to a third party MTA. To be able to integrate all outbound mail to other services (like CRM), we are adding a few headers (customer