Meaning of "older than"? [Was: Backing up mailboxes]
Patrick Boutilier
boutilpj at ednet.ns.ca
Tue Jun 14 11:58:50 EDT 2011
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/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: boutilpj.vcf
Type: text/x-vcard
Size: 286 bytes
Desc: not available
Url : http://lists.andrew.cmu.edu/pipermail/info-cyrus/attachments/20110614/c17e45d7/attachment.vcf
More information about the Info-cyrus
mailing list