Not receiving update notifications by email

Taomyn

Active Member
Aug 30, 2023
116
27
28
Luxembourg
I have 3 separate PvE nodes i.e. not clustered all running 8.1.4, but for some reason one of them does not send notifications of updates when the others do even though each time I check the updates are waiting for installation.

The two working hosts were originally running 8.0 and upgraded to 8.1, but the third was installed from scratch with 8.1

I know email is working on them all because the scheduled backups on all three hosts send emails each time they finish running.

I cannot find a /var/log/mail.log to see if there is anything logged, the Notification section of Datacenter are identical, and the email address are root@pam are all the same. There is no sign on my mail server of any connections from this host other than those of the backups and from my test using:
Code:
echo "test" | mail -s "[PVE] mails to root are forwarded" root

Any ideas where else to look?
 
Hello!

What are the contents of /etc/pve/notifications.cfg from the node where the update notifications are not working?
 
The file contains
Code:
sendmail: mail-to-root
    author Proxmox VE (NED)
    comment Send mails to root@pam's email address
    mailto-user root@pam

matcher: default-matcher
    comment Route all notifications to mail-to-root
    mode all
    target mail-to-root

I tried to find the same file on the older hosts, but they don't have it.
 
Okay, that looks good so far.
What's the output of journalctl -u postfix@-.service?
 
The output for just today so far is:
Code:
Jan 28 08:00:57 ned postfix/pickup[2939773]: 71CAD3F90A: uid=0 from=<ned@mydomain.com>
Jan 28 08:00:57 ned postfix/cleanup[2959885]: 71CAD3F90A: message-id=<20240128070057.71CAD3F90A@ned.mydomain.com>
Jan 28 08:00:57 ned postfix/qmgr[3886633]: 71CAD3F90A: from=<ned@mydomain.com>, size=25016, nrcpt=1 (queue active)
Jan 28 08:00:57 ned postfix/smtp[2959887]: 71CAD3F90A: to=<ferd@mydomain.com>, relay=mail.mydomain.com[192.168.1.10]:25, delay=0.1, delays=0.01/0.01/0.01/0>
Jan 28 08:00:57 ned postfix/qmgr[3886633]: 71CAD3F90A: removed
Jan 29 08:01:05 ned postfix/pickup[3439842]: 1FA2512405: uid=0 from=<ned@mydomain.com>
Jan 29 08:01:05 ned postfix/cleanup[3473953]: 1FA2512405: message-id=<20240129070105.1FA2512405@ned.mydomain.com>
Jan 29 08:01:05 ned postfix/qmgr[3886633]: 1FA2512405: from=<ned@mydomain.com>, size=25226, nrcpt=1 (queue active)
Jan 29 08:01:05 ned postfix/smtp[3473955]: 1FA2512405: to=<ferd@mydomain.com>, relay=mail.mydomain.com[192.168.1.10]:25, delay=0.1, delays=0.01/0.01/0.01/0>
Jan 29 08:01:05 ned postfix/qmgr[3886633]: 1FA2512405: removed
Jan 30 08:00:46 ned postfix/pickup[4062316]: D540114D09: uid=0 from=<ned@mydomain.com>
Jan 30 08:00:46 ned postfix/cleanup[4076626]: D540114D09: message-id=<20240130070046.D540114D09@ned.mydomain.com>
Jan 30 08:00:46 ned postfix/qmgr[3886633]: D540114D09: from=<ned@mydomain.com>, size=25221, nrcpt=1 (queue active)
Jan 30 08:00:46 ned postfix/smtp[4076628]: D540114D09: to=<ferd@mydomain.com>, relay=mail.mydomain.com[192.168.1.10]:25, delay=0.1, delays=0.01/0.01/0.01/0>
Jan 30 08:00:46 ned postfix/qmgr[3886633]: D540114D09: removed
Jan 30 08:30:40 ned postfix/pickup[4062316]: 94C9F14E22: uid=0 from=<root>
Jan 30 08:30:40 ned postfix/cleanup[4094763]: 94C9F14E22: message-id=<20240130073040.94C9F14E22@ned.mydomain.com>
Jan 30 08:30:40 ned postfix/qmgr[3886633]: 94C9F14E22: from=<root@ned.mydomain.com>, size=432, nrcpt=1 (queue active)
Jan 30 08:30:40 ned postfix/pickup[4062316]: 9E86914C7C: uid=65534 from=<ned@mydomain.com>
Jan 30 08:30:40 ned postfix/cleanup[4094763]: 9E86914C7C: message-id=<20240130073040.94C9F14E22@ned.mydomain.com>
Jan 30 08:30:40 ned proxmox-mail-fo[4094766]: ned proxmox-mail-forward[4094766]: notified via target `mail-to-root`
Jan 30 08:30:40 ned postfix/local[4094765]: 94C9F14E22: to=<root@ned.mydomain.com>, orig_to=<root>, relay=local, delay=0.05, delays=0.01/0.01/0/0.03, dsn=2.0>
Jan 30 08:30:40 ned postfix/qmgr[3886633]: 9E86914C7C: from=<ned@mydomain.com>, size=609, nrcpt=1 (queue active)
Jan 30 08:30:40 ned postfix/qmgr[3886633]: 94C9F14E22: removed
Jan 30 08:30:40 ned postfix/smtp[4094771]: 9E86914C7C: to=<ferd@mydomain.com>, relay=mail.mydomain.com[192.168.1.10]:25, delay=0.08, delays=0/0.01/0.01/0.0>
Jan 30 08:30:40 ned postfix/qmgr[3886633]: 9E86914C7C: removed

These look like the backup and test messages which I received