Daily mail report error
There is a strange problem with our installation - we get the daily mail report only once - the day after zimbra is started/restarted. The following days, there is no daily mail report.
On running the following command as zimbra:
No errors or warnings are seen on the console but, there is an error entry in /var/log/zimbra.log:
zimbramon: 4039:err: 2007-08-14 11:51:55, zmdailyreport: Failed to email report: Died at /opt/zimbra/zimbramon/lib/Mail/Mailer.pm line 285.
Where should I start looking to fix this problem?
you can check to see if zmdailyreport is producing output with
I believe the last line will show where it is attempting to email the report. My guess is that one of the parameters is missing, such as the destination of the report. If this is the case, check to see if the zimbraSmtpHostname parameter is set with:
zmprov -l gcf zimbraSmtpHostname
If this value is blank, you will not be able to send the report. You can set it with
zmprov -l mcf zimbraSmtpHostname yourhostname''
Otherwise, use zmlocalconfig | grep smtp to see if the smtp_destination is set.