]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
maildir: If we detect MH as the cause of unexpunging, log it in the error message.
authorTimo Sirainen <tss@iki.fi>
Thu, 29 Apr 2010 17:44:13 +0000 (20:44 +0300)
committerTimo Sirainen <tss@iki.fi>
Thu, 29 Apr 2010 17:44:13 +0000 (20:44 +0300)
--HG--
branch : HEAD

src/lib-storage/index/maildir/maildir-sync-index.c

index a28295f077f1ad1caaa7c819dd7d9f45c8e5fdf1..5424a4ef956d6980440fce18029b2650e495367a 100644 (file)
@@ -205,8 +205,9 @@ static int maildir_handle_uid_insertion(struct maildir_index_sync_context *ctx,
        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;
 }