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 10-21-2009, 09:43 PM
Member
 
Posts: 12
Default Email Retention Policy trouble

Hello,

Version 6.01, just noticed my email retention policy settings aren't working. I have "trashed message lifetime" set to 7, but one guy has messages in his trash that are a year old. The settings page says:

Note: These settings will not have effect if zimbraMailSleepPurgeInterval is disabled...

My setting is:

zimbraMailPurgeSleepInterval: 1m

BTW, notice the spelling difference in terms.

Ok, what am I missing? I'm sure his account is in the correct COS.
Reply With Quote
  #2 (permalink)  
Old 10-22-2009, 12:41 AM
Elite Member
 
Posts: 296
Default

i remember someone said that system will purge the messages (according to message lifetime setting) only if their mailbox are loaded into memory.

however, i also hope to understand how to load someone's mailbox into memory so that it will be purged by system's lifetime policy?? (anyone help??)
Reply With Quote
  #3 (permalink)  
Old 10-22-2009, 12:44 AM
Zimbra Consultant & Moderator
 
Posts: 20,312
Default

Quote:
Originally Posted by tiger2000 View Post
i remember someone said that system will purge the messages (according to message lifetime setting) only if their mailbox are loaded into memory.
That's nonsense, messages are purged according to the defined schedule & lifetime.

Quote:
Originally Posted by tiger2000 View Post
..... so that it will be purged by system's lifetime policy?? (anyone help??)
Search the forums for the setting mentioned above.
__________________
Regards


Bill
Reply With Quote
  #4 (permalink)  
Old 10-22-2009, 01:19 AM
Elite Member
 
Posts: 296
Default

did you mean these settings ?

user-level:
zimbraPrefInboxReadLifetime
zimbraPrefInboxUnreadLifetime
zimbraPrefSentLifetime
zimbraPrefJunkLifetime
zimbraPrefTrashLifetime

system-level:
zimbraMailTrashLifetime
zimbraMailSpamLifetime
zimbraMailMessageLifetime

if yes, then these parameters don't work for my case. (no idea why)

any other info? thanks.
Reply With Quote
  #5 (permalink)  
Old 10-22-2009, 01:51 AM
Moderator
 
Posts: 1,147
Default

Does this give you a number bigger then 0?
Code:
grep MailboxPurge /opt/zimbra/log/mailbox.log* | wc -l
Reply With Quote
  #6 (permalink)  
Old 10-22-2009, 01:58 AM
Elite Member
 
Posts: 296
Default

yes, command result is > 0

system did purge several accounts' mailbox, however, I found there's still some accounts , even all parameters regarding to *lifetime* is set, are not purged.

does it have anything to do have the total accounts in system? we have thousands account in this system. (5.0.13 OSS)
Reply With Quote
  #7 (permalink)  
Old 10-22-2009, 03:25 AM
Zimbra Consultant & Moderator
 
Posts: 20,312
Default

Quote:
Originally Posted by tiger2000 View Post
yes, command result is > 0

system did purge several accounts' mailbox, however, I found there's still some accounts , even all parameters regarding to *lifetime* is set, are not purged.
How about posting the settings for a non-working mailbox and one that works plus the system wide setting instead of just saying it 'doesn't work'.

Quote:
Originally Posted by tiger2000 View Post
does it have anything to do have the total accounts in system? we have thousands account in this system. (5.0.13 OSS)
The number of mailboxes on your system is irrelevant.
__________________
Regards


Bill
Reply With Quote
  #8 (permalink)  
Old 10-22-2009, 05:57 PM
Elite Member
 
Posts: 296
Default

sorry for that, i should be more specific.

i have a script to set these parameters for those whose mailbox quota is > 97% and whose last login time is 30 days ago.

zimbraMailMessageLifetime: 60d
zimbraPrefInboxReadLifetime: 60d
zimbraPrefInboxUnreadLifetime: 60d

then script will do a "sleep 2556000" (71 hours), after that we will config these settings back to "0d".

we monitor mailbox.log* files by grep "MailboxPurge" for those account we've set. However, we didn't find any logs relative to these accounts.

that's what i saw..
Reply With Quote
  #9 (permalink)  
Old 05-07-2010, 03:59 PM
Trained Alumni
 
Posts: 15
Default

Hello tiger2000,

Maybe your complain is right. I've just checked that on a 6.0.4 system and immediately after I changed these parameters the logs showed several [MailboxPurge] messages.

So for it's working, maybe it's a bug on 5.0.18? Since your post is some months ago, maybe you did solve this?

Regards, Celso.

Quote:
Originally Posted by tiger2000 View Post
sorry for that, i should be more specific.

i have a script to set these parameters for those whose mailbox quota is > 97% and whose last login time is 30 days ago.

zimbraMailMessageLifetime: 60d
zimbraPrefInboxReadLifetime: 60d
zimbraPrefInboxUnreadLifetime: 60d

then script will do a "sleep 2556000" (71 hours), after that we will config these settings back to "0d".

we monitor mailbox.log* files by grep "MailboxPurge" for those account we've set. However, we didn't find any logs relative to these accounts.

that's what i saw..
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.