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

Andreas Metzler ametzler at downhill.at.eu.org
Sat Mar 19 15:29:55 UTC 2011


reassign 613768 monit
retitle 613768 monit uses invalid address in From headers
thanks

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.
[...]

Hello,

I am pretty sure this is not an exim issue. Either there is a local
configuration issue (e.g. an incorrect line in /etc/hosts:
IP_address alias canonical_hostname
instead of
IP_address canonical_hostname alias) or monit is sending invalid
mails, using the unqualified hostname in the notification mails.

If the latter is the cause monit should probably just use "From:
monit" and let the local MTA qualify the mail correctly.

cu andreas





More information about the Pkg-exim4-maintainers mailing list