Kui Zhang
2010-Aug-30 02:31 UTC
[Dovecot] Lazy expunge plugin - delete folder result error.
Hello Is it a bug in lazy expunge plugin or am I missing something? Dovecot v2.0.1 (c5111fb65b0b) home = /mail/%Ld/%Ln mail_location = mdbox:/mail/%Ld/%Ln/mdbox sources.list - debian (squeeze) .. deb http://xi.rename-it.nl/debian testing-auto/dovecot-2.0 main Config changes - - - plugin { lazy_expunge = .EXPUNGED/ } namespace { type = private separator = / prefix inbox = yes list = yes } # lazy_expunge namespace { type = private separator = / prefix = .EXPUNGED/ #location = mdbox:~/mdbox:MAILBOXDIR=expunged location = mdbox:~/expunged:MAILBOXDIR=expunged list = children subscriptions = no - - - When: location = mdbox:~/mdbox:MAILBOXDIR=expunged expunged folder gets created inside mail_location delete/expunge email works delete/expunge folder works When: location = mdbox:~/expunged:MAILBOXDIR=expunged expunged folder gets created inside mail home delete/expunge email works delete/expunge folder DOES NOT WORK. To reproduce the problem in outlook 2003: Delete a messages in the Inbox. Then edit/purge deleted messages. Create a new folder, then delete the new folder... error prompt Server Responded: "CANNOT] Can't rename mailboxes across specified storages." Folder does not get unsubscribe/move no core dump. when try to delete the same folder again. Server Responded: "NONEXISTENT] Mailbox was deleted under us" Thanks
Timo Sirainen
2010-Aug-31 18:00 UTC
[Dovecot] Lazy expunge plugin - delete folder result error.
On Sun, 2010-08-29 at 19:31 -0700, Kui Zhang wrote:> home = /mail/%Ld/%Ln > mail_location = mdbox:/mail/%Ld/%Ln/mdbox > > When: > location = mdbox:~/mdbox:MAILBOXDIR=expunged > expunged folder gets created inside mail_location > > delete/expunge email works > delete/expunge folder worksThis is correct. So why aren't you using it?..> When: > location = mdbox:~/expunged:MAILBOXDIR=expunged > expunged folder gets created inside mail home > > delete/expunge email works > delete/expunge folder DOES NOT WORK.This is wrong.> Server Responded: "CANNOT] Can't rename mailboxes across specified storages."This is expected with the wrong configuration.> when try to delete the same folder again. > > Server Responded: "NONEXISTENT] Mailbox was deleted under us"This is still a bug .. I'll see about fixing it.