On Thu, Nov 05, 2009 at 04:27:33PM -0500, Daniel L'Hommedieu wrote:
> Your postfix
> server will use DNS to query for the MX record for example.com, which will
> return mx.example.com. Ordinarily it would then query DNS for the "A"
> record for mx.example.com, but if you configure nsswitch.com to query files
> before DNS, you can put mx.example.com into the /etc/hosts file, with the
> desired IP address.
Much easier to just use a transport(5) table entry. If one is willing
to implement static overrides (rather than redirect DNS queries to an
alternate source), the transport(5) table is by far the simplest choice.
--
Viktor.
Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the "Reply-To" header.
To unsubscribe from the postfix-users list, visit
http://www.postfix.org/lists.html or click the link below:
<mailto:[email protected]?body=unsubscribe%20postfix-users>
If my response solves your problem, the best way to thank me is to not
send an "it worked, thanks" follow-up. If you must respond, please put
"It worked, thanks" in the "Subject" so I can delete these quickly.