]> git.proxmox.com Git - pve-ha-manager.git/commit
fix #1347: let postfix fill in FQDN in fence mails
authorPhilip Abernethy <p.abernethy@proxmox.com>
Thu, 14 Sep 2017 12:39:33 +0000 (14:39 +0200)
committerWolfgang Bumiller <w.bumiller@proxmox.com>
Mon, 25 Sep 2017 13:39:10 +0000 (15:39 +0200)
commit227c2c7467cc953a933063604d3537daf3e57104
tree10a5edf4dca1cbbe1f99bdecf741830759e92dba
parentbc2a9d18db0b31bb64f5384b13b811fd3223bb4c
fix #1347: let postfix fill in FQDN in fence mails

Using the nodename in $mailto is not correct and can lead to mails not
forwarding in restrictive mail server configurations.
Also changes $mailfrom to 'root' instead of 'root@localhost', which
results in postfix appending the proper FQDN there, too. As a result the
Delivered-to header reads something like 'root@host.domain.tld' instead
of 'root@localhost', which is much more informational and more
consistent.

Reviewed-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
src/PVE/HA/Env/PVE2.pm