Setting hostdomain

Arie Peterson ariep at
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 nameofthisparticularcomputer localhost

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

Thanks a lot for your quick responses Christian!

Kind regards,


More information about the dovecot mailing list