Results 1 to 3 of 3

Thread: [SOLVED] mailbox.log history

  1. #1
    Join Date
    Oct 2006
    Posts
    9
    Rep Power
    9

    Default [SOLVED] mailbox.log history

    Hi,

    I've been searching on wiki and on this forum but it doesn't seem I have a solution for my question.

    I want to raise the history of log files (especially mailbox.log). According to my network version default istallation it keeps only last 9 days. Is there a way to raise this limit to something like 2 months?

  2. #2
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,587
    Rep Power
    58

    Default

    Search the forums for the words 'log file rotate'.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  3. #3
    Join Date
    Oct 2006
    Posts
    9
    Rep Power
    9

    Thumbs up

    Mhh..... it looks like you have to deal with the pruning option in zimbra user crontab.

    ....
    # Log pruning
    #
    30 2 * * * find /opt/zimbra/log/ -type f -name \*.log\* -mtime +8 -exec rm {} \; > /dev/null 2>&1
    #
    .....

    the "+8" there should remove each log file older than 8 days.

    I'll try this... thanks for the help

    P.S. may I edit this crontab line: there's a "# ZIMBRASTART -- DO NOT EDIT ANYTHING BETWEEN THIS LINE AND ZIMBRAEND" that scares me

Similar Threads

  1. Admin PowerTip: Mailbox.log
    By jholder in forum Administrators
    Replies: 1
    Last Post: 10-21-2009, 10:45 AM
  2. Replies: 0
    Last Post: 12-08-2008, 05:23 AM
  3. Zimbra generates large mailbox.log files
    By Peperzaken in forum Administrators
    Replies: 14
    Last Post: 12-03-2008, 10:11 AM
  4. Replies: 0
    Last Post: 05-15-2008, 02:09 AM
  5. [SOLVED] Recover lost history
    By soulskater in forum Administrators
    Replies: 3
    Last Post: 03-11-2008, 11:58 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
  •