expunge_days and cyr_expire
Adam Tauno Williams
awilliam at whitemice.org
Fri Jan 6 07:36:15 EST 2012
On Fri, 2012-01-06 at 10:22 +0100, Sebastian Hagedorn wrote:
> How do the 'expunge_days' option in imapd.conf and the -X flag to
> cyr_expire play together? Currently we're using this cyrus.conf entry:
> delprune cmd="cyr_expire -E 3 -X 3 -D 3" at=040
> I'm not sure if we should use 'expunge_days: 3' from now on or if it
> doesn't matter?
Good question! I hadn't noticed that one. I wonder when messages
qualifying under "expunge_days" get expunged if cyr_expire is not run or
run with a different value.
Also does expunge_days calculate from when the message was *expunged* or
when the message was *received*. I know there has been questions about
that concerning cyr_expire in the past. The documentation of
expunge_days seem clearer than the text for cyr_expire [of the previous
text for cyr_expire].
man cyr_expire:
Expunge previously deleted messages older than expunge-duration
(when using the "delayed" expunge mode). Format is the same as
delete-duration.
NOTE: "older" than "expunge-duration". At least to me the phrase
"older" seems ambiguous. The documentation for delete-duration
uses the same phrasing.
man imapd.conf
Number of days to retain expunged messages before cleaning up
their index records. The default is 7.
NOTE: "number of days to retain" seems [to me] to clearly mean X
number of days since the message was expunged.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
Url : http://lists.andrew.cmu.edu/pipermail/info-cyrus/attachments/20120106/553089c6/attachment.bin
More information about the Info-cyrus
mailing list