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

SourceForge.net noreply at sourceforge.net
Fri Sep 28 02:53:49 CEST 2007


Patches item #1803606, was opened at 2007-09-27 16:02
Message generated for change (Comment added) made by julianladisch
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).

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

>Comment By: Julian Ladisch (julianladisch)
Date: 2007-09-28 02:53

Message:
Logged In: YES 
user_id=561017
Originator: YES

Mailman delivers the email to all subscribers of the mailing list. 
Spamassassin runs on the mail servers of the subscribers.  I don't have
access to the configuration of these mail servers, so I cannot nullify that
spamassassin test.

For discussing improvements to spamassassin regarding this bug please use
http://issues.apache.org/SpamAssassin/show_bug.cgi?id=5658

However, as many sites don't update spamassassin frequently we should
consider patching Mailman as well.

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

Comment By: Mark Sapiro (msapiro)
Date: 2007-09-28 01:18

Message:
Logged In: YES 
user_id=1123998
Originator: NO

If you really want to nullify this spamassassin test, why not just put

score FORGED_MUA_THEBAT_CS 0 0 0 0

in the appropriate spamassassin user_prefs file?

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

Comment By: Julian Ladisch (julianladisch)
Date: 2007-09-27 16:02

Message:
Logged In: YES 
user_id=561017
Originator: YES

File Added: Decorate.py-8228.diff

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

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