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

-----Original Message-----
From: Exim-users 
[mailto:[email protected]] On Behalf Of 
Jeremy Harris
Sent: mercredi 20 juillet 2016 13:54
To: [email protected]
Subject: Re: [exim] mail between local linux machines

On 20/07/16 12:50, FLORENT Philippe wrote:
> Ok apparently it should be this file
> exim4.conf.template
> but there is no host_lookup_order
> and the file is quiet complicated, I have no idea where should I put 
> that variable

Sounds like a Debian setup.  You could read the Exim documentation and try to 
understand the Debian config setup from scratch, or you could ask in a Debian 
forum.
--
Jeremy



-- 
## 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