Re: cyrus and 500k to >1M mails per inbox

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

 



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

Attachment: signature.asc
Description: This is a digitally signed message part.

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