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.