dovecot-2.2: dsync: If remote doesn't send some mails, don't exi...
dovecot at dovecot.org
dovecot at dovecot.org
Sun Mar 31 18:25:02 EEST 2013
details: http://hg.dovecot.org/dovecot-2.2/rev/0eef38d78069
changeset: 16132:0eef38d78069
user: Timo Sirainen <tss at iki.fi>
date: Sun Mar 31 18:24:54 2013 +0300
description:
dsync: If remote doesn't send some mails, don't exit with code 0.
diffstat:
src/doveadm/dsync/dsync-mailbox-import.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diffs (19 lines):
diff -r 37cd62516b37 -r 0eef38d78069 src/doveadm/dsync/dsync-mailbox-import.c
--- a/src/doveadm/dsync/dsync-mailbox-import.c Sun Mar 31 18:15:00 2013 +0300
+++ b/src/doveadm/dsync/dsync-mailbox-import.c Sun Mar 31 18:24:54 2013 +0300
@@ -2156,6 +2156,7 @@
i_error("Mailbox %s: Remote didn't send mail GUID=%s (UID=%u)",
mailbox_get_vname(importer->box),
mail->guid, mail->remote_uid);
+ importer->failed = TRUE;
}
}
hash_table_iterate_deinit(&iter);
@@ -2177,6 +2178,7 @@
i_error("Mailbox %s: Remote didn't send mail UID=%u",
mailbox_get_vname(importer->box),
mail->remote_uid);
+ importer->failed = TRUE;
}
}
hash_table_iterate_deinit(&iter);
More information about the dovecot-cvs
mailing list