Results 1 to 2 of 2

Thread: Setting up zmdailyreport

  1. #1
    Join Date
    Jan 2008
    Posts
    70
    Rep Power
    7

    Default Setting up zmdailyreport

    Running ZCS 6.0.4 on RHEL 5 64-bit

    I would like to setup "zmdailyreport" so that I get automatic daily reports. It may be right under my nose, but I can't seem to find how to set this up properly. Any advice?

  2. #2
    Join Date
    Sep 2006
    Location
    477 Congress Street | Portland, ME 04101
    Posts
    1,374
    Rep Power
    11

    Default

    The Daily Report should be set up already in Zimbra's crontab on the logger host.

    Check the Junk folder for the destination admin mailbox though, as the Daily Report sometimes gets flagged as spam.

    So, the first thing to do is to check on the logger host if the daliy report script is actually scheduled to run. As the zimbra user you can run:

    Code:
    zimbra@malbec:~> crontab -l | grep zmdailyreport
    30 23 * * * /opt/zimbra/libexec/zmdailyreport -m
    zimbra@malbec:~>
    If the daily report is indeed getting flagged as spam, you can add a line to /opt/zimbra/conf/amavisd.conf.in at the end of the section containing all the negative prescores to add, say, a -10.0 prescore for the email address used as the "From:" address for the daily mail report.

    You can add the line at the section that begins:

    # read_hash("/var/amavis/sender_scores_sitewide"),

    { # a hash-type lookup table (associative array)
    'nobody@cert.org' => -3.0,
    'cert-advisory@us-cert.gov' => -3.0,
    'owner-alert@iss.net' => -3.0,
    'slashdot@slashdot.org' => -3.0,
    'securityfocus.com' => -3.0,
    'ntbugtraq@listserv.ntbugtraq.com' => -3.0,
    'security-alerts@linuxsecurity.com' => -3.0,


    After you add the line, as the zimbra user you can run:

    Code:
    zmamavisdctl stop; zmamavisdctl start
    to restart Amavis without having to restart all of Zimbra. Note that you will need to do this on all of your MTA servers, and that this edit will not survive a version upgrade.

    Hope that helps,
    Mark
    Last edited by LMStone; 05-09-2010 at 05:02 PM.

Similar Threads

  1. Samba update ruined it all :(
    By NoDoze in forum Administrators
    Replies: 9
    Last Post: 09-16-2010, 12:23 PM
  2. Replies: 2
    Last Post: 01-23-2010, 07:28 AM
  3. zimbra 6.0b1 not installing on Mac OS X 10.5.6
    By funkahdafi in forum Installation
    Replies: 5
    Last Post: 05-13-2009, 10:51 PM
  4. Installation with a configuration file problems...
    By smurraysb in forum Installation
    Replies: 4
    Last Post: 04-17-2008, 12:22 AM
  5. Shared Folder
    By drdre in forum Administrators
    Replies: 20
    Last Post: 01-20-2008, 01:07 PM

Posting Permissions

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