http://issues.apache.org/SpamAssassin/show_bug.cgi?id=5399





------- Additional Comments From [EMAIL PROTECTED]  2007-04-01 11:03 -------
To demonstarte, take any message where Content-Type is text/plain and change 
it to "text plain" and then run spamassassin on it.  Actually, one can set it 
to be any string that starts with "text" that doesn't have a / in it.  For 
example:

Received: by dax.ftor.de (Postfix, from userid 33)
        id 52D981F84B2; Sat, 31 Mar 2007 23:51:59 +0200 (CEST)
To: [EMAIL PROTECTED]
Content-Transfer-Encoding: quoted-printable
Content-Type: textfoobar
Subject: test
Message-Id: <[EMAIL PROTECTED]>
Date: Sat, 31 Mar 2007 23:51:59 +0200 (CEST)
From: [EMAIL PROTECTED] (www-data)

test

I ran spamassassin on that, and got:

X-Spam-Checker-Version: SpamAssassin 3.1.8 (2007-02-13) on
        mail1.psfc.mit.edu
X-Spam-Level: *
X-Spam-Status: No, score=1.5 required=5.0 tests=EMPTY_MESSAGE,NO_RELAYS
        autolearn=disabled version=3.1.8

Since in theory this content-type should never happen, I guess one could make 
a header rule that tests whether content-type starts with "text", and doesn't 
have a slash.  Or one could put a test in subroutine parse_content_type in 
Util.pm, and convert any such content-type to be "text/plain".






------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

Reply via email to