Reconstructing mailboxes when using delayed expunge

Wesley Craig wes at umich.edu
Wed Jul 23 20:41:52 EDT 2008


On 23 Jul 2008, at 13:44, Paul Engle wrote:
> You do have to do the ctl_mboxlist -d to get the specific timecode,  
> though.

You can also use, e.g.:

	cyradm> lm DELETED.user.wc2263.*
	DELETED.user.wc2263.EG.487BF83F (\HasNoChildren)
	DELETED.user.wc2263.XXX.487BF841 (\HasNoChildren)
	DELETED.user.wc2263.XXX.4887CA8E (\HasNoChildren)
	cyradm>

A little convoluted, but you can get the human readable time by  
subtracting the time code above (which is in hex) from "now".  E.g.:

	: ; date +"%s"
	1216859626
	: ; dc
	1216859626
	16i
	487BF841 -p
	1216084033
	775593
	: ; date --date="-775593 seconds"
	Mon Jul 14 21:11:28 EDT 2008
	: ;

OK, maybe more than a little convoluted...  I guess it would be nice  
if the time code were more human readable, e.g., YYYYMMDDhhmmss.  6  
more characters, infinitely more readable :)

:wes


More information about the Info-cyrus mailing list