This code, when added to your zimbra crontab file (/var/spool/cron/zimbra) sends a raw detailed log output.
Log in as root, allowing you to directly edit the 'zimbra' user's schedule file.
Open the file ready for editing (substitute nano with vi or whatever you like).
Code:
nano /var/spool/cron/zimbra
At 1am email the daily log of all Zimbra activity - replace
you@yourdomain.com with destination email address.
Code:
0 1 * * * cat /opt/zimbra/log/mailbox.log | mail -s "Daily mail log" you@yourdomain.com
Hope this helps.
