Re: [exim-dev] Exim doesn't look in /etc/hosts when /etc/res…

Etusivu
Poista viesti
Vastaa
Lähettäjä: Alain Williams
Päiväys:  
Vastaanottaja: Jörg Sommer
Kopio: exim-dev
Aihe: Re: [exim-dev] Exim doesn't look in /etc/hosts when /etc/resolv.conf empty
On Fri, Jun 11, 2010 at 03:27:44PM +0200, Jörg Sommer wrote:
> Hi,
>
> I've a smarthost in my local network named server.localnet. It's name is
> resolvable via /etc/hosts; ping works. But there's no DNS server
> available, hence /etc/resolv.conf is empty. With this setting exim
> doesn't feed mails to the smarthost. See
> http://alioth.debian.org/~jo-guest/exim-failure-debug.out


What is in your file:
    /etc/nsswitch.conf


In your case it should contain the line:
    hosts:      files


--
Alain Williams
Linux/GNU Consultant - Mail systems, Web sites, Networking, Programmer, IT Lecturer.
+44 (0) 787 668 0256 http://www.phcomp.co.uk/
Parliament Hill Computers Ltd. Registration Information: http://www.phcomp.co.uk/contact.php
Past chairman of UKUUG: http://www.ukuug.org/
#include <std_disclaimer.h>