Re: [exim] Primary_hostname - returns short name

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Always Learning
Date:  
À: Exim
Sujet: Re: [exim] Primary_hostname - returns short name

On Thu, 2015-01-01 at 23:44 +0000, John Horne wrote:

> It seems that the server returning just the short hostname had the
> following entry in the '/etc/nsswitch.conf' file:
>
> hosts: files dns myhostname
>
> If I remove the 'myhostname' entry (which doesn't exist on the working
> server), then Exim correctly resolves the servers FQDN.


Thanks for that. I never knew about /etc/nsswitch.


Paul.
Always Learning until I die or experience dementia.