https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6027

           Summary: SpamAssassin creates it's own spam (BAD_ENC_HEADER)
           Product: Spamassassin
           Version: unspecified
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: blocker
          Priority: P5
         Component: Score Generation
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]


When encoding headers with utf-8 spamassassin will create it's own spam (or
rather increase the spam score).

First, when a rule marks a mail as spam, it will add "***SPAM*** " to the the
front of the subject. This will now trigger a BAD_ENC_HEADER which can actually
cause the mail to be deleted!

Example:
X-Spam-Status: Yes, score=4.679 tagged_above=-999 required=3
        tests=[BAD_ENC_HEADER=2.87, HTML_IMAGE_ONLY_20=1.808,
        HTML_MESSAGE=0.001]

This gives the following subject:
Subject: ***SPAM*** =?utf-8?B?Z2hqaiBoaiBoamhqa2w=?=

This will cause the BAD_ENC_HEADER to be triggered!
Of course , adding the "spam" to the subject MUST be done in a real manner.
This is a typical american bug, you still live in your happy ascii world :-(

To reproduce, encode headers in utf-8 and trigger a mild spam status, that adds
"***SPAM*** " to the subject. Notice that it will now also trigger the
BAD_ENC_HEADER !

THIS MAY NEVER HAPPEN! It totally ruins the 'mild' spam status. FIX IT!


-- 
Configure bugmail: 
https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

Reply via email to