Bug 5658 - Mailman triggers FORGED_MUA_THEBAT_CS
Mailman triggers FORGED_MUA_THEBAT_CS
Status: RESOLVED FIXED
Product: Spamassassin
Classification: Unclassified
Component: Rules
SVN Trunk (Latest Devel Version)
All All
: P5 normal
: Undefined
Assigned To: SpamAssassin Developer Mailing List
:
Depends on:
Blocks:
  Show dependency tree
 
Reported: 2007-09-27 08:22 UTC by Julian Ladisch
Modified: 2009-03-03 03:29 UTC (History)
0 users



Attachment Type Modified Status Actions Submitter/CLA Status

Note You need to log in before you can comment on or make changes to this bug.
Description Julian Ladisch 2007-09-27 08:22:56 UTC
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-Mailman-Version: 2.1.7
X-Mailer: The Bat! (v2.00)
Content-Type: text/plain; charset="iso-8859-15"

This triggers FORGED_MUA_THEBAT_CS in rules/20_ratware.cf.  I suggest:

-meta FORGED_MUA_THEBAT_CS      (__THEBAT_MUA && __CTYPE_CHARSET_QUOTED)
+meta FORGED_MUA_THEBAT_CS      (__THEBAT_MUA && __CTYPE_CHARSET_QUOTED 
&& !__MAILMAN_21)
Comment 1 Justin Mason 2009-03-03 03:29:57 UTC
sure.  applied (eventually):

: 19...; svn commit -m "bug 5658: add Mailman exclusion to FORGED_MUA_THEBAT_CS as Mailman rewrites Content-Type headers" rules/20_ratware.cf
Sending        rules/20_ratware.cf
Transmitting file data .
Committed revision 749582.