cyrus and 500k to >1M mails per inbox

Daniel O'Connor doconnor at gsoft.com.au
Fri Feb 12 01:36:13 EST 2010


On Fri, 12 Feb 2010, Derek Yarnell wrote:
> Just as an aside we archive our root mail (lots of crap) into a cyrus
> mailbox and found that past 250k messages it just began to suck at
> the client layer.
>
> What we did was have sieve filter that would be re-generated on a
> monthly basis (using sievec) in the account that would filter into a
> folder for that month.  The only thing was that you would have to
> pre-populate the folders (or maybe I am a sieve noob and not aware of
> a way that sieve can create the folder if it doesn't exist).
>
> Anyway this is a pretty good way to deal with large archival
> mailboxes.

I wrote a script which creates a new folder each month and moves emails 
into it.

This does suck for offline users though (lucky that is not an issue for 
me).

I can send it to you if you like, it uses Python's base imaplib.

-- 
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
  -- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 188 bytes
Desc: This is a digitally signed message part.
Url : http://lists.andrew.cmu.edu/pipermail/info-cyrus/attachments/20100212/c6140972/attachment.bin 


More information about the Info-cyrus mailing list