Re: Single domain and two destinations via Postfix

2009-03-11 Thread Noel Jones
Philip wrote: Hello, We are testing a new mail system and I want to duplicate mail flow to the new system at the same time allow flow to the exist system. To send mail to an additional destination, you need to add an additional recipient. Use virtual_alias_maps to add a second recipient,

Re: Single domain and two destinations via Postfix

2009-03-11 Thread LuKreme
On 11-Mar-2009, at 09:14, Noel Jones wrote: You can optionally use a pcre smtp_generic_maps to rewrite the recipient back to the original domain. main.cf smtp_generic_maps = pcre:/etc/postfix/smtp_generic.pcre smtp_generic.pcre: /^(.*)@new\.example\.com$/ $...@example.com This would need

Re: Single domain and two destinations via Postfix

2009-03-11 Thread Magnus Bäck
On Wednesday, March 11, 2009 at 21:02 CET, LuKreme krem...@kreme.com wrote: On 11-Mar-2009, at 09:14, Noel Jones wrote: You can optionally use a pcre smtp_generic_maps to rewrite the recipient back to the original domain. main.cf smtp_generic_maps = pcre:/etc/postfix/smtp_generic.pcre

Re: Single domain and two destinations via Postfix

2009-03-11 Thread Noel Jones
LuKreme wrote: On 11-Mar-2009, at 09:14, Noel Jones wrote: You can optionally use a pcre smtp_generic_maps to rewrite the recipient back to the original domain. main.cf smtp_generic_maps = pcre:/etc/postfix/smtp_generic.pcre smtp_generic.pcre: /^(.*)@new\.example\.com$/ $...@example.com

Re: Single domain and two destinations via Postfix

2009-03-11 Thread LuKreme
On 11-Mar-2009, at 14:24, Noel Jones wrote: No, this is on the existing gateway. Generic rewriting is for outgoing mail. http://www.postfix.org/ADDRESS_REWRITING_README.html#generic Ah. Too bad there is not a similar option for local only mail, then I could use it to solve my multiple