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 06-25-2009, 01:19 AM
Junior Member
 
Posts: 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?
Reply With Quote
  #2 (permalink)  
Old 06-25-2009, 02:07 AM
Zimbra Consultant & Moderator
 
Posts: 20,312
Default

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


Bill
Reply With Quote
  #3 (permalink)  
Old 06-25-2009, 02:18 AM
Junior Member
 
Posts: 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
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.