[Dovecot] Auth worker max line size
tss at iki.fi
Wed Jun 24 21:21:50 EEST 2009
On Wed, 2009-06-24 at 14:45 +0000, Emmanuel Dreyfus wrote:
> I have been playing with some exotic authentication scheme with Dovecot
> and PAM. That involves sending really large base64 encoded data as
> the IMAP password, and I have hit a line limit in Dovecot, with
> AUTH_WORKER_MAX_LINE_LENGTH set to 1024.
> I had to make the patch attached below to get my authentication working.
> I can live with this local patch, but given the much more liberal limits
> of MAX_INBUF_SIZE at 4096 makes we wonder if this 1024 limit on
> AUTH_WORKER_MAX_LINE_LENGTH could not be a bug. Or is there a security
> concern at using more than 1kB?
There's no real reason to keep it at 1 kB. I probably didn't even think
about it much when I added it. I increased it to 8192 now.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 197 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20090624/4cc249c0/attachment.bin
More information about the dovecot