dovecot-2.1: mdbox rebuild: Log an error whenever opening a mail...
dovecot at dovecot.org
dovecot at dovecot.org
Wed Oct 12 18:59:25 EEST 2011
details: http://hg.dovecot.org/dovecot-2.1/rev/fad85406a088
changeset: 13632:fad85406a088
user: Timo Sirainen <tss at iki.fi>
date: Wed Oct 12 17:21:01 2011 +0300
description:
mdbox rebuild: Log an error whenever opening a mailbox fails.
diffstat:
src/lib-storage/index/dbox-multi/mdbox-storage-rebuild.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diffs (12 lines):
diff -r d2608fc3c9e2 -r fad85406a088 src/lib-storage/index/dbox-multi/mdbox-storage-rebuild.c
--- a/src/lib-storage/index/dbox-multi/mdbox-storage-rebuild.c Wed Oct 12 19:07:07 2011 +0300
+++ b/src/lib-storage/index/dbox-multi/mdbox-storage-rebuild.c Wed Oct 12 17:21:01 2011 +0300
@@ -483,6 +483,8 @@
i_assert(box->storage == &ctx->storage->storage.storage);
if (mailbox_open(box) < 0) {
error = mailbox_get_last_mail_error(box);
+ i_error("Couldn't open mailbox '%s': %s",
+ vname, mailbox_get_last_error(box, NULL));
mailbox_free(&box);
if (error == MAIL_ERROR_TEMP)
return -1;
More information about the dovecot-cvs
mailing list