[Dovecot] \NoSelect on missing folders in LIST

Peter Mogensen apm at one.com
Mon Mar 5 16:56:52 EET 2012


On 2012-03-05 15:45, Timo Sirainen wrote:
>> * LIST (\Noselect \HasChildren) "." "INBOX.INBOX"
>
> I'm surprised Courier would return this.
>
>> But dovecot does not list that folder using "*".
>
> But it returns all of the mailboxes under INBOX.INBOX, right?

Yes. And they exists on disk and are subscribed to.

>> However, if you issue:
>> . list "" "INBOX.%"
>>
>> Dovecot answers:
>> * LIST (\Noselect \HasChildren) "." "INBOX.INBOX"
>
> Yes, because if it didn't the client wouldn't know that there are mailboxes under INBOX.INBOX.

Seems reasonable.

>> This makes some clients using "*" to get the folder list ignore the folderes below "INBOX.INBOX".
>
> What clients? I haven't heard of this being a problem before. I think Cyrus has similar behavior as Dovecot.

Well... mostly perl scripts :) - which could probably be changed to use 
"%" for wildcard, but since they always need to get the entire folder 
tree it would result in more IMAP traffic.

/Peter



More information about the dovecot mailing list