Re: Meaning of "older than"? [Was: Backing up mailboxes]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 06/14/2011 12:51 PM, Adam Tauno Williams wrote:
On Thu, 2011-06-09 at 10:04 -0700, Andrew Morgan wrote:
On Thu, 9 Jun 2011, Diego Ventrice wrote:
I'm planning a backup strategy for a new server that will handle
Hundreds of mailboxes. Largest server for me to admin so far
Would you share your experiences backing up cyrus mailboxes ?
What tool/s do you use ? how many backups a day do you run ?
Enabling delayed delete and delayed expunge will help a lot:
delete_mode: delayed
expunge_mode: delayed
You'll also want to modify your expire line in cyrus.conf to something
like this:
    delprune      cmd="/usr/local/cyrus/bin/cyr_expire -E 1 -X 7 -D 7" at=0100
-D and -X control how long deleted and expunged items remain on-disk:

     -D delete-days
            Remove previously deleted mailboxes older than delete-days (when
            using the "delayed" delete mode).

"Older than" is a confusing statement.  According to my notes this means
a message is kept for a minimum of X days from delivery, not X number of
days *after* it is deleted.  I don't know why my notes say this, but I
remember testing it and convincing myself it is true.  So -X / -D may
not do exactly what you are assuming they do.

Am I wrong? (and are you certain I'm wrong?)

Not sure if expire works that way but ipurge does for sure. If you have a message that has been sitting in your mailbox for one year and you delete it today than ipurge -d30 will purge the mail,






----
Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/

begin:vcard
fn:Patrick Boutilier
n:Boutilier;Patrick
org:;Nova Scotia Department of Education
adr:;;2021 Brunswick Street;Halifax;NS;B3K 2Y5;Canada
email;internet:boutilpj@xxxxxxxxxxx
title:WAN Communications Specialist
tel;work:902-424-6800
tel;fax:902-424-0874
version:2.1
end:vcard

----
Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/

[Index of Archives]     [Cyrus SASL]     [Squirrel Mail]     [Asterisk PBX]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux