Re: Add all BCC-recipients to a header for archiving

2015-03-30 Thread A. Schulze
Viktor Dukhovni: The alternative is to use recipient_bcc_maps instead of always_bcc, with a per-recipient archive address that encapsulates the original recipient address. perfect timing: I just was ask to improve a always_bcc setup :-) Thanks to André and Viktor! I now have the following se

Re: Add all BCC-recipients to a header for archiving

2015-03-26 Thread Viktor Dukhovni
On Thu, Mar 26, 2015 at 05:54:21PM +0100, Andr? Peters wrote: > For a mail archiving solution I need to write all BCC'ed recipients to a > X-header. I am looking for a better way to hide this X-header from users > than ignoring it at delivery and only keep it for recipient > "arch...@archive.domai

Add all BCC-recipients to a header for archiving

2015-03-26 Thread André Peters
Hello, For a mail archiving solution I need to write all BCC'ed recipients to a X-header. I am looking for a better way to hide this X-header from users than ignoring it at delivery and only keep it for recipient "arch...@archive.domain.tld". So far I am doing this: /etc/postfix/main.cf