Results 1 to 7 of 7

Thread: [SOLVED] Daily report error and stopped working

  1. #1
    Saaidi's Avatar
    Saaidi is offline Intermediate Member
    Join Date
    Nov 2008
    Posts
    24
    Rep Power
    6

    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

  2. #2
    Saaidi's Avatar
    Saaidi is offline Intermediate Member
    Join Date
    Nov 2008
    Posts
    24
    Rep Power
    6

    Default

    couldn't be, this error is just my problem
    A man under a table ....

  3. #3
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,505
    Rep Power
    57

    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


    Acompli: A new adventure for Co-Founder KevinH.

  4. #4
    Saaidi's Avatar
    Saaidi is offline Intermediate Member
    Join Date
    Nov 2008
    Posts
    24
    Rep Power
    6

    Default

    Sorry.. wrong door. Cannot delete after that. So please move this thread.
    A man under a table ....

  5. #5
    Saaidi's Avatar
    Saaidi is offline Intermediate Member
    Join Date
    Nov 2008
    Posts
    24
    Rep Power
    6

    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 ....

  6. #6
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,505
    Rep Power
    57

    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


    Acompli: A new adventure for Co-Founder KevinH.

  7. #7
    ducommun is offline Active Member
    Join Date
    Jul 2010
    Posts
    38
    Rep Power
    5

    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.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •