dovecot-2.1: dsync: If mailbox was expunged empty, the messages ...

dovecot at dovecot.org dovecot at dovecot.org
Mon Mar 5 11:54:03 EET 2012


details:   http://hg.dovecot.org/dovecot-2.1/rev/f549cd60fec9
changeset: 14251:f549cd60fec9
user:      Timo Sirainen <tss at iki.fi>
date:      Mon Mar 05 11:53:45 2012 +0200
description:
dsync: If mailbox was expunged empty, the messages may have reappeared.
This dependend on what the last UID of the previous mailbox was.

diffstat:

 src/doveadm/dsync/dsync-worker-local.c |  1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diffs (11 lines):

diff -r a63651897eac -r f549cd60fec9 src/doveadm/dsync/dsync-worker-local.c
--- a/src/doveadm/dsync/dsync-worker-local.c	Sun Mar 04 15:48:48 2012 +0200
+++ b/src/doveadm/dsync/dsync-worker-local.c	Mon Mar 05 11:53:45 2012 +0200
@@ -850,6 +850,7 @@
 static void
 iter_local_mailbox_close(struct local_dsync_worker_msg_iter *iter)
 {
+	iter->prev_uid = 0;
 	iter->expunges_set = FALSE;
 	if (mailbox_search_deinit(&iter->search_ctx) < 0) {
 		i_error("msg search failed: %s",


More information about the dovecot-cvs mailing list