You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spamassassin.apache.org by si...@apache.org on 2008/08/28 01:20:50 UTC
svn commit: r689657 - /spamassassin/rules/trunk/sandbox/sidney/70_other.cf
Author: sidney
Date: Wed Aug 27 16:20:49 2008
New Revision: 689657
URL: http://svn.apache.org/viewvc?rev=689657&view=rev
Log:
test a couple of solutions to bug 5428
Modified:
spamassassin/rules/trunk/sandbox/sidney/70_other.cf
Modified: spamassassin/rules/trunk/sandbox/sidney/70_other.cf
URL: http://svn.apache.org/viewvc/spamassassin/rules/trunk/sandbox/sidney/70_other.cf?rev=689657&r1=689656&r2=689657&view=diff
==============================================================================
--- spamassassin/rules/trunk/sandbox/sidney/70_other.cf (original)
+++ spamassassin/rules/trunk/sandbox/sidney/70_other.cf Wed Aug 27 16:20:49 2008
@@ -10,3 +10,22 @@
uri T_SIDNEY_URI_NOVOWEL m%^https?://[^/?]*[bcdfgjklmnpqrstvwxz]{7}%i
describe T_SIDNEY_URI_NOVOWEL URI hostname has long non vowel or h sequence
score T_SIDNEY_URI_NOVOWEL 0.01
+
+ifplugin Mail::SpamAssassin::Plugin::ReplaceTags
+
+header T_SIDNEY_SUBJECT_FUZZY_PENIS0 Subject =~ /<inter W3><post P3>\b(?!penis)<P><E><N><I><S>/i
+describe T_SIDNEY_SUBJECT_FUZZY_PENIS0 Test should be identical to SUBJECT_FUZZY_PENIS
+replace_rules T_SIDNEY_SUBJECT_FUZZY_PENIS0
+score T_SIDNEY_SUBJECT_FUZZY_PENIS0 0.01
+
+header T_SIDNEY_SUBJECT_FUZZY_PENIS1 Subject =~ /<inter W3><post P3>\b(?!penis)<P><E><N><I><S>\b/i
+describe T_SIDNEY_SUBJECT_FUZZY_PENIS1 Test SUBJECT_FUZZY_PENIS required ending on word boundary
+replace_rules T_SIDNEY_SUBJECT_FUZZY_PENIS1
+score T_SIDNEY_SUBJECT_FUZZY_PENIS1 0.01
+
+header T_SIDNEY_SUBJECT_FUZZY_PENIS2 Subject =~ /<inter W3><post P3>\b(?!(pen(is|ny|nies)))<P><E><N><I><S>/i
+describe T_SIDNEY_SUBJECT_FUZZY_PENIS2 Test SUBJECT_FUZZY_PENIS modified to not match penny or pennies
+replace_rules T_SIDNEY_SUBJECT_FUZZY_PENIS2
+score T_SIDNEY_SUBJECT_FUZZY_PENIS2 0.01
+
+endif # Mail::SpamAssassin::Plugin::ReplaceTags