[Dovecot] LIST namespace problems

Chris Wakelin c.d.wakelin at reading.ac.uk
Sat Jan 14 16:36:57 EET 2006

Talking of which, one of my patches is for what I think are minor bugs 
with LIST and namespaces:

1) LIST "<namespace>" "" should return the delimeter and root name 
(returns delimeter and ""), I think because namespace_find modifies the 
"ref" argument
2) LIST "" "<namespace>" probably should return
LIST (\Noselect) "<delim>" "<namespace>" (this keeps Pine and possibly 
other clients happy, otherwise they try to "create" the directory)

i.e. for "/" delimeter and "~/mail/" prefix I'd want

. LIST "" "~/mail/"
* LIST (\Noselect) "/" "~/mail/"
. LIST "~/mail/" ""
* LIST (\Noselect) "/" "~/"

I can supply the patches but the first is trivial and the second one is 
very ugly!

Best Wishes,

Chris Wakelin wrote:
> I also needed to rewrite half my internal patches :) but that shouldn't 
> have made any difference (they certainly don't involve those files).
> 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