Martijn de Munnik wrote:
On Nov 4, 2009, at 10:52 PM, Eric B. wrote:
How can I instruct Postfix on that server to ignore the MX record being
served by the internal DNS and actually query an external DNS server
for the
MX pointer instead? I looked through the main.cf config file, but can't
seem to find anything. Can I configure Postfix to use a different DNS
server as opposed to the internal one specified by my resolve.conf file?
Any help or suggestions would be appreciated.
http://www.postfix.org/postconf.5.html#transport_maps
mydomain.com smtp:[realmx.mydomain.com]
Martijn's above suggestion will reliably send mail for mydomain.com to
realmx.mydomain.com, which is what you may want to do.
Note: It does *not* query any DNS server for an MX record for
mydomain.com, though. You would need to adapt it manually in case the
external MX pointer is changed.
Hope this helps,
wolfgang