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

Andreas Metzler ametzler at downhill.at.eu.org
Thu Feb 17 18:04:50 UTC 2011


On 2011-02-17 Vincent Lefevre <vincent at vinc17.net> wrote:
> Package: exim4
> Version: 4.72-6
> Severity: normal

> By default, exim4 adds localhost and the FQDN (or the mailname?)
> to local domains, but not $HOST (the nodename).

> This is a problem because other packages may expect $HOST to be
> in the local domains. This is the case of monit, which sends mail
> with, by default:

>   From: monit@$HOST

> Thus such an address doesn't get rewritten when the mail is
> transmitted to a different machine. A consequence is that the mail
> can be blocked because of incorrect domain part. A workaround can
> be to add $HOST manually via 'dpkg-reconfigure exim4-config', but
> the default config should work.
[...]


I think I am missing something. Is $HOST supposed to be set by
default? It is not.

argenau:~# echo $HOST

argenau:~# 


cu andreas







More information about the Pkg-exim4-maintainers mailing list