[Dovecot] IMAP - many folders?

Timo Sirainen tss at iki.fi
Fri Dec 3 05:55:45 EET 2004


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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: This is a digitally signed message part
URL: <http://dovecot.org/pipermail/dovecot/attachments/20041203/b72b6166/attachment-0001.bin>


More information about the dovecot mailing list