[Dovecot] trouble deleting folders that only contain folders

Timo Sirainen tss at iki.fi
Sat Oct 6 04:04:21 EEST 2007


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.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20071006/709d495f/attachment.bin 


More information about the dovecot mailing list