dovecot-2.0: imap proxy: Don't log "unexpected input" errors abo...
dovecot at dovecot.org
dovecot at dovecot.org
Wed Sep 30 19:27:53 EEST 2009
details: http://hg.dovecot.org/dovecot-2.0/rev/b381d3852d70
changeset: 9952:b381d3852d70
user: Timo Sirainen <tss at iki.fi>
date: Wed Sep 30 12:27:28 2009 -0400
description:
imap proxy: Don't log "unexpected input" errors about tagged CAPABILITY replies.
diffstat:
1 file changed, 3 insertions(+)
src/imap-login/imap-proxy.c | 3 +++
diffs (13 lines):
diff -r 0d5d10a3273c -r b381d3852d70 src/imap-login/imap-proxy.c
--- a/src/imap-login/imap-proxy.c Wed Sep 30 12:18:16 2009 -0400
+++ b/src/imap-login/imap-proxy.c Wed Sep 30 12:27:28 2009 -0400
@@ -250,6 +250,9 @@ int imap_proxy_parse_line(struct client
i_free(imap_client->proxy_backend_capability);
imap_client->proxy_backend_capability = i_strdup(line + 13);
return 0;
+ } else if (strncmp(line, "C ", 2) == 0) {
+ /* Reply to CAPABILITY command we sent, ignore it */
+ return 0;
} else if (strncasecmp(line, "I ", 2) == 0 ||
strncasecmp(line, "* ID ", 5) == 0) {
/* Reply to ID command we sent, ignore it */
More information about the dovecot-cvs
mailing list