From: Luciano M. <lu...@ve...> - 2007-03-29 15:06:46
|
Hi all. I've had a problem with Iloha mail 0.8.14.rc3 after the update of the php engine to the current release (to solve well-known security issues). The php mail() call barfs on headers containing return/linefeed so that the mail generated is prepended with an ugly error message like this one: WARNING: bad headers - Improper use of control character (char 0D hex): Received: ...r xx...@ba...)\r\n by w... Improper use of control character (char 0D hex): X-IlohaMail-Blah: exn...@ba...\r\n Improper use of control character (char 0D hex): X-IlohaMail-Method: mail() [mem]\r\n Improper use of control character (char 0D hex): X-IlohaMail-Dummy: moo\r\n Improper use of control character (char 0D hex): X-Mailer: IlohaMail/0.8.14 (On: webmail.mcs.it)\r\n Improper use of control character (char 0D hex): Message-ID: ...117...@ba...>\r\n Improper use of control character (char 0D hex): From: "Luciano Mannucci" <hh...@ad...>\r\n Improper use of control character (char 0D hex): Bounce-To: "Luciano Mannucci" <xx...@ad...>\r\n Improper use of control character (char 0D hex): Errors-To: "Luciano Mannucci" <xx...@ad...>\r\n Improper use of control character (char 0D hex): MIME-Version: 1.0\r\n Improper use of control character (char 0D hex): Content-Type: text/plain; charset=ISO-8859-1\r\n Improper use of control character (char 0D hex): Content-Transfer-Encoding: quoted-printable\r\n I solved the issue by turning almost all \r\n into \n in the php module called "compose2.php". I hope I will not have to do the same with the whole code... BTW, i'm running Apache/1.3.37 (Unix) PHP/4.4.6 mod_ssl/2.8.28 OpenSSL/0.9.7d on a pretty straight forward SuSE linux machine. Regards to all, luciano. -- /"\ /Via A. Salaino, 7 - 20144 Milano (Italy) \ / ASCII RIBBON CAMPAIGN / PHONE : +39 2 485781 FAX: +39 2 48578250 X AGAINST HTML MAIL / E-MAIL: pos...@su... / \ AND POSTINGS / WWW: http://www.mannucci.ORG/ |