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

Patrick Boutilier boutilpj at ednet.ns.ca
Tue Jun 14 12:15:00 EDT 2011


On 06/14/2011 12:58 PM, Patrick Boutilier wrote:
> 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,


I should explain that a bit further. I use a modified ipurge that will 
allow you to only purge deleted messages while leaving the others alone. 
In that case ipurge determines what messages to purge based on the 
message date not the date the message was deleted, which makes sense.




>
>
>
>
>
>>
>> ----
>> Cyrus Home Page: http://www.cyrusimap.org/
>> List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
>
>
>
> ----
> 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/86663328/attachment.vcf 


More information about the Info-cyrus mailing list