Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Administrators

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 04-06-2010, 06:02 PM
Intermediate Member
 
Posts: 24
Default [SOLVED] Daily report error and stopped working

Hi All,
I altered some of amavis.conf.in file to have some domain to be whitelisted..then the daily report stopped working... i got through this forum and search for the problem...and got a few similar but not the same problem.

Most of them getting email by command
/opt/zimbra/libexec/zmdailyreport -m

but not for me.. it gave me error :

Undefined subroutine &main::logError called at /opt/zimbra/libexec/zmdailyreport line 223, <CONF> line 403.


but if i popped to a file using /opt/zimbra/libexec/zmdailyreport >> dailyreport.txt , i 'll get the report.

I just want ZCS mail the report.. i also checked the zimbra cron and the command there with -m ...


---------------------------------------The error ----------------------
[zimbra@mamm security]$ /opt/zimbra/libexec/zmdailyreport -m
Undefined subroutine &main::logError called at /opt/zimbra/libexec/zmdailyreport line 223, <CONF> line 403.

[zimbra@mamm security]$ zmlocalconfig | grep smtp
javamail_smtp_debug = false
javamail_smtp_enable_starttls = true
javamail_smtp_timeout = 60
postfix_enable_smtpd_policyd = no
postfix_smtpd_client_restrictions = reject_unauth_pipelining
postfix_smtpd_data_restrictions = reject_unauth_pipelining
postfix_smtpd_helo_required = yes
postfix_smtpd_sasl_authenticated_header = no
postfix_smtpd_tls_cert_file = ${zimbra_home}/conf/smtpd.crt
postfix_smtpd_tls_key_file = ${zimbra_home}/conf/smtpd.key
postfix_smtpd_tls_loglevel = 1
smtp_destination = admin@company.my
smtp_host_retry_millis = 60000
smtp_notify = yes
smtp_source = admin@company.my



Regards

Last edited by Saaidi; 04-08-2010 at 12:32 AM.. Reason: adding extra info
Reply With Quote
  #2 (permalink)  
Old 05-21-2010, 02:07 AM
Intermediate Member
 
Posts: 24
Default

couldn't be, this error is just my problem
__________________
A man under a table ....
Reply With Quote
  #3 (permalink)  
Old 05-21-2010, 03:14 AM
Zimbra Consultant & Moderator
 
Posts: 20,313
Default

Why have you posted this in the Zimbra Connector for Outlook forum? I'll move it to the correct forum.

What exact changes did you make to your configuration? Have you searched the forums about the daily report not being delivered (there are also solutions in the forums, you could try them first)?
__________________
Regards


Bill
Reply With Quote
  #4 (permalink)  
Old 05-21-2010, 05:28 AM
Intermediate Member
 
Posts: 24
Default

Sorry.. wrong door. Cannot delete after that. So please move this thread.
__________________
A man under a table ....
Reply With Quote
  #5 (permalink)  
Old 05-21-2010, 05:55 AM
Intermediate Member
 
Posts: 24
Default

TQ Phoenix,
i just edit the crontab for zimbra, replacing the zmdailyreport -m with

30 23 * * * /opt/zimbra/libexec/zmdailyreport | /opt/zimbra/postfix/sbin/sendmail user@company.com

Then the daily reports working fine but with no subject.. hmm, the main problem solved.
__________________
A man under a table ....
Reply With Quote
  #6 (permalink)  
Old 05-21-2010, 06:05 AM
Zimbra Consultant & Moderator
 
Posts: 20,313
Default

Quote:
Originally Posted by Saaidi View Post
TQ Phoenix,
i just edit the crontab for zimbra, replacing the zmdailyreport -m with

30 23 * * * /opt/zimbra/libexec/zmdailyreport | /opt/zimbra/postfix/sbin/sendmail user@company.com

Then the daily reports working fine but with no subject.. hmm, the main problem solved.
It would be better if you reverted the cron job to it's original format (your change will get overwritten on upgrade) then do one of the following: change the destination address for the email; share the admin Inbox with the intended recipient; set-up a filter to forward a copy to the intended recipient - take your pick.
__________________
Regards


Bill
Reply With Quote
  #7 (permalink)  
Old 08-17-2010, 04:56 AM
Active Member
 
Posts: 26
Default

I have the same error, and no daily report was sent.

/opt/zimbra/libexec/zmdailyreport -m return this error:


Undefined subroutine &main::logError called at /opt/zimbra/libexec/zmdailyreport line 238, <CONF> line 428.


Any idea?

All services was started.

Many thanks for your help and best regards.
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.