reassign 613768 monit retitle 613768 monit uses invalid address in From headers thanks
On 2011-02-17 Vincent Lefevre <[email protected]> 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 -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

