From ec3700496737960704b9aed87b5a8da3fe4ed61c Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Thu, 29 Apr 2010 20:44:13 +0300 Subject: [PATCH] maildir: If we detect MH as the cause of unexpunging, log it in the error message. --HG-- branch : HEAD --- src/lib-storage/index/maildir/maildir-sync-index.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/lib-storage/index/maildir/maildir-sync-index.c b/src/lib-storage/index/maildir/maildir-sync-index.c index a28295f077..5424a4ef95 100644 --- a/src/lib-storage/index/maildir/maildir-sync-index.c +++ b/src/lib-storage/index/maildir/maildir-sync-index.c @@ -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; } -- 2.47.3