On Tue, Jul 16, 2013 at 07:07:55AM -0700, HanniBaL wrote: > This is why, I'm trying to setup a fallback transport for a virtual domain, > under ZPanel/Postfix (Postfix version : 2.9.1), i.e when Postfix don't find > a user locally it will relay mails to Google Apps server.
The Postfix fallback_transport is a feature of the local(8) delivery agent. And user non-existence means not found in either the local aliases(5) file or /etc/passwd user database. It is far better to map each users mail destination explicitly, than to rely on fallback mechanisms. Lazy is good, too lazy is trouble. Use virtual_alias_maps to rewrite each user to <id>@gmail.example.com (where example.com is your domain) and route <id>@gmail.example.com to Google apps via a suitable border Postfix instance. This should canonicalize the recipient address to a stable identifier that will deliver it to the right Gmail mailbox. -- Viktor.