<quote who="Richard Curnow" date="Tue, Apr 03, 2007 at 11:56:56PM +0100"> > On Sun, Apr 01, 2007 at 03:18:56PM -0400, Benj. Mako Hill wrote: > > > > When a large mbox contains a message with a broken attachment such as a > > missing end boundary, mairix keeps looking through the rest of the mbox > > in hope of finding the end boundary. This often futile activity takes > > a long time if the mbox is large. The following patch restricts the > > search to the next 100 messages in the mbox. > > [snip] > > Thanks, I like the general idea. I'm just slightly troubled by the > choice of 100. This number (I think) only has to exceed the number of > message attachments that a message might have. (In fact, it might > actually be the number of attached mbox files on a single message - I > haven't thought this through in detail again.) So for most situations, > even 100 is probably much too high. However, there are probably users > with the pathological situation of a message with many, many attachments > where even 100 is insufficient. I'm not sure of the best way forward - > perhaps a setting in the .mairixrc file or something like that...
These are messages with broken message boundaries. If we fail to index people with broken messages *and* 100 attachments, I can live with that. I'd also be happy with a much smaller number. Later, Mako -- Benjamin Mako Hill [EMAIL PROTECTED] http://mako.cc/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]