Bug#613768: exim4 should include $HOST to local domains by default

Vincent Lefevre vincent at vinc17.net
Thu Feb 17 12:18:24 UTC 2011


On 2011-02-17 09:56:35 +0000, Jonathan Plews wrote:
> I think that, unless it explicitly set, the hostname is derived form DNS
> lookups.

No, I think that $HOST is obtained from /etc/hostname (AFAIK, it is
set by Debian at installation time).

> you can test this with changes to /etc/hosts, hostname -f and the string
> exim gives on connect will be the same.
> 
> x.x.x.x    host   host.domain.tld - will report just 'host'

This is incorrect. You should not do this, see hosts(5) man page.

> x.x.x.x    host.domain.tld   host - will report 'host.domain.tld'

"hostname -f" will report host.domain.tld, but this is not $HOST
(which is used by monit).

-- 
Vincent Lefèvre <vincent at vinc17.net> - Web: <http://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / Arénaire project (LIP, ENS-Lyon)





More information about the Pkg-exim4-maintainers mailing list