[Dovecot] client cannot list subfolders

Timo Sirainen tss at iki.fi
Sat Jul 12 02:48:11 EEST 2008


On Tue, 2008-07-08 at 21:42 -0400, Michael B Allen wrote:
> > This breaks in the implementation because both "Lists" and "TMP" are not
> > listed separately and are not recognised as root folders by Sylpheed. As I
> > read the code, only folders without a '/' are recognised as root folders
> > (considering the '.' namespace that is used here). It could be that
> > Sylpheed 2.4.0 parsed the LIST return values differently.
> >
> > For Thomas White it's the same problem. Folders "Academic" and
> > "Theatre" are not recognised as root folders.
> >
> > On the contrary, for example Google Mail returns all root folders
> > separately.

GMail's IMAP shouldn't be used as an example. It's one of the least
standards compliant IMAP servers there is.

> > Which behaviour exactly is IMAP4 compliant remains to be investigated.
> 
> Basically Sylpheed does not like the dots (which represent slashes)

Dovecot can be configured to use '/' (namespace separator = /), but
client shouldn't care about that.

> and would prefer to see each folder "listed separately".

I assume it means that Dovecot returned "TMP.STMP" without returning
"TMP". This is valid and several other IMAP servers do the same thing
(Cyrus, Courier). You can even find this from RFC 3501:

C: A85 LIST "" *
S: * LIST () "." foo.bar
S: A85 OK LIST completed

> Can anyone comment regarding proper LIST output and what clients
> should be expected to handle?

http://imapwiki.org/ClientImplementation/MailboxList

> Who's bug is this and 

Sylpheed's.

> what is the path of least resistance to fixing it?

If you just want to get this fixed for yourself, you can create the
"Lists" and "TMP" mailboxes and they get returned.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20080712/b4d2bf84/attachment.bin 


More information about the dovecot mailing list