On Mon, 4 Aug 2003, Peter Stuge wrote: >I have always considered this an interesting issue and will now rant and >express my opinion at large for a couple of screens. Scroll down if you are >easily offended. ;)
I'd like to add something.. If the format of the filename is not what DjB suggests, how can one guarantee filename uniqueness? How is one guaranteed that a message in new/ will not have the same unique name as one that is in cur (or will show up there in a microsecond)? I'm willing to accept this as part of the spec, but Binc IMAP and Courier-IMAP's practise today of using the filename to deterimine the internaldate (which of course is _very_ fast compared to a stat) isn't reliable when a filename can have any format (and information should not be extracted etc). With a 20k mailbox, stat'ing all files is extremely slow compared, not to mention the race conditions introduced with readdir, then stat (oops, ENOENT). I'm frankly not quite sure how to deal with this. Andy - any ideas for a new mailbox format? -- Andreas Aardal Hanssen | http://www.andreas.hanssen.name/gpg Author of Binc IMAP | "It is better not to do something | than to do it poorly."

