Setting hostdomain

Arie Peterson ariep at xs4all.nl
Sun Sep 25 20:35:46 UTC 2016


Christian Kivalo wrote:

> whats the output of 'hostname -f'
> 
> whats in your /etc/hostname and /etc/hosts?

That was indeed the problem. The output of `hostname -f` was "localhost", 
indicating how dovecot gets that result as well for its "hostdomain".

Changing the first line of /etc/hosts to
127.0.0.1      full.domain.name nameofthisparticularcomputer localhost

, `dovecot --hostdomain` now returns "full.domain.name", as I wanted.

Thanks a lot for your quick responses Christian!


Kind regards,

Arie



More information about the dovecot mailing list