[Dovecot] lazy expunge - how to unset deleted imap flag
Hello, I am using dovecot 1.1.13 in debian lenny with exim4 and I have Outlook 2007 clients. I have configured lazy expunge plugin.
User marks messages in INBOX for deletion then click "delete messages from server" then the messages are moved to .EXPUNGED folder which is correct but they are still marked with IMAP deleted flag which is bad cause when user marks another messages in INBOX for deletion and click again on "delete messages from server" the messages which were in .EXPUNGE are gone forever.
Is there any possibility to change this behavior i.e. instead from: move messages tagged for deletion to .EXPUNGE folder to: move messages tagged for deletion to .EXPUNGE folder and UNSET deleted flag ?
Thanx
On Fri, 2009-07-10 at 11:49 +0200, Colo Colo wrote:
Hello, I am using dovecot 1.1.13 in debian lenny with exim4 and I have Outlook 2007 clients. I have configured lazy expunge plugin.
User marks messages in INBOX for deletion then click "delete messages from server" then the messages are moved to .EXPUNGED folder which is correct but they are still marked with IMAP deleted flag which is bad cause when user marks another messages in INBOX for deletion and click again on "delete messages from server" the messages which were in .EXPUNGE are gone forever.
This shouldn't really be happening. They're gone only if client issues EXPUNGE command in the .EXPUNGED/INBOX mailbox. Is your Outlook really doing that? (If so, I guess it opens all mailboxes and issues EXPUNGE for them?.. And I guess you've also made .EXPUNGED/ visible to clients?)
Is there any possibility to change this behavior i.e. instead from: move messages tagged for deletion to .EXPUNGE folder to: move messages tagged for deletion to .EXPUNGE folder and UNSET deleted flag ?
Yes, this is probably a good idea in any case. Done: http://hg.dovecot.org/dovecot-1.2/rev/45b110c8da62
Still I'd like to know what exactly was happening with you before, just in case there's something else wrong in Dovecot.
participants (2)
-
Colo Colo
-
Timo Sirainen