"Wolfgang Zeikat" <wolfgang.zei...@desy.de> wrote in message news:4af201f9.8060...@desy.de... > 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.
This is definitely helpful information; thanks. I'll take a look into that ASAP. My only concern with this setup, of course, is that it requires me to manually update the MX for the domain if ever it changes. Is there no way to direct Postfix to a different DNS server (as opposed to the ones specified in resolve.conf) either for a particular domain, or for all domains altogether? Thanks, Eric