[Dovecot] lazy_expunge questions
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?
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.
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.
On Wed, Apr 11, 2012 at 12:01 AM, Timo Sirainen <tss@iki.fi> wrote:
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.
It looks like 3 namespace support in the lazy expunge plugin was removed in 2.1+ ?
participants (2)
-
James Devine
-
Timo Sirainen