dovecot-2.2: imap: MOVE didn't send EXPUNGE when delay-newmail w...
dovecot at dovecot.org
dovecot at dovecot.org
Sun Sep 2 18:16:26 EEST 2012
details: http://hg.dovecot.org/dovecot-2.2/rev/d3a9769dad2e
changeset: 15011:d3a9769dad2e
user: Timo Sirainen <tss at iki.fi>
date: Sun Sep 02 18:16:06 2012 +0300
description:
imap: MOVE didn't send EXPUNGE when delay-newmail workaround was enabled.
diffstat:
src/imap/cmd-copy.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diffs (13 lines):
diff -r dd1a04580289 -r d3a9769dad2e src/imap/cmd-copy.c
--- a/src/imap/cmd-copy.c Sun Sep 02 17:18:41 2012 +0300
+++ b/src/imap/cmd-copy.c Sun Sep 02 18:16:06 2012 +0300
@@ -175,6 +175,9 @@
sync_flags |= MAILBOX_SYNC_FLAG_FAST;
imap_flags |= IMAP_SYNC_FLAG_SAFE;
mailbox_free(&destbox);
+ } else if (move) {
+ sync_flags |= MAILBOX_SYNC_FLAG_EXPUNGE;
+ imap_flags |= IMAP_SYNC_FLAG_SAFE;
}
if (ret > 0)
More information about the dovecot-cvs
mailing list