Re: ipurge and delayed expunge

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

 



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
This issue is fixed in CVS;


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

[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