[imp] IMP concatinating 1st line of message w/ message headers
Liam Hoekenga
liamr at umich.edu
Wed Aug 13 13:47:29 PDT 2003
On Wed, 13 Aug 2003, Michael M Slusarz wrote:
> I've experienced this in the past, but the combination of either 1)
> upgrading my MTA (Postfix) and/or 2) changes I have made to
> line-ending/wrapping code in the last few months (at least in HEAD) has
> made this disappear.
Well.. as I'm able to replicate it w/ HEAD, I'm thinking maybe it's an MTA
problem (sendmail).
We're thinking it's a problem w/ "header folding" (as described in
RFC2822, sections 2.2.1 and 2.2.3). I see where PEAR's Mail/sendmail.php
should be adding a blank line between the headers and body (around line
118)...
fputs($mail, $text_headers);
fputs($mail, $this->sep); // newline to end the headers section
fputs($mail, $body);
I upgraded to PEAR Mail 1.1.1 which "Minor fixes with newlines in
headers", and my test servers have stopped doing this.. so I'm going to
try a more widespread deployment.
Liam
More information about the imp
mailing list