[Dovecot] Pine and prefix - LIST command bug?

Chris Wakelin c.d.wakelin at reading.ac.uk
Fri Mar 18 19:36:32 EET 2005


I've been having problems with Pine 4.62 talking to Dovecot 1.0 stable. 
It's fine when the folder collection path is empty, but if I have 
"~/mail/" or "mail/" it gives access errors (I'm using the "~/mail/", 
"mail/" etc. hidden namespaces for backwards compatability).

It seems to me that Dovecot is not replying correctly to a "LIST" 
command with empty mailbox name: -

Dovecot:

xyz LIST "" ""
* LIST (\NoSelect) "/" ""
xyz LIST "~/mail/" ""
* LIST (\NoSelect) "/" ""
xyz LIST "mail/" ""
* LIST (\NoSelect) "/" ""

UW-IMAP;

xyz LIST "" ""
* LIST (\NoSelect) "/" ""
xyz LIST "~/mail/" ""
* LIST (\NoSelect) "/" ~/
xyz LIST "mail/" ""
* LIST (\NoSelect) "/" mail/

RFC 2060 says:

An empty ("" string) mailbox name argument is a special request to
      return the hierarchy delimiter and the root name of the name given
      in the reference.  The value returned as the root MAY be null if
      the reference is non-rooted or is null.  In all cases, the
      hierarchy delimiter is returned.  This permits a client to get the
      hierarchy delimiter even when no mailboxes by that name currently
      exist.

Mind you, it looks like at least our UW-IMAP also gets it wrong for 
"~/mail/". Of course, I may be misunderstanding something!

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