dovecot: If UIDVALIDITY lookup fails, don't show it as an error....
dovecot at dovecot.org
dovecot at dovecot.org
Wed Jul 18 00:12:23 EEST 2007
details: http://hg.dovecot.org/dovecot/rev/1246c1c08742
changeset: 6049:1246c1c08742
user: Timo Sirainen <tss at iki.fi>
date: Wed Jul 18 00:12:20 2007 +0300
description:
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.
diffstat:
2 files changed, 2 insertions(+), 2 deletions(-)
src/imap/cmd-append.c | 2 +-
src/imap/cmd-copy.c | 2 +-
diffs (24 lines):
diff -r a4c03ced38c3 -r 1246c1c08742 src/imap/cmd-append.c
--- 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 @@ static bool cmd_append_continue_parsing(
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.",
diff -r a4c03ced38c3 -r 1246c1c08742 src/imap/cmd-copy.c
--- 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 @@ bool cmd_copy(struct client_command_cont
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.",
More information about the dovecot-cvs
mailing list