Virtual domains + address rewriting + transport ?

2009-02-08 Thread Tony Demark
Good day. I am have spent spent some time trying to figure out if the following Postfix config is possible and am hoping for some guidance. Short Synopsis: I would like to move some of my virtual domains to have their email hosted via a Google for Domains account. While there are only a

Re: Virtual domains + address rewriting + transport ?

2009-02-08 Thread Wietse Venema
Tony Demark: Good day. I am have spent spent some time trying to figure out if the following Postfix config is possible and am hoping for some guidance. Short Synopsis: I would like to move some of my virtual domains to have their email hosted via a Google for Domains account.

Re: Virtual domains + address rewriting + transport ?

2009-02-08 Thread Tony Demark
On Feb 8, 2009, at 2:31 PM, Wietse Venema wrote: Tony Demark: I would like to move some of my virtual domains to have their email hosted via a Google for Domains account. While there are only a handful of accounts, most of the accounts have many aliases and have used '-' as a recipient

Re: Virtual domains + address rewriting + transport ?

2009-02-08 Thread Wietse Venema
Tony Demark: On Feb 8, 2009, at 2:31 PM, Wietse Venema wrote: Tony Demark: I would like to move some of my virtual domains to have their email hosted via a Google for Domains account. While there are only a handful of accounts, most of the accounts have many aliases and have used

Re: Virtual domains + address rewriting + transport ?

2009-02-08 Thread Tony Demark
On Feb 8, 2009, at 4:23 PM, Wietse Venema wrote: Tony Demark: On Feb 8, 2009, at 2:31 PM, Wietse Venema wrote: Tony Demark: I would like to move some of my virtual domains to have their email hosted via a Google for Domains account. While there are only a handful of accounts, most of the

Re: Virtual domains + address rewriting + transport ?

2009-02-08 Thread mouss
Tony Demark a écrit : On Feb 8, 2009, at 2:31 PM, Wietse Venema wrote: Tony Demark: I would like to move some of my virtual domains to have their email hosted via a Google for Domains account. While there are only a handful of accounts, most of the accounts have many aliases and have

Re: Virtual domains + address rewriting + transport ?

2009-02-08 Thread Wietse Venema
Tony Demark: If the original server gets an email addressed to 'me- foo...@example.com', I need the email to be relayed to 'm...@example.com', not 'me-foo...@example.com'. /^(.+)(-.+)?...@example\.com$/$...@example.com OK ... I think I got this figured out. It ended up that the

Re: Virtual domains + address rewriting + transport ?

2009-02-08 Thread Tony Demark
On Feb 8, 2009, at 6:10 PM, Wietse Venema wrote: To make this work without false matches, you will need to enumerate the user names. /^(user1|user2|user3)(-.+)?...@example\.com$/$...@example.com /^(user4|user5|user6)(-.+)?...@example\.com$/$...@example.com False positives will cause