On 23.11.2004, at 00:00, Geo Carncross wrote:
The overhead isn't fantastic.
Maildir/.foo.Baz/ {new,cur,tmp}
Means being unable to rename folders (and all children) atomically.
Yep, annoying that.
Maildir/.foo/.Baz/ {new,cur,tmp}
Means a few more opendir/closedir operations.
At some point I'll probably implement mailbox list indexes which could reduce them.
I've also some plans to separate the directory layout and mailbox formats so you could use either one, or do some stranger things such as mboxes in maildir++ layout.
Furthermore, if your IMAP client is smart (and won't send LSUB "" *) then splitting them up could actually be faster, as you don't have to load a list of ALL folders to find out what the children folders of INBOX.Work.Office13 are.
Actually with LSUB Dovecot doesn't scan the directories at all (or 1.0-tests at least won't), it just lists what is in subscriptions file.