ID:               22262
 Updated by:       [EMAIL PROTECTED]
 Reported By:      adamness at yahoo dot com
-Status:           Feedback
+Status:           No Feedback
 Bug Type:         Mail related
 Operating System: FreeBSD 4.3
 PHP Version:      4.3.0
 New Comment:

No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.




Previous Comments:
------------------------------------------------------------------------

[2003-02-18 11:36:01] [EMAIL PROTECTED]

That seems to be a qmail issue to me, not a php one.

Did you try to send by qmail-inject some plain text every line of which
ends with "\r\n" and confirm if the received mail is the right one?


------------------------------------------------------------------------

[2003-02-17 19:32:47] adamness at yahoo dot com

The RFC's require lines in the email header to end in "\r\n".  However,
when using the mail function in PHP 4.3, and qmail-inject as the
external mail program, the mail function was silently replacing my \n's
with \r\n's, leaving me with "\r\r\n", which actually ends up violating
the RFC, in a way that can cause buffer overflows in some mailreaders,
and has been identified as a possible virus exploit by several virus
scanners.

For a solution, the mail function, before replacing a \n with \r\n
should check if the previous character is already a \r.

------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=22262&edit=1

Reply via email to