]> git.proxmox.com Git - pmg-api.git/commit
fall back to hostname only if no domain defined
authorMira Limbeck <m.limbeck@proxmox.com>
Tue, 11 Jun 2019 13:27:28 +0000 (15:27 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 17 Jun 2019 08:51:33 +0000 (10:51 +0200)
commitda14f4e151498f9e74610d9ae5100aeffa6c7d8a
treeb5fb6e0001bcdcddc26211e9bb6e3b106ec3df61
parent59ad663d314e766b7d1bfeb5486676b622acfefa
fall back to hostname only if no domain defined

fall back to hostname only if no domain is defined in /etc/resolv.conf.
this removes the 'Use of uninitialized value' warning for
'$msginfo->{domain}'.

Signed-off-by: Mira Limbeck <m.limbeck@proxmox.com>
bin/pmg-smtp-filter