dovecot-1.2: login proxy: Changed the message to show to clients...

dovecot at dovecot.org dovecot at dovecot.org
Wed Aug 12 21:51:42 EEST 2009


details:   http://hg.dovecot.org/dovecot-1.2/rev/dfbcb8ead5ef
changeset: 9307:dfbcb8ead5ef
user:      Timo Sirainen <tss at iki.fi>
date:      Wed Aug 12 14:36:05 2009 -0400
description:
login proxy: Changed the message to show to clients when proxying fails.

diffstat:

2 files changed, 4 insertions(+), 2 deletions(-)
src/imap-login/imap-proxy.c |    3 ++-
src/pop3-login/pop3-proxy.c |    3 ++-

diffs (26 lines):

diff -r e3ccd235a7e5 -r dfbcb8ead5ef src/imap-login/imap-proxy.c
--- a/src/imap-login/imap-proxy.c	Wed Aug 12 14:32:17 2009 -0400
+++ b/src/imap-login/imap-proxy.c	Wed Aug 12 14:36:05 2009 -0400
@@ -18,7 +18,8 @@
 #include <stdlib.h>
 
 #define PROXY_FAILURE_MSG \
-	"NO ["IMAP_RESP_CODE_UNAVAILABLE"] "AUTH_TEMP_FAILED_MSG
+	"NO ["IMAP_RESP_CODE_UNAVAILABLE"] " \
+	"Account is temporarily unavailable. Try again later."
 
 static const char *const *
 capabilities_strip_prelogin(const char *const *capabilities)
diff -r e3ccd235a7e5 -r dfbcb8ead5ef src/pop3-login/pop3-proxy.c
--- a/src/pop3-login/pop3-proxy.c	Wed Aug 12 14:32:17 2009 -0400
+++ b/src/pop3-login/pop3-proxy.c	Wed Aug 12 14:36:05 2009 -0400
@@ -11,7 +11,8 @@
 #include "client.h"
 #include "pop3-proxy.h"
 
-#define PROXY_FAILURE_MSG "-ERR [IN-USE] "AUTH_TEMP_FAILED_MSG
+#define PROXY_FAILURE_MSG "-ERR [IN-USE] " \
+	"Account is temporarily unavailable. Try again later."
 
 static void proxy_free_password(struct pop3_client *client)
 {


More information about the dovecot-cvs mailing list