From: Adam Tauno Williams (no email)
Date: Thu Sep 20 2007 - 15:56:19 EDT
> 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.
---- 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
|
|
|