I've set up a Zimbra server for a local initiative. We're quite pleased with it.
I've also set up a backup script and noticed that I'm not getting any e-mail from cron. The system runs on "CentOS Linux release 7.6.1810 (Core)", Zimbra version is "8.8.10_GA_3716.FOSS". Crond is provided by "cronie-1.4.11-20.el7_6.x86_64".
On another server I had to install mailx so cron could send me mail, but that did not help here. I'm not getting any mail from cron. Example crontab (/etc/cron.d/backup-system):
Code: Select all
SHELL=/bin/bash
PATH=/sbin:/bin:/usr/sbin:/usr/bin;/opt/zimbra/common/sbin/;/opt/zimbra/common/bin
MAILTO=admin@buerger-meissen.de
12 3 * * * root /root/backup-system.sh
28 20 21 1 * root echo "test mail from cron"
But no mail from cron anywhere. No error either (not in cron's log, not in /var/log/maillog).Jan 21 20:28:01 bi crond[3395]: (*system*) RELOAD (/etc/cron.d/backup-system)
Jan 21 20:28:02 bi CROND[21593]: (zimbra) CMD (/opt/zimbra/libexec/zmstatuslog > /dev/null 2>&1)
Jan 21 20:28:02 bi CROND[21594]: (root) CMD (echo "test mail from cron")
Jan 21 20:28:02 bi CROND[21589]: (root) CMDOUT (test mail from cron)
Jan 21 20:30:01 bi CROND[23019]: (zimbra) CMD (/opt/zimbra/libexec/zmlogprocess > /tmp/logprocess.out 2>&1)
I also tried symlinking /opt/zimbra/common/sbin/sendmail to /usr/sbin - no effect.
Any hints, ideas and pointers are welcome!