[Dovecot] trouble deleting folders that only contain folders

Ken A ka at pacific.net
Sat Oct 6 05:17:12 EEST 2007


Timo Sirainen wrote:
> On Fri, 2007-10-05 at 16:51 -0500, Ken A wrote:
>> Hi,
>>
>> I'm using dovecot 1.0.5 with mbox storage. Users can't delete folders 
>> that are created to 'only hold other folders'. I can create these 
>> folders with no problem. They are directories in the file system. Normal 
>> folders (which are mbox files) are deleted with no problem. I've tried 
>> with both squirrelmail and Thunderbird, and what happens when a delete 
>> is requested, is that all files within the folder's dir tree are deleted 
>> and the client is unsubscribed, but the directory tree remains.
> 
> I think this is a client bug. See what commands the client sends. Seems
> to work right with me:
> 
> x create dir/
> x OK Create completed.
> x list "" dir
> * LIST (\Noselect \HasChildren) "/" "dir"
> x OK List completed.
> x delete dir
> x OK Delete completed.
> x list "" dir
> x OK List completed.
> 

I get this, from telnet:

x create dir/
x OK Create completed.
x list "" dir
* LIST (\Noselect \HasChildren) "/" "dir"
x OK List completed.
x delete dir
x NO Mailbox isn't selectable: dir
x list "" dir
* LIST (\Noselect \HasChildren) "/" "dir"
x OK List completed.


I must have something misconfigured.
mail_location: 
mbox:/var/spool/mail/folders/%u:INBOX=/var/spool/mail/%u:INDEX=/var/spool/dovecot_indexes/%u

Thanks for any assistance,
Ken


-- 
Ken Anderson
Pacific.Net


More information about the dovecot mailing list