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

2012-03-07 Thread Lars Preben Sørsdahl
from both our bcc-copy and the one forwarded to the relayhost. I understand this is because the cleanup is done before the delivery, but I don't see how I can configure this to achieve the result I need. Any tips is highly appreciated. :) -- 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
be copied to the myaccount IMAP account with all it's original headers, but I want to remove the X-Cusomer-ID (and possible some others) from the mail when it's delivered to the external relayhost. -- Lars Preben Sørsdahl lars.preben.no

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