ipurge test mode? analysis by date

Adam Tauno Williams adam at morrison-ind.com
Thu Sep 20 15:56:19 EDT 2007


> find is your friend here.
> man find
> Their is a lot of options about size and time.
> This will not give you the total size of email, but you can make the sum using
> some additional scripting.

No, that won't work.  Timestamps on the filesystem do not necessarily
correspond to the date/delivery-time of a message.

Since I couldn't find anything I'm working on a Python script to crawl
the mailstore over IMAP.

That nothing exists is surprising,  no one using Cyrus has a data
retention policy?

> Be careful if you use singleinstancestore: 1 in imapd.conf and the suitable
> configuration in your SMTP, some email delivered to multiple mailbox
> are stored only once on the filesystem. find will report any links to
> these emails
> and you will count them twice or more.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.andrew.cmu.edu/pipermail/info-cyrus/attachments/20070920/f7a5d6ef/attachment.bin 


More information about the Info-cyrus mailing list