Dpkg-reconfigure it's the first thing I did

Afaik There is no step in that script that proposes to change the order of host 
resolution

-----Original Message-----
From: Exim-users 
[mailto:[email protected]] On Behalf Of 
Evgeniy Berdnikov
Sent: mercredi 20 juillet 2016 14:38
To: [email protected]
Subject: Re: [exim] mail between local linux machines

On Wed, Jul 20, 2016 at 12:09:00PM +0000, FLORENT Philippe wrote:
> Actually there is 
> 
> nsswitch.conf that contains
> 
> ...
> hosts:          files dns
> ...
> 
> And  /etc/host.conf:
> 
> order hosts,bind
> multi on
> 
> so it should work but exim does not seem to take that into consideration
> 
> sudo exim -bP |grep lookup_order
> host_lookup_order = bydns:byaddr

 First of all, Exim MUST be properly configured for operation.
 If not it would not work regardless of nsswitch.conf contents.
 Under Debian you have to run "dpkg-reconfigure exim4-config".
-- 
 Eugene Berdnikov

-- 
## List details at https://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/
-- 
## List details at https://lists.exim.org/mailman/listinfo/exim-users
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/

Reply via email to