On Sat, 14 Aug 1999, David Harris wrote:
> This is the way to do it. I'm concerned that the IMAP Maildir driver does not
> store any kind of database like this, so it has to scan all of the files to
> produce summary information. The method you are taking of storing a helper
> index is the way to go. Any chance you'd be interested in working your code
> into the IMAP Maildir driver code?
I don't use IMAP and I've looked inside c-client only briefly, on a couple
of occasions. Currently, it scales to about a 1,000 messages per folder
or INBOX, before it starts to slow down and eat memory. This is
reasonable for a webmail CGI, but for full mail services, you'll need to
scale into hundreds of thousands of messages. I'm considering either
fixed length records, or GDBM or DB-based indexes.