Jan Pieter Cornet wrote:
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.
If that were the case, wouldn't I be seeing lines ending with ^M^M in
the quarantined email (as viewed with vi)? That isn't the case - the
MIME header lines end with a single ^M in mails that get quarantined.
Once I strip the CR out of the MIME-encoding library, the mails go through.
Cheers,
Alex
/----------------------------------------------------------------------\
| Alex Gottschalk <[EMAIL PROTECTED]> |
| LetsTalk, Inc. -- IT Manager/Sysadmin |
\----------------------------------------------------------------------/
_______________________________________________
http://lurker.clamav.net/list/clamav-users.html