On Nov 4, 2009, at 10:52 PM, Eric B. wrote:
Hi,
I'm running postfix on an internal network with an internal DNS. My
internal DNS is configured for my particular domain (ie:
mydomain.com). I
have an MX pointer that points to my postfix machine so any email
being
generated for mydomain.com from the internal network ends up at the
postfix
machine. All that setup works fine.
My problem is the following. The email received by Postfix for mydomain.com
actually needs to be resent out into the internet destined for the
actual
mydomain.com email server located in a geographically different
location.
At the moment, Postfix will do an MX query for mydomain.com, realize
that it
is itself, and understandably not forward the email to the appropriate
place.
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]
Thanks,
Eric