changeset 9565:7c447e8c24fe HEAD

maildir: If we detect MH as the cause of unexpunging, log it in the error message.
author Timo Sirainen <tss@iki.fi>
date Thu, 29 Apr 2010 20:43:16 +0300
parents efe0efc22d22
children 34c8cdc26dd9
files src/lib-storage/index/maildir/maildir-sync-index.c
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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;
 }