[Dovecot] LIST command claims children exist in empty folder

Jonathan Siegle jsiegle at psu.edu
Thu Mar 26 12:05:25 EET 2009


On Mar 25, 2009, at 8:42 PM, Timo Sirainen wrote:

> On Wed, 2009-03-25 at 07:52 -0400, Jonathan Siegle wrote:
>> On Mar 24, 2009, at 11:36 AM, Jonathan Siegle wrote:
>>
>>> Dovecot 1.2 (8834:5284f45c249a)
>>>
>>> Should list return \HasChildren if no folders exist under it? I'm
>>> using mbox format.
>
> Is this really a problem?..
>

alpine/pine can't delete empty folders because the empty folder  
\HasChildren.

>> Here is my patch.
>
> Problem with that is that it doesn't return any children flags when
> using LISTEXT command:
>
> 1 list (subscribed) "" % return (children)
>
> Fixing this would require adding new code to fs_list_subs() to scan  
> the
> subdirectory if children flags are missing. list_file_subdir() handles
> that for non-subscription listing, but it can't be directly used for
> subscription listing.

ok thanks. I'll look at that today.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 1706 bytes
Desc: not available
Url : http://dovecot.org/pipermail/dovecot/attachments/20090326/9509e90b/attachment.bin 


More information about the dovecot mailing list