dovecot-2.1: pop3: If UIDL using %f/%m/%g can't be fetched, ment...

dovecot at dovecot.org dovecot at dovecot.org
Mon Feb 13 18:28:11 EET 2012


details:   http://hg.dovecot.org/dovecot-2.1/rev/06bb6d0f60e0
changeset: 14147:06bb6d0f60e0
user:      Timo Sirainen <tss at iki.fi>
date:      Mon Feb 13 18:27:44 2012 +0200
description:
pop3: If UIDL using %f/%m/%g can't be fetched, mention pop3_uidl_format in error message.

diffstat:

 src/pop3/pop3-commands.c |  9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)

diffs (33 lines):

diff -r 9c4cac11da15 -r 06bb6d0f60e0 src/pop3/pop3-commands.c
--- a/src/pop3/pop3-commands.c	Mon Feb 13 18:28:01 2012 +0200
+++ b/src/pop3/pop3-commands.c	Mon Feb 13 18:27:44 2012 +0200
@@ -578,7 +578,8 @@
 				     &tab[2].value) < 0 ||
 		    *tab[2].value == '\0') {
 			/* broken */
-			i_fatal("UIDL: Header MD5 not found");
+			i_fatal("UIDL: Header MD5 not found "
+				"(pop3_uidl_format=%%m not supported by storage?)");
 		}
 	}
 	if ((client->uidl_keymask & UIDL_FILE_NAME) != 0) {
@@ -587,7 +588,8 @@
 				     &tab[3].value) < 0 ||
 		    *tab[3].value == '\0') {
 			/* broken */
-			i_fatal("UIDL: File name not found");
+			i_fatal("UIDL: File name not found "
+				"(pop3_uidl_format=%%f not supported by storage?)");
 		}
 	}
 	if ((client->uidl_keymask & UIDL_GUID) != 0) {
@@ -595,7 +597,8 @@
 				     &tab[4].value) < 0 ||
 		    *tab[4].value == '\0') {
 			/* broken */
-			i_fatal("UIDL: Message GUID not found");
+			i_fatal("UIDL: Message GUID not found "
+				"(pop3_uidl_format=%%g not supported by storage?)");
 		}
 	}
 	var_expand(str, client->mail_set->pop3_uidl_format, tab);


More information about the dovecot-cvs mailing list