Patrick Proniewski:
> What would be the best way to do this? 
> 
> I've though about using bcc maps, something like this: 
> 
> user1@domain  user1@training.domain
> user2@domain  user2@training.domain
> 
> but in case of failure on the training server side, the From:
> address would get an delivery error message, right?
>
> Any help greatly appreciated!  Patrick

Postfix built-in mechanisms to add recipients are "reliable" in the
sense that the sender will be informed of delivery errors.

To add a recipient without notification, use an smtpd_proxy_filter
that copies command and replies without modification, and that adds
the additional recipients as

    RCPT TO:<additional-recipient> NOTIFY=NONE

(this requires Postfix 2.3 or later).

SMTP proxies take a few lines of Perl, Python, etc.

        Wietse

Reply via email to