Re: Simultaneously specifying both a recipient and a transport?

2014-11-28 Thread Robert Schetterer
Am 28.11.2014 um 14:41 schrieb Nicolas Boullis: > Hi, > > On Thu, Nov 27, 2014 at 09:43:59AM -0500, Wietse Venema wrote: >> >> 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 ba

Re: Simultaneously specifying both a recipient and a transport?

2014-11-28 Thread Wietse Venema
Nicolas Boullis: > Thanks Wietse for those suggestions, I did not consider using a > smtpd_proxy_filter. > However, I had a look at smtpprox as you suggested but, as far as I can > see, it cannont behave as a Y proxy. This takes a few lines of code. > I could consider writing a Y proxy myself,

Re: Simultaneously specifying both a recipient and a transport?

2014-11-28 Thread Nicolas Boullis
Hi, On Thu, Nov 27, 2014 at 05:59:47PM +, Viktor Dukhovni wrote: > > If you don't want to use an SMTP "Y" proxy, you can use recipient_bcc_maps > with regexp tables, I believe examples are in the list archives. > > BCC mapping via regexp or PCRE: > u...@example.netu...@exam

Re: Simultaneously specifying both a recipient and a transport?

2014-11-28 Thread Nicolas Boullis
Hi, On Thu, Nov 27, 2014 at 09:43:59AM -0500, Wietse Venema wrote: > > 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 c

Re: Simultaneously specifying both a recipient and a transport?

2014-11-27 Thread Viktor Dukhovni
On Thu, Nov 27, 2014 at 09:43:59AM -0500, Wietse Venema wrote: > 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 dir

Re: Simultaneously specifying both a recipient and a transport?

2014-11-27 Thread Wietse Venema
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 pa

Re: Simultaneously specifying both a recipient and a transport?

2014-11-27 Thread Nicolas Boullis
On Thu, Nov 27, 2014 at 02:59:25PM +0100, li...@rhsoft.net wrote: > > no, but you can add a transport for "sameu...@example.net" > > http://www.postfix.org/postconf.5.html#transport_maps Sorry if it wasn’t clear: "anyuser" and "sameuser" where supposed to be the same local part. In my current p

Re: Simultaneously specifying both a recipient and a transport?

2014-11-27 Thread li...@rhsoft.net
Am 27.11.2014 um 14:54 schrieb Nicolas Boullis: On an e-mail system where the storage is backed up daily, if the mailbox storage fails, I may loose up to one day of e-mail. To avoid this, I am willing back up all incoming emails, so I can replay them if I ever have to restore the mailboxes. Cur

Simultaneously specifying both a recipient and a transport?

2014-11-27 Thread Nicolas Boullis
Hi, On an e-mail system where the storage is backed up daily, if the mailbox storage fails, I may loose up to one day of e-mail. To avoid this, I am willing back up all incoming emails, so I can replay them if I ever have to restore the mailboxes. Currently, I defined a recipient_bcc map that