Thanks Bron,<br><br>i was thinking that expunged messages are controlled only by cyr_expire.<br><br><br><br><div class="gmail_quote">On Tue, Feb 8, 2011 at 7:36 AM, Bron Gondwana <span dir="ltr"><<a href="mailto:brong@fastmail.fm">brong@fastmail.fm</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div><div></div><div class="h5">On Sun, Feb 06, 2011 at 02:27:12PM -0200, Lucas Zinato Carraro wrote:<br>
> Hi,<br>
><br>
> I configure cyrus (imapd.conf ) with:<br>
><br>
> ..............<br>
> delete_mode: delayed<br>
> .............<br>
> expunge_mode: delayed<br>
><br>
> and in cyrus.conf<br>
><br>
> ..................<br>
> EVENTS {<br>
> checkpoint cmd="/usr/cyrus/bin/ctl_cyrusdb -c" period=5<br>
> delprune cmd="/usr/cyrus/bin/cyr_expire -E 60 -X 60 -D 60" at=2301<br>
> tlsprune cmd="/usr/cyrus/bin/tls_prune" at=0400<br>
> squatter cmd="/usr/cyrus/bin/squatter -s -r user" at=2300<br>
> }<br>
><br>
> But when i check with unexpunge the mailboxes does not have expunged<br>
> messages from 60 days.<br>
> I have mailboxes with 7 days, 14 days and 20 days.<br>
><br>
> Only cyr_expire remove expunged messages ?<br>
<br>
</div></div>Oohh... I suspect you're being bitten by this: (from man imapd.conf)<br>
<br>
expunge_days: 7<br>
Number of days to retain expunged messages before cleaning up<br>
their index records. The default is 7. This is necessary for<br>
QRESYNC to work correctly. If combined with delayed expunge<br>
(above) you will also be able to unexpunge messages during this<br>
time.<br>
<br>
So it will clean up after 14 days actually - if you haven't done<br>
the cleanup yourself in the meantime with cyr_expire. This is done<br>
during mailbox close. It's me trying to be more clever than I should!<br>
The easy fix is just to put "expunge_days: 60" in your config. Longer<br>
term I want to fix cyr_expire not to be so complex and multi-function.<br>
Even just better defaults would be good! At the moment it will still<br>
wipe all expunged messages if you get the command line wrong.<br>
<font color="#888888"><br>
Bron.<br>
</font></blockquote></div><br>