On 10/30/2011 5:35 PM, Brandon Phelps wrote: > Hello all, > > I am attempting to relay mail from one of my systems to my > gmail-hosted account. This is working OK except for one catch: > mail sent to users whom have aliases in /etc/aliases do not get > properly mapped to the correct user. > > For example my /etc/aliases file has the following: > > postmaster: root > root: brandon
Don't use /etc/aliases or mydestination for non-local domains. Domains that are relayed elsewhere for delivery should be listed in relay_domains and nowhere else. Valid recipients must be listed in relay_recipient_maps, with aliases listed in virtual_alias_maps. http://www.postfix.org/ADDRESS_CLASS_README.html http://www.postfix.org/STANDARD_CONFIGURATION_README.html If you need more help, please see http://www.postfix.org/DEBUG_README.html#mail -- Noel Jones