dovecot-1.1: "Maildir filename has wrong W= value" error message...

dovecot at dovecot.org dovecot at dovecot.org
Sat Feb 14 00:43:45 EET 2009


details:   http://hg.dovecot.org/dovecot-1.1/rev/e78c1bd66b81
changeset: 8163:e78c1bd66b81
user:      Timo Sirainen <tss at iki.fi>
date:      Fri Feb 13 12:32:19 2009 -0500
description:
"Maildir filename has wrong W= value" error message improved. Also don't mark cache file corrupted.

diffstat:

1 file changed, 5 insertions(+), 1 deletion(-)
src/lib-storage/index/maildir/maildir-mail.c |    6 +++++-

diffs (17 lines):

diff -r c08c602ca0dc -r e78c1bd66b81 src/lib-storage/index/maildir/maildir-mail.c
--- a/src/lib-storage/index/maildir/maildir-mail.c	Thu Feb 12 18:37:54 2009 -0500
+++ b/src/lib-storage/index/maildir/maildir-mail.c	Fri Feb 13 12:32:19 2009 -0500
@@ -489,8 +489,12 @@ static void maildir_mail_set_cache_corru
 				(flags & MAILDIR_UIDLIST_REC_FLAG_NEW_DIR) != 0 ?
 				"new" : "cur";
 			mail_storage_set_critical(_mail->box->storage,
-				"Maildir filename has wrong W value: %s/%s/%s",
+				"Maildir filename has wrong W= value, "
+				"can't fix it automatically: %s/%s/%s",
 				mbox->path, subdir, fname);
+			/* don't bother setting cache corrupted since it
+			   doesn't fix anything. */
+			return;
 		} else if (maildir_uidlist_lookup_ext(mbox->uidlist, _mail->uid,
 				MAILDIR_UIDLIST_REC_EXT_VSIZE) != NULL) {
 			maildir_uidlist_set_ext(mbox->uidlist, _mail->uid,


More information about the dovecot-cvs mailing list