Results 1 to 8 of 8

Thread: [SOLVED] Logwatch & Debian

  1. #1
    magikman is offline Member
    Join Date
    Sep 2007
    Posts
    13
    Rep Power
    7

    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!

  2. #2
    magikman is offline Member
    Join Date
    Sep 2007
    Posts
    13
    Rep Power
    7

    Default

    So does this mean no one has this working?

  3. #3
    Dirk's Avatar
    Dirk is offline Moderator
    Join Date
    May 2006
    Location
    England.
    Posts
    927
    Rep Power
    9

    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 06:52 AM.

  4. #4
    magikman is offline Member
    Join Date
    Sep 2007
    Posts
    13
    Rep Power
    7

    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.

  5. #5
    magikman is offline Member
    Join Date
    Sep 2007
    Posts
    13
    Rep Power
    7

    Default

    I have it running like it should. Thanks for your help.

  6. #6
    mmorse's Avatar
    mmorse is offline Moderator
    Join Date
    May 2006
    Location
    USA
    Posts
    6,242
    Rep Power
    20

    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)

  7. #7
    mmorse's Avatar
    mmorse is offline Moderator
    Join Date
    May 2006
    Location
    USA
    Posts
    6,242
    Rep Power
    20

    Default

    ya know those character issues when [solved] gets added in-front prove annoying
    Logwatch & Debian > [SOLVED] Logwatch & Debian

  8. #8
    magikman is offline Member
    Join Date
    Sep 2007
    Posts
    13
    Rep Power
    7

    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

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Logwatch stops sending mail?
    By byte in forum Administrators
    Replies: 4
    Last Post: 12-18-2010, 08:57 AM
  2. debian <> authconfig in "unix and windows accounts"
    By glenndm in forum Installation
    Replies: 1
    Last Post: 08-07-2007, 03:50 PM
  3. Debian support
    By fmodola in forum Administrators
    Replies: 5
    Last Post: 08-10-2006, 08:18 PM
  4. Zimbra 3.0.1_GA_160 on Debian so far so good.
    By jml75 in forum Administrators
    Replies: 2
    Last Post: 03-23-2006, 10:47 AM
  5. Replies: 1
    Last Post: 02-17-2006, 07:59 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
  •