ipurge and delayed expunge
Brian Awood
bawood at umich.edu
Fri Jun 26 12:35:32 EDT 2009
This issue is fixed in CVS;
http://lists.andrew.cmu.edu/pipermail/info-cyrus/2009-March/030753.html
-Brian
On Friday 26 June 2009 @ 11:23, Adam Tauno Williams wrote:
> We use delayed expunge with a delay of 120 days.
>
> I was just playing with ipurge and it appears to 'physically'
> delete the messages rather than just marking messages as expunged.
> Is it possible to have ipurge just mark messages as expunged rather
> than removing them?
>
> Looking at the man page I assume not.
>
> $ sudo -u cyrus /usr/lib/cyrus-imapd/ipurge -s -X -f -d 365
> user.adam.sent-mail
> Working on user.adam.sent-mail...
> total messages 713
> total bytes 7683241
> Deleted messages 0
> Deleted bytes 0
> Remaining messages 713
> Remaining bytes 7683241
> $ ls /var/spool/imap/a/user/adam/SPAM/ | wc -l
> 1703
>
> $ sudo -u cyrus /usr/lib/cyrus-imapd/ipurge -s -X -f -d 5
> user.adam.SPAM Working on user.adam.SPAM...
> total messages 205
> total bytes 6493756
> Deleted messages 130
> Deleted bytes 4143062
> Remaining messages 75
> Remaining bytes 2350694
> $ ls /var/spool/imap/a/user/adam/SPAM/ | wc -l
> 1573
>
> ----
> Cyrus Home Page: http://cyrusimap.web.cmu.edu/
> Cyrus Wiki/FAQ: http://cyrusimap.web.cmu.edu/twiki
> List Archives/Info: http://asg.web.cmu.edu/cyrus/mailing-list.html
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: rcmAttmntNa8yLC
Url: http://lists.andrew.cmu.edu/pipermail/info-cyrus/attachments/20090626/1bea021b/attachment.ksh
More information about the Info-cyrus
mailing list