Matt Fretwell wrote:

On Fri, 03 Mar 2006 16:43:24 -0800
Alex Gottschalk <[EMAIL PROTECTED]> wrote:

This check is causing our mail server to quarentine mail sent
from PHP  via postfix.  It looks like it's because PHP wants
to put CRLF on the  MIME headers instead of bare LFs.  Is
there any way to modify or remove  this behaviour?  At least
according to the PHP docs <URI:http://us3.php.net/function.mail>, it should be legal to
put \r\n  characters as linefeeds in MIME headers.


Check the RFC's as to whether it is legal or not. 'Should be'
and 'must be' could be two very different things.

ClamAV's ScanMail option can handle a wide variety of line-terminators
found in the wild, RFC compliant or not, including both \r\n and \n.


Matt

-Nigel

--
Nigel Horne. Arranger, Adjudicator, Band Trainer, Composer, Typesetter.
NJH Music, Barnsley, UK.  ICQ#20252325
[EMAIL PROTECTED] http://www.bandsman.co.uk

_______________________________________________
http://lurker.clamav.net/list/clamav-users.html

Reply via email to