Re: [exim] Primary_hostname - returns short name

Páxina inicial
Borrar esta mensaxe
Responder a esta mensaxe
Autor: Always Learning
Data:  
Para: Exim
Asunto: 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.