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 [EMAIL PROTECTED])\r\n          by w... Improper use of
 control character (char 0D hex): X-IlohaMail-Blah:
 [EMAIL PROTECTED] 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:
 [EMAIL PROTECTED]>\r\n Improper use of control
 character (char 0D hex): From: "Luciano Mannucci" <[EMAIL PROTECTED]>\r\n
 Improper use of control character (char 0D hex): Bounce-To: "Luciano
 Mannucci" <[EMAIL PROTECTED]>\r\n Improper use of control character (char 0D
 hex): Errors-To: "Luciano Mannucci" <[EMAIL PROTECTED]>\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: [EMAIL PROTECTED]
 / \  AND POSTINGS        /   WWW: http://www.mannucci.ORG/

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Ilohamail-devel mailing list
Ilohamail-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ilohamail-devel

Reply via email to