Ken A wrote:
Ken A wrote:
Timo Sirainen wrote:
On Fri, 2007-10-05 at 21:17 -0500, Ken A wrote:
x list "" dir
* LIST (\Noselect \HasChildren) "/" "dir"
x OK List completed.
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;

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 ?

Thanks,

Ken




Confirmed that it has something to do with plugins.
If I comment out "mail_plugins = quota imap_quota" line in imap section, I can delete folders.

x delete dir
x OK Delete completed.

My quota is a simple fs quota, config taken from
http://wiki.dovecot.org/Quota/FS

protocol imap {
  mail_plugins = quota imap_quota
}
plugin {
  quota = fs
}


The quota usage is being reported correctly in squirrelmail, and works properly on the system (fedora core 7). Any ideas what might be causing this?

Thanks,
Ken




--
Ken Anderson
Pacific.Net

Reply via email to