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

dovecot at dovecot.org dovecot at dovecot.org
Thu Apr 29 20:43:22 EEST 2010


details:   http://hg.dovecot.org/dovecot-1.2/rev/7c447e8c24fe
changeset: 9565:7c447e8c24fe
user:      Timo Sirainen <tss at iki.fi>
date:      Thu Apr 29 20:43:16 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 |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (14 lines):

diff -r efe0efc22d22 -r 7c447e8c24fe src/lib-storage/index/maildir/maildir-sync-index.c
--- a/src/lib-storage/index/maildir/maildir-sync-index.c	Tue Apr 20 13:02:29 2010 +0300
+++ b/src/lib-storage/index/maildir/maildir-sync-index.c	Thu Apr 29 20:43:16 2010 +0300
@@ -157,7 +157,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->path, uid, filename);
+		  "(old uid=%u, file=%s)%s", ctx->mbox->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