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