Cronjob to Mail not longer in 5.1?

Also make sure
Code:
myhostname=
is set to a valid, externally resolvable hostname in
Code:
/etc/postfix/main.cf
and restart postfix with
Code:
systemctl restart postfix
 
Hi,

since 5.1(fresh install) my houry, daily etc cronjobs do not longer end in an email
how can i restore this behaviour?

chriz

known and already fixed issue.

as always, upgrade your fresh installation to latest version.
 
okay, i will do. thanks
is there a reference how the mails are triggered?
do i have to reboot after the upgrade?

/root/.forward forwards mail via pvemailforward, which is a wrapper for pvemailforward.pl, which uses sendmail using the root user's mail (in PVE's user config) as recipient, and the email_from from /etc/pve/datacenter.cfg as sender. the rest is up to you and your MTA configuration ;)

no need to reboot, the pvemailforward binary was missing a setgid bit, upgrading fixes it for all subsequent mails.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!