You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spamassassin.apache.org by jm...@apache.org on 2006/10/12 13:52:18 UTC

svn commit: r463214 - /spamassassin/rules/trunk/core/20_ratware.cf

Author: jm
Date: Thu Oct 12 04:52:17 2006
New Revision: 463214

URL: http://svn.apache.org/viewvc?view=rev&rev=463214
Log:
bug 2108: fix RATWARE_HASH_2, RATWARE_HASH_2_V2 to avoid 'gregkh_patchbomb' X-Mailer used by a linux-kernel list poster

Modified:
    spamassassin/rules/trunk/core/20_ratware.cf

Modified: spamassassin/rules/trunk/core/20_ratware.cf
URL: http://svn.apache.org/viewvc/spamassassin/rules/trunk/core/20_ratware.cf?view=diff&rev=463214&r1=463213&r2=463214
==============================================================================
--- spamassassin/rules/trunk/core/20_ratware.cf (original)
+++ spamassassin/rules/trunk/core/20_ratware.cf Thu Oct 12 04:52:17 2006
@@ -28,12 +28,14 @@
 
 header RATWARE_EGROUPS		X-Mailer =~ /eGroups Message Poster/
 describe RATWARE_EGROUPS	Bulk email fingerprint (eGroups) found
-header RATWARE_HASH_2           X-Mailer =~ /^[A-Za-z0-9_]{16,}$/
-describe RATWARE_HASH_2		Bulk email fingerprint (hash 2) found
-header RATWARE_HASH_2_V2        X-Mailer =~ /^[A-Za-z0-9_]{14,}$/
-describe RATWARE_HASH_2_V2	Bulk email fingerprint (hash 2 v2) found
 header RATWARE_JPFREE		X-Mailer =~ /jpfree Group Mail Express/
 describe RATWARE_JPFREE		Bulk email fingerprint (jpfree) found
+
+# fixed per bug 2108 to avoid LKML poster
+header RATWARE_HASH_2           X-Mailer =~ /^(?!gregkh_patchbomb)[A-Za-z0-9_]{16,}$/
+header RATWARE_HASH_2_V2        X-Mailer =~ /^(?!gregkh_patchbomb)[A-Za-z0-9_]{14,}$/
+describe RATWARE_HASH_2         Bulk email fingerprint (hash 2) found
+describe RATWARE_HASH_2_V2      Bulk email fingerprint (hash 2 v2) found 
 
 # Note that the tests which look at the "ALL" pseudoheader are slower than
 # the specific header.