dovecot-2.2: imap: (non-UID) MOVE command didn't always send EXP...
dovecot at dovecot.org
dovecot at dovecot.org
Sun Aug 12 01:39:01 EEST 2012
details: http://hg.dovecot.org/dovecot-2.2/rev/a69d858948ca
changeset: 14867:a69d858948ca
user: Timo Sirainen <tss at iki.fi>
date: Sun Aug 12 01:38:51 2012 +0300
description:
imap: (non-UID) MOVE command didn't always send EXPUNGE for the moved message.
diffstat:
src/imap/cmd-copy.c | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diffs (15 lines):
diff -r 5fc4fab20fd0 -r a69d858948ca src/imap/cmd-copy.c
--- a/src/imap/cmd-copy.c Sun Aug 12 01:29:16 2012 +0300
+++ b/src/imap/cmd-copy.c Sun Aug 12 01:38:51 2012 +0300
@@ -169,7 +169,10 @@
dest_storage = mailbox_get_storage(destbox);
if (destbox != client->mailbox) {
- sync_flags |= MAILBOX_SYNC_FLAG_FAST;
+ if (move)
+ sync_flags |= MAILBOX_SYNC_FLAG_EXPUNGE;
+ else
+ sync_flags |= MAILBOX_SYNC_FLAG_FAST;
imap_flags |= IMAP_SYNC_FLAG_SAFE;
mailbox_free(&destbox);
}
More information about the dovecot-cvs
mailing list