[Dovecot] Another minor IMAP LIST issue

Chris Wakelin c.d.wakelin at reading.ac.uk
Wed Jul 20 20:36:22 EEST 2005


Todd Vierling wrote:
> On Wed, 20 Jul 2005, Chris Wakelin wrote:
> 
> 
>>I've just noticed that Dovecot 1.0-stable and 1.0-test78 don't include
>>mbox folders with names beginning with "." in the IMAP LIST output.
> 
> 
> You know, I was going to suggest the same thing this weekend.  It is a
> problem with Pine remote address books, if the remote addrbook uses a
> dotfile folder.  The addressbook folder doesn't show up in LIST, so Pine
> tries to create it, and upon create, it gets a "Folder exists" error because
> it does already exist.  This change should go into Dovecot to improve Pine
> compatibility if nothing else.
> 

Actually, that's similar to one of the other LIST issues, namely 'LIST
"" "~/mail/"' (where "~/mail/" is a namespace prefix).

Pine 4.x expects this to work, when adding a folder collection with a
prefix, or it tries to create it. (This will still crash 1.0-stable, I
think, but is fixed in 1.0-tests - in cmd-create.c, "maibox" ends up as
the empty string and then its penultimate character gets tested to see
if it's the separator!)

I've needed to do a lot for Pine 4.x compatability, which is ironic as
it's supposed to be the "reference" IMAP client! Admittedly, if we
didn't use a folder prefix and used SSL or didn't use AUTH=PLAIN, it
would probably work OK out-of-the-box. As for Pine 3.x, it uses obsolete
(according to RFC2062) IMAPv2 commands (FIND ALL.MAILBOXES) for folder
listing!!

Best Wishes,
Chris

-- 
--+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+-
Christopher Wakelin,                           c.d.wakelin at reading.ac.uk
IT Services Centre, The University of Reading,  Tel: +44 (0)118 378 8439
Whiteknights, Reading, RG6 2AF, UK              Fax: +44 (0)118 975 3094


More information about the dovecot mailing list