On Mon, Mar 06, 2006 at 12:20:11PM -0800, Alex Gottschalk wrote:
> Replacing the CRLF with a bare LF in these headers causes Clamav to no 
> longer quarantine these mail messages.

I'm guessing something is doing double encoding tricks. When you
pass lines ending in "CRLF" to the libraries, my guess is the
libraries expect lines ending in "LF", and blindly replaces "LF"
by "CRLF", so your lines end in "CRCRLF". Which is a bare CR
followed by a line-ending, "CRLF". Bare CR characters are illegal
in email.

See rfc2821, section 2.3.7: "SMTP client implementations MUST NOT
transmit ["bare" "CR" or "LF" characters] except when they are intended
as line terminators and then MUST, as indicated above, transmit them
only as a <CRLF> sequence."

So it looks like the fault is in your mime-encoding library.

-- 
Jan-Pieter Cornet <[EMAIL PROTECTED]>
!! Disc lamer: The addressee of this email is not the intended recipient. !!
!! This is only a test of the echelon and data retention systems. Please  !!
!! archive this message indefinately to allow verification of the logs.   !!
_______________________________________________
http://lurker.clamav.net/list/clamav-users.html

Reply via email to