[Dovecot] \" character in folder name results in strange LIST

Samuel Kvasnica bugreports at list.ims.co.at
Tue Aug 17 20:31:22 EEST 2010


 On 08/17/2010 07:22 PM, Timo Sirainen wrote:
> On Sun, 2010-08-15 at 16:50 +0200, Samuel Kvasnica wrote:
>>>> 12 subscribe "Trash/aaa/"
>>>> 12 NO Invalid mailbox name: Trash/aaa/   <=== non-existing child folder,
>>>> ERROR
>>>> 13 unsubscribe "aaa/"
>>>> 13 NO Invalid mailbox name: aaa/ <=== non-existing child folder, ERROR
>>> Set:
>>>
>>> imap_client_workarounds = tb-extra-mailbox-sep
>>>
>> just swapped shortly back to non-fs maildir layout for a test - that one
>> works normally. So there must be a bug
>> in layout=fs implementation, it is listing the parent directory as child !
> It's not really a bug, it's a feature.. Whether it's a good feature is
> less clear. This is anyway what UW-IMAP also does, and what (Al)Pine
> wants. And this exact same bug has existed for a long time with Doveocot
> +mbox. The tb-extra-mailbox-sep workaround has fixed it for other people
> previously..
>
Well, given the fact it is listed ONLY if using LAYOUT=fs (if using
normal maildir layout it works correclty) it IS definitely a dovecot bug.
Whatever the correct behavior is, the result should not depend on
setting LAYOUT=fs => this is not consistent.

With this bug, I absolutely cannot operate thunderbirds on dovecot in
such setup (delete, move, rename wont work), so again a big showstopper. :-(

imap_client_workaround does not seem to be related, at least not with
maildir + Layout=fs

I'm debugging it right now, and it seems very strange, I think theres a
nasty bug hidden there...




More information about the dovecot mailing list