[Dovecot] trouble deleting folders that only contain folders

Timo Sirainen tss at iki.fi
Sat Oct 27 20:38:43 EEST 2007


On Sat, 2007-10-06 at 15:57 -0500, Ken A wrote:
> >>>> x delete dir
> >>>> x NO Mailbox isn't selectable: dir
> >>>
> >>> That looks like it's trying to open the mailbox before deleting it. What
> >>> plugins do you use?
> >>>
> >>
> >> quota imap_quota
> 
> In tracking this down, I found that by commenting the line below in 
> quota-storage.c, the problem disappears, but I'm not sure what all of 
> the implications are for the quota tracking. I wasn't able to figure out 
> why quota_mailbox_delete() wasn't working correctly for me.
> 
> // Don't override mailbox_delete, so we can delete folders.
> // storage->v.mailbox_delete = quota_mailbox_delete;

Fixed: http://hg.dovecot.org/dovecot-1.0/rev/e302a5949cf0

> I noticed there was a quota rewrite patch for 1.0.2. Do you think I 
> should give this a try for 1.0.5 ?

The rewrite patch has the same problem. I don't think I'll bother fixing
it until someone asks.

-------------- 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/20071027/544d7581/attachment.bin 


More information about the dovecot mailing list