Re: Reconstructing mailboxes when using delayed expunge

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

 



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