[ mailman-Patches-1803606 ] FORGED_MUA_THEBAT_CS: The Bat! and Spamassassin

SourceForge.net noreply at sourceforge.net
Thu Sep 27 16:02:03 CEST 2007


Patches item #1803606, was opened at 2007-09-27 16:02
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=300103&aid=1803606&group_id=103

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: mail delivery
Group: Mailman 2.2 / 3.0
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Julian Ladisch (julianladisch)
Assigned to: Nobody/Anonymous (nobody)
Summary: FORGED_MUA_THEBAT_CS: The Bat! and Spamassassin

Initial Comment:
The mail user agent "The Bat!" creates header lines like this if there is some non-ascii character like a umlaut (ä):

X-Mailer: The Bat! (v2.00)
Content-Type: text/plain; charset=ISO-8859-15

"The Bat!" never puts quotes around the charset.  Mailman's Decorate.py changes this to:

X-Mailer: The Bat! (v2.00)
Content-Type: text/plain; charset="iso-8859-15"

Spamassassin has a spam detection rule that triggeres if X-Mailer contains "The Bat!" and there are quotes around the charset. The rule is named FORGED_MUA_THEBAT_CS and is located in rules/20_ratware.cf
http://svn.apache.org/repos/asf/spamassassin/tags/spamassassin_release_3_2_3/rules/20_ratware.cf

My patch renames X-Mailer to X-X-Mailer.  That prevents triggering the rule without information loss.

I've tested the patch that applies to 2.1.7 and it works for me.  I havn't tested the patch for trunk (8228).

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=300103&aid=1803606&group_id=103


More information about the Mailman-coders mailing list