[dovecot-cvs] dovecot/src/pop3-login pop3-proxy.c,1.7,1.8

cras at dovecot.org cras at dovecot.org
Fri Jan 7 18:46:32 EET 2005


Update of /var/lib/cvs/dovecot/src/pop3-login
In directory talvi:/tmp/cvs-serv10586/pop3-login

Modified Files:
	pop3-proxy.c 
Log Message:
proxy: When we can't connect to remote server, show "Temporary login
failure." error to client instead of internal error.



Index: pop3-proxy.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/pop3-login/pop3-proxy.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- pop3-proxy.c	4 Nov 2004 13:09:44 -0000	1.7
+++ pop3-proxy.c	7 Jan 2005 16:46:29 -0000	1.8
@@ -24,8 +24,9 @@
 			return;
 		}
 
-		/* failed for some reason */
-		client_destroy_internal_failure(client);
+		/* failed for some reason, probably server disconnected */
+		client_send_line(client, "* BYE Temporary login failure.");
+		client_destroy(client, NULL);
 		return;
 	}
 



More information about the dovecot-cvs mailing list