[Dovecot] Line length limitation in dovecot leads to
out-of-control process?
Timo Sirainen
tss at iki.fi
Thu Oct 9 04:44:01 EEST 2003
On Mon, 2003-10-06 at 01:09, Amelia A. Lewis wrote:
> After a little more exploration (grep ^To name-of-message | wc, on both
> machines) I seem to have found the issue: the original message has a To:
> line that is 16504 characters long. In the copy, it's 8192 characters
> long, and ends in the middle of a <email at address> (line in copy ends:
> user name <emai, chopped right there). I suspect that it is the
> *latter* that's causing dovecot to die a messy death. Or, actually, to
> turn into a very *rude* process that *doesn't* die.
Yes, it happens when the header name is larger than 8192 bytes. Dovecot
wants to read more data, but the buffer is already full and it tries
again.. Actually there is code to handle this, but it has a bug
somewhere. I'll fix this and check that other parsers don't have the
same problem.
More information about the dovecot
mailing list