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

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 05-09-2010, 01:14 PM
Senior Member
 
Posts: 69
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?
Reply With Quote
  #2 (permalink)  
Old 05-09-2010, 03:56 PM
Moderator
 
Posts: 1,209
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
__________________
___________________________________
L. Mark Stone, CIO


"Uptime. All the time."

477 Congress Street | Portland, ME 04101-3431 | (207) 772-5678

proactive maintenance and monitoring | technology consulting
Zimbra groupware | EMR implementations | private cloud hosting

Last edited by LMStone; 05-09-2010 at 04:02 PM..
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

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.