Συντάκτης: Phil Pennock Ημερομηνία: Προς: Jonathan White Υ/ο: exim-users Αντικείμενο: Re: [exim] Centos Application Applience Routing mail to relay
On 2012-10-13 at 12:41 +0100, Jonathan White wrote: > When I run a debug it looks like Exim is trying to perform a DNS
> lookup of 127.0.0.1 > Eventually the lookup times out and the mail is sent. What's correct
> way to resolve the issue? Is there further lookups to disable or can
> exim resolve 127.0.0.1 via another method other than a DNS server?
Put it in /etc/hosts.
That _should_ work.
Note that part of the issue here is that Exim assumes it can resolve the
local hostname. "@" is Exim for "the hostname of the host that I'm
running on".
If you keep hitting DNS issues on the appliance, you might consider
something like dnsmasq -- it's a server designed to be very small, for
use on home routers where memory is tight. You can configure it with
appropriate dummy data.
(Note that /etc/hosts is not normally a good solution for DNS issues,
just a way to store up issues for later, but I tend to believe that
localhost and the hostname of the machine itself should be in
/etc/hosts, so that basic self-resolution can work without a network
connection).