Results 1 to 9 of 9

Thread: Email Retention Policy trouble

  1. #1
    InternetGuy is offline Intermediate Member
    Join Date
    Mar 2007
    Location
    Rancho Santa Fe, CA
    Posts
    15
    Rep Power
    8

    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.

  2. #2
    tiger2000 is offline Elite Member
    Join Date
    May 2008
    Location
    Taiwan
    Posts
    296
    Rep Power
    7

    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??)

  3. #3
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,586
    Rep Power
    57

    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


    Acompli: A new adventure for Co-Founder KevinH.

  4. #4
    tiger2000 is offline Elite Member
    Join Date
    May 2008
    Location
    Taiwan
    Posts
    296
    Rep Power
    7

    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.

  5. #5
    ArcaneMagus's Avatar
    ArcaneMagus is offline Moderator
    Join Date
    Feb 2007
    Location
    Portland, OR
    Posts
    1,147
    Rep Power
    10

    Default

    Does this give you a number bigger then 0?
    Code:
    grep MailboxPurge /opt/zimbra/log/mailbox.log* | wc -l

  6. #6
    tiger2000 is offline Elite Member
    Join Date
    May 2008
    Location
    Taiwan
    Posts
    296
    Rep Power
    7

    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)

  7. #7
    phoenix is online now Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,586
    Rep Power
    57

    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


    Acompli: A new adventure for Co-Founder KevinH.

  8. #8
    tiger2000 is offline Elite Member
    Join Date
    May 2008
    Location
    Taiwan
    Posts
    296
    Rep Power
    7

    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..

  9. #9
    celsowebber is offline Trained Alumni
    Join Date
    Jul 2009
    Posts
    15
    Rep Power
    6

    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..

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] mailboxmanager does not start
    By jrefl5 in forum Administrators
    Replies: 18
    Last Post: 01-30-2012, 11:40 PM
  2. [SOLVED] Moving Zimbra to a new server
    By krolen in forum Administrators
    Replies: 109
    Last Post: 02-05-2009, 11:38 AM
  3. need advice on configuring zimbra to work with fax server
    By pheonix1t in forum Administrators
    Replies: 0
    Last Post: 07-11-2007, 07:46 PM
  4. upgrade to 4.0.3 antispam does'nt work
    By lucanannipieri in forum Administrators
    Replies: 14
    Last Post: 11-07-2006, 03:56 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •