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 09-17-2007, 06:13 PM
Member
 
Posts: 13
Default [SOLVED] Logwatch & Debian

Hello,


I have Zimbra setup for two domains with about 30 users currently. Before Zimbra, i used logwatch to email me daily with log reports. As of now i can no longer receive these emails. I have read different posts with different fixes, but I had really rather not experiment with these fixes on a production machine. Has any one, running debian etch, successfully setup logwatch to email them? If so, what were the steps that you took?

Thanks!
Reply With Quote
  #2 (permalink)  
Old 09-20-2007, 07:34 AM
Member
 
Posts: 13
Default

So does this mean no one has this working?
Reply With Quote
  #3 (permalink)  
Old 09-20-2007, 07:50 AM
Moderator
 
Posts: 927
Default

My Debian system is very short on RAM so I've shutdown the logger service, so it's tricky for me to check this one.

However, to cover some basic ground, try running this as the zimbra user:
Code:
zmlocalconfig | grep smtp_destination
That will show where the log is being mailed to, if anywhere. If there's an address in there, is it what you expected it to be?

EDIT:
Hang on, I just re-read your post, when you say 'logwatch' are you refering to the log section of Zimbra, or a third party app ?

Last edited by Dirk; 09-20-2007 at 07:52 AM..
Reply With Quote
  #4 (permalink)  
Old 09-20-2007, 07:56 AM
Member
 
Posts: 13
Default

I am referring to a third part app. I use it to parse ALL log files and send me a report. Before using Zimbra (just postfix + courrier) It worked wonderfully.
Reply With Quote
  #5 (permalink)  
Old 09-20-2007, 08:39 AM
Member
 
Posts: 13
Default

I have it running like it should. Thanks for your help.
Reply With Quote
  #6 (permalink)  
Old 09-20-2007, 01:08 PM
Moderator
 
Posts: 6,236
Default

Don't know if Dirk has permissions to mark as solved yet-so doing it for him.
(http://www.zimbra.com/forums/showgroups.php)
Reply With Quote
  #7 (permalink)  
Old 09-20-2007, 01:11 PM
Moderator
 
Posts: 6,236
Default

ya know those character issues when [solved] gets added in-front prove annoying
Logwatch & Debian > [SOLVED] Logwatch & Debian
Reply With Quote
  #8 (permalink)  
Old 09-20-2007, 01:54 PM
Member
 
Posts: 13
Default

For anyone who also would like to know how this was done with Debian.

All you have to do it install logwatch and then either remove exim4 and its components or keep them from starting. Once this is complete, you need to change the mailer option within the /etc/logwatch/conf/logwatch.conf to "/path/to/zimbra/sendmail -t" and also add someuser@yourdomain.com as the MailTo option (you will have to create the conf). Once this is complete you can test it by running 'logwatch' as user root.

You should also add a cron job to run in the wee hours. I have mine set to run at 1AM.
0 1 * * * /path/to/logwatch
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.