Nicolas Boullis:
> Sorry if it wasn't clear: "anyuser" and "sameuser" where supposed to be 
> the same local part.
> In my current prototype, f...@example.net is copied to 
> f...@email-backup.example.net, b...@example.net to 
> b...@email-backup.example.net and so on'
> 
> If I change the local part instead of the domain, it is no better, and I 
> will have to deal with a more complex transport map.

Normally, Postfix makes delivery decisions based on the recipient
address. If you want to deliver the same recipient in multiple
places, then you need to create a backup copy of the message:

- Either send the backup copy directly to the backup system as shown
below:

                                    /-backup system
network - smtpd - smtpd_proxy_filter
                                    \-smtpd....

- Or re-inject the backup copy into Postfix via an smtpd process
that is configured to add a "content_filter" record that points to
the backup system:

                                    /-smtpd with content_filter=backup:
network - smtpd - smtpd_proxy_filter
                                    \-smtpd....

A Perl-based smtpd_proxy_filter can be found at at
http://bent.latency.net/smtpprox/

The graphics require that you render email with a fixed font such
as Courier.

        Wietse

Reply via email to