A. Schulze:
(braindump, I'll post an update tomorrow if I'm wrong...) pcrefile: /^(.+)\@(.+)$/ someuser+$1_at_$2@archive transport_maps: archive smtp_to_archive: main.cf: recipient_bcc_maps = pcre:/path/to/pcrefile transport_maps = hash:/path/to/transport_maps smtp_to_archive_destination_recipient_limit = 1 master.cf smtp_to_archive unix - - - - - smtp -o syslog_name=postfix/to_archive
it's simpler. you do not need a separate transport to enforce destination_recipient_limit=1 pcrefile: /(.+)@(.+)/ someuser+${1}_at_${2}@archive /(.*)/ someuser+${1}@archive main.cf: recipient_bcc_maps = pcre:/path/to/pcrefile Andreas