Re: Receive for virtual AND forward to another SMTP per domain.

2011-09-08 Thread Jay Ess
On 2011-09-09 02:06, Noel Jones wrote: Use smtp_generic_maps to rewrite the new address back to the original during delivery. http://www.postfix.org/postconf.5.html#smtp_generic_maps @other.example.com @example.com This can be done either globally or with an -o override in a dedicated master.c

Re: Receive for virtual AND forward to another SMTP per domain.

2011-09-08 Thread Jay Ess
On 2011-09-09 02:00, Wietse Venema wrote: Jay Ess: On 2011-09-09 01:17, Wietse Venema wrote: Jay Ess: I have a primary SMTP-server that receives for domain.tld (duuuh) and it stores it in Maildirs. I also want to forward every mail received for the domain to another server that will do the ex

Re: Receive for virtual AND forward to another SMTP per domain.

2011-09-08 Thread Noel Jones
On 9/8/2011 6:44 PM, Jay Ess wrote: > On 2011-09-09 01:17, Wietse Venema wrote: >> Jay Ess: >>> I have a primary SMTP-server that receives for domain.tld (duuuh) >>> and it stores it in Maildirs. I also want to forward every mail >>> received for the domain to another server that will do the exact

Re: Receive for virtual AND forward to another SMTP per domain.

2011-09-08 Thread Wietse Venema
Jay Ess: > On 2011-09-09 01:17, Wietse Venema wrote: > > Jay Ess: > >> I have a primary SMTP-server that receives for domain.tld (duuuh) > >> and it stores it in Maildirs. I also want to forward every mail > >> received for the domain to another server that will do the exact > >> same thing. > > U

Re: Receive for virtual AND forward to another SMTP per domain.

2011-09-08 Thread Jay Ess
On 2011-09-09 01:17, Wietse Venema wrote: Jay Ess: I have a primary SMTP-server that receives for domain.tld (duuuh) and it stores it in Maildirs. I also want to forward every mail received for the domain to another server that will do the exact same thing. Use pcre-based recipient_bcc_maps.

Re: Receive for virtual AND forward to another SMTP per domain.

2011-09-08 Thread Wietse Venema
Jay Ess: > I have a primary SMTP-server that receives for domain.tld (duuuh) > and it stores it in Maildirs. I also want to forward every mail > received for the domain to another server that will do the exact > same thing. Use pcre-based recipient_bcc_maps. /etc/postfix/main.cf: recipient_

Receive for virtual AND forward to another SMTP per domain.

2011-09-08 Thread Jay Ess
I have a primary SMTP-server that receives for domain.tld (duuuh) and it stores it in Maildirs. I also want to forward every mail received for the domain to another server that will do the exact same thing. I know that i can forward mail to another address via the virtual_mailbox_maps file but i