Update of bugs #1980 (project savane):
Assigned to: None => beuc
_______________________________________________________
Follow-up Comment #7:
I looked at the way phpBB handles the problem.
Answer: it doesnt, although it replaces \n by \r\n.
$message = preg_replace("#(?<!\r)\n#si", "\r\n", $message);
I similarly replaced \r\n by \n and Mailman was happy.
$message = str_replace("\r\n", "\n", $message);
RFC821 is very vague about what newline should be used during the DATA
command, except that DATA should end with "<CRLF>.<CRLF>".
All in all, it *looks* like a bug in Mailman, but using a consistent
(non-mixed) \n newline convention as I did does not break anything and makes
Mailman happy.
Commit or not commit?
_______________________________________________________
This item URL is:
<http://gna.org/bugs/?func=detailitem&item_id=1980>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Savane-dev mailing list
[email protected]
https://mail.gna.org/listinfo/savane-dev