Re: [Exim] Need Exim to ask hosts file before asking my DNS

Top Page
Delete this message
Reply to this message
Author: Edgar Lovecraft
Date:  
To: exim-users
Subject: Re: [Exim] Need Exim to ask hosts file before asking my DNS
Sherif Mohamad wrote:
>

..[snip]...
>
> I wanted Exim to get the hostname from /etc/hosts not directly from the
> DNS because I have about 800 domains behind a firewall, I do not want to
> put all their names in the config of Exim.
> $0 should be the domain name, $0/MX should mean the host that is
> configured in the DNS as MX of that domain, and byname means ask the
> local system (to look at /etc/hosts) to get the IP of that host not
> direct to the DNS.
> This works ok for external domains, but internal domains, still Exim
> can't contact my internal hosts to send the email.


have you ever thought about a split dns setup? Or using a different router
for those domains than other domains (i.e one for local/relay one for
other)?

--

--EAL--