On Thursday 26 August 2004 09:10 am, Bob Apthorpe wrote: > I expanded on this a little with the attached script. The above is fine > for use against mbox files but not so helpful if you use mh folders (I > like "one message, one file" because there's less to corrupt, and > searching is a bit easier) > > Note that analysing large mh folders will take a while (this naive > searching is O[mn] where m is the number of messages and n is the number > of rules - it took 14 hours to search 10000 messages for 4400 rules (44 > million file reads on a dual 800MHz P-III.) A better way to do this is > to parse just the message headers and record found rules in a hash. > > hth, > > -- Bob
I see you have maildir as ???. Is there anyway this could be made to work with maildir format? -- Chris Registered Linux User 283774 http://counter.li.org 7:45pm up 5 days, 21:19, 2 users, load average: 0.82, 0.65, 0.59 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ VMS Beer: Requires minimal user interaction, except for popping the top and sipping. However cans have been known on occasion to explode, or contain extremely un-beer-like contents. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Live - From Virgin Radio UK The Doobie Brothers - Long Train Running
