On 6.9.2004, at 17:44, Mark E. Mallett wrote:
Probably because one of the lines in it is larger then 4096 bytes? Header parser doesn't really like that. I should get that fixed in 1.0-tests..
Are you talking physical line length, or actual header line length (including continuation lines)? I guess strictly speaking you aren't supposed to see a physical line length of 4096 bytes, but even so, that's a low limit.
When a physical line is larger than what fits into input buffer it breaks. I think most MTAs don't allow lines that long, so this isn't too much of a problem.
Anyway, here's finally a fix:
http://dovecot.org/patches/dovecot-large-header-fix.diff
Note that with mboxes those large header lines seem to be deleted while mbox is being rewritten. With 1.0-tests this doesn't happen.