Re: [exim] How to use /etc/hosts for MXs

Top Page
Delete this message
Reply to this message
Author: Tony Finch
Date:  
To: christian meutes
CC: exim-users
Subject: Re: [exim] How to use /etc/hosts for MXs
On Fri, 14 Jul 2006, christian meutes wrote:
>
> how can i make use of /etc/hosts to resolve MX to IP?


/etc/hosts contains host names not mail domains, so it isn't possible to
use it for MX resolution. The dnslookup router is called the dnslookup
router for a reason! If you want special non-DNS routing for certain
domains, use the manualroute router.

Tony.
--
<fanf@???> <dot@???> http://dotat.at/ ${sg{\N${sg{\
N\}{([^N]*)(.)(.)(.*)}{\$1\$3\$2\$1\$3\n\$2\$3\$4\$3\n\$3\$2\$4}}\
\N}{([^N]*)(.)(.)(.*)}{\$1\$3\$2\$1\$3\n\$2\$3\$4\$3\n\$3\$2\$4}}