Re: expunge_days and cyr_expire

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

 



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.

Attachment: signature.asc
Description: This is a digitally signed message part

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