changeset 6049:1246c1c08742 HEAD

If UIDVALIDITY lookup fails, don't show it as an error. It probably means that ACL plugin prevented the lookup because user had no READ rights.
author Timo Sirainen <tss@iki.fi>
date Wed, 18 Jul 2007 00:12:20 +0300
parents a4c03ced38c3
children 252158d40baf
files src/imap/cmd-append.c src/imap/cmd-copy.c
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/imap/cmd-append.c	Wed Jul 18 00:11:30 2007 +0300
+++ b/src/imap/cmd-append.c	Wed Jul 18 00:12:20 2007 +0300
@@ -259,7 +259,7 @@
 
 		if (mailbox_get_status(ctx->box, STATUS_UIDVALIDITY,
 				       &status) < 0)
-			msg = "OK Append completed. UIDVALIDITY lookup failed.";
+			msg = "OK Append completed.";
 		else if (uid1 == uid2) {
 			msg = t_strdup_printf("OK [APPENDUID %u %u] "
 					      "Append completed.",
--- a/src/imap/cmd-copy.c	Wed Jul 18 00:11:30 2007 +0300
+++ b/src/imap/cmd-copy.c	Wed Jul 18 00:12:20 2007 +0300
@@ -144,7 +144,7 @@
 
 		if (mailbox_get_status(destbox, STATUS_UIDVALIDITY,
 				       &status) < 0) {
-			msg = "OK Copy completed. UIDVALIDITY lookup failed.";
+			msg = "OK Copy completed.";
 		} else if (uid1 == uid2) {
 			msg = t_strdup_printf("OK [COPYUID %u %s %u] "
 					      "Copy completed.",