Janantha Marasinghe:
> Dear Friends,
> 
> I'm currently using always_bcc to archive inbound and outbound of my 
> postfix server. What do I have to do to preserve the original envelope 
> of the e-mails sent? I search the mailinglist archive at postfix users 
> but couldnt find a clear solution.

Use a regular expression:

/etc/postfix/main.cf:
    recipient_bcc_maps = pcre:/etc/postfix/recipient_bcc
    recipient_delimiter = +

/etc/postfix/recipient_bcc:
    /^(.*)@(.*)/        bcc+$1=$2...@example.com

(it would also work with "recipient_delimiter = -", and
"bcc-$1=$2...@example.com").

        Wietse

Reply via email to