Sample Header Ad - 728x90

unattended-upgrades uses wrong hostname after switching from msmtp to Postfix

3 votes
1 answer
63 views
I recently switched from using msmtp to Postfix as MTA on one of my servers. unattended-upgrades used to send notifications with the content of /etc/hostname (webserver.example.org), but now it uses the base domain for which the machine serves a website (example.org). Postfix itself is configured to use the full hostname (myhostname = webserver.example.org), which is reflected in the headers, and /etc/mailname also contains the full hostname. Where does unattended-upgrades pick up the base domain, and why does it do so suddenly after changing to a different MTA?
Asked by janeden (205 rep)
May 5, 2025, 06:47 AM
Last activity: May 5, 2025, 06:58 AM