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/29 05:42:34 UTC
svn commit: r690092 - /spamassassin/rules/trunk/sandbox/sidney/70_other.cf
Author: sidney
Date: Thu Aug 28 20:42:33 2008
New Revision: 690092
URL: http://svn.apache.org/viewvc?rev=690092&view=rev
Log:
more tests for 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=690092&r1=690091&r2=690092&view=diff
==============================================================================
--- spamassassin/rules/trunk/sandbox/sidney/70_other.cf (original)
+++ spamassassin/rules/trunk/sandbox/sidney/70_other.cf Thu Aug 28 20:42:33 2008
@@ -23,9 +23,28 @@
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
+header T_SIDNEY_SUBJECT_FUZZY_PENIS2 Subject =~ /<inter W3><post P3>\b(?!(pen(is|ny)))<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
+# same as FRT_PENIS1
+header T_SIDNEY_SUBJECT_FUZZY_PENIS3 /<inter SP2><post P2>\b(?!pen\s?is)(?!penny[ ']?s)<P><E><N><I><S>/i
+replace_rules T_SIDNEY_SUBJECT_FUZZY_PENIS3
+score T_SIDNEY_SUBJECT_FUZZY_PENIS3 0.01
+
+# based on FRT_PENIS1
+header T_SIDNEY_SUBJECT_FUZZY_PENIS4 /<inter SP2><post P2>\b(?!pen\s?is)(?!penny[ ']?s)<P><E><N><I><S>\b/i
+replace_rules T_SIDNEY_SUBJECT_FUZZY_PENIS4
+score T_SIDNEY_SUBJECT_FUZZY_PENIS4 0.01
+
+# what each does different from the other
+meta T_SIDNEY_FUZZYP4NOT3 T_SIDNEY_SUBJECT_FUZZY_PENIS4 && !T_SIDNEY_SUBJECT_FUZZY_PENIS3
+describe T_SIDNEY_FUZZYP4NOT3 Compare rule P4 with P3
+score T_SIDNEY_FUZZYP4NOT3 0.01
+
+meta T_SIDNEY_FUZZYP4NOT2 T_SIDNEY_SUBJECT_FUZZY_PENIS4 && !T_SIDNEY_SUBJECT_FUZZY_PENIS2
+describe T_SIDNEY_FUZZYP4NOT2 Compare rule P4 with P2
+score T_SIDNEY_FUZZYP4NOT2 0.01
+
endif # Mail::SpamAssassin::Plugin::ReplaceTags