dovecot-2.0: lazy-expunge: Drop \Deleted flag when moving message.

dovecot at dovecot.org dovecot at dovecot.org
Mon Jul 27 03:03:48 EEST 2009


details:   http://hg.dovecot.org/dovecot-2.0/rev/4fdc1fadb529
changeset: 9667:4fdc1fadb529
user:      Timo Sirainen <tss at iki.fi>
date:      Sun Jul 26 20:03:41 2009 -0400
description:
lazy-expunge: Drop \Deleted flag when moving message.

diffstat:

1 file changed, 1 insertion(+)
src/plugins/lazy-expunge/lazy-expunge-plugin.c |    1 +

diffs (11 lines):

diff -r 1858d2fe330b -r 4fdc1fadb529 src/plugins/lazy-expunge/lazy-expunge-plugin.c
--- a/src/plugins/lazy-expunge/lazy-expunge-plugin.c	Sun Jul 26 19:51:37 2009 -0400
+++ b/src/plugins/lazy-expunge/lazy-expunge-plugin.c	Sun Jul 26 20:03:41 2009 -0400
@@ -153,6 +153,7 @@ static void lazy_expunge_mail_expunge(st
 
 	save_ctx = mailbox_save_alloc(lt->dest_trans);
 	mailbox_save_copy_flags(save_ctx, _mail);
+	save_ctx->flags &= ~MAIL_DELETED;
 	if (mailbox_copy(&save_ctx, _mail) < 0 && !_mail->expunged)
 		lt->failed = TRUE;
 	mmail->super.expunge(_mail);


More information about the dovecot-cvs mailing list