dovecot-1.2-managesieve: managsieve-login: Reduced the max. numb...

pigeonhole at rename-it.nl pigeonhole at rename-it.nl
Thu May 19 22:45:43 EEST 2011


details:   http://hg.rename-it.nl/dovecot-1.2-managesieve/rev/8efc4a8e4a19
changeset: 219:8efc4a8e4a19
user:      Stephan Bosch <stephan at rename-it.nl>
date:      Thu May 19 21:38:34 2011 +0200
description:
managsieve-login: Reduced the max. number of allowed bad commands.

diffstat:

 src/managesieve-login/client.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r c4d1791a1e5b -r 8efc4a8e4a19 src/managesieve-login/client.c
--- a/src/managesieve-login/client.c	Thu Feb 17 21:18:19 2011 +0100
+++ b/src/managesieve-login/client.c	Thu May 19 21:38:34 2011 +0200
@@ -33,7 +33,7 @@
 #define MAX_OUTBUF_SIZE 4096
 
 /* Disconnect client when it sends too many bad commands */
-#define CLIENT_MAX_BAD_COMMANDS 10
+#define CLIENT_MAX_BAD_COMMANDS 3
 
 /* When max. number of simultaneous connections is reached, few of the
    oldest connections are disconnected. Since we have to go through all of the


More information about the dovecot-cvs mailing list