dovecot-2.0: maildir: If we detect MH as the cause of unexpungin...

dovecot at dovecot.org dovecot at dovecot.org
Thu Apr 29 20:44:17 EEST 2010


details:   http://hg.dovecot.org/dovecot-2.0/rev/80f77153d49c
changeset: 11227:80f77153d49c
user:      Timo Sirainen <tss at iki.fi>
date:      Thu Apr 29 20:44:13 2010 +0300
description:
maildir: If we detect MH as the cause of unexpunging, log it in the error message.

diffstat:

 src/lib-storage/index/maildir/maildir-sync-index.c |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (15 lines):

diff -r c8f4cb187343 -r 80f77153d49c src/lib-storage/index/maildir/maildir-sync-index.c
--- a/src/lib-storage/index/maildir/maildir-sync-index.c	Thu Apr 29 20:14:43 2010 +0300
+++ b/src/lib-storage/index/maildir/maildir-sync-index.c	Thu Apr 29 20:44:13 2010 +0300
@@ -205,8 +205,9 @@
 	maildir_uidlist_sync_finish(ctx->uidlist_sync_ctx);
 
 	i_warning("Maildir %s: Expunged message reappeared, giving a new UID "
-		  "(old uid=%u, file=%s)", ctx->mbox->box.path,
-		  uid, filename);
+		  "(old uid=%u, file=%s)%s", ctx->mbox->box.path,
+		  uid, filename, strncmp(filename, "msg.", 4) != 0 ? "" :
+		  " (Your MDA is saving MH files into Maildir?)");
 	return 0;
 }
 


More information about the dovecot-cvs mailing list