[Dovecot] lazy_expunge questions

Timo Sirainen tss at iki.fi
Wed Apr 11 09:01:16 EEST 2012


On 10.4.2012, at 23.19, James Devine wrote:

> I'm messing around with lazy expunge and I just had a couple of questions.
> 
> If I delete messages or folders with messages, I see them being moved to
> the expunge namespace, but if I delete an empty folder, all traces of it
> seem to disappear.  Is there a way to move empty folders to the expunge
> namespace also?

If you give 3 namespaces to lazyexpunge, it uses another way of moving stuff, and that includes also moving empty folders. But with 1 namespace it doesn't currently move it. Perhaps it should.

> My second question is in regards to restoring folders.  If I try to execute
> the imap command 'RENAME EXPUNGED/TEST INBOX/TEST' I get 'NO [CANNOT] Can't
> rename mailboxes to/from expunge namespace'.  Just wondering if this is
> possible or do I need to recreate the folder and then move messages into it.

You need to recreate + move. Renaming across namespaces is a little tricky.




More information about the dovecot mailing list