Blake: > I have a relay server which is doing great relaying email except a > specific domain. Instead of pointing to the new google aspmx servers it > is going to an old postini. I have made a request that the MX record be > updated but due to vacations of the individual in control it could be > mid to late next week before this change is made. For the short term I > would like to explicitly forward that one domain instead of setting the > relay server to send all mail one direction.
The Postfix "transport_maps" feature takes precedence over "relayhost". /etc/postfix/main.cf: # All mail to google aspmx, except domains specified in transport_maps. relayhost = ...google aspmx server... transport_maps = hash:/etc/postfix/transport /etc/postfix/transport: example.com smtp:...postini server... Use "postmap /etc/postfix/transport" after editing the file. http://www.postfix.org/transport.5.html http://www.postfix.org/postconf.5.html#transport_maps Wietse