[Dovecot] Auth worker max line size
Emmanuel Dreyfus
manu at netbsd.org
Sun Sep 9 10:17:46 EEST 2012
Timo Sirainen <tss at iki.fi> wrote:
> Couldn't you change the client to use AUTHENTICATE PLAIN command instead?
> The buffer wouldn't be a problem then..
Sorry for the delay, I missed the reply.
That is not an option, as the client is not SASL capable.
--- src/lib-master/master-auth.h.orig
+++ src/lib-master/master-auth.h
@@ -13,9 +13,9 @@
/* Authentication client process's cookie size */
#define MASTER_AUTH_COOKIE_SIZE (128/8)
/* LOGIN_MAX_INBUF_SIZE should be based on this.*/
-#define MASTER_AUTH_MAX_DATA_SIZE 1024
+#define MASTER_AUTH_MAX_DATA_SIZE 4096
#define MASTER_AUTH_ERRMSG_INTERNAL_FAILURE \
"Internal error occurred. Refer to server log for more
information."
--
Emmanuel Dreyfus
http://hcpnet.free.fr/pubz
manu at netbsd.org
More information about the dovecot
mailing list