You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spamassassin.apache.org by jh...@apache.org on 2013/02/16 20:10:01 UTC
svn commit: r1446924 -
/spamassassin/trunk/rulesrc/sandbox/jhardin/20_misc_testing.cf
Author: jhardin
Date: Sat Feb 16 19:10:00 2013
New Revision: 1446924
URL: http://svn.apache.org/r1446924
Log:
More FP avoidance
Modified:
spamassassin/trunk/rulesrc/sandbox/jhardin/20_misc_testing.cf
Modified: spamassassin/trunk/rulesrc/sandbox/jhardin/20_misc_testing.cf
URL: http://svn.apache.org/viewvc/spamassassin/trunk/rulesrc/sandbox/jhardin/20_misc_testing.cf?rev=1446924&r1=1446923&r2=1446924&view=diff
==============================================================================
--- spamassassin/trunk/rulesrc/sandbox/jhardin/20_misc_testing.cf (original)
+++ spamassassin/trunk/rulesrc/sandbox/jhardin/20_misc_testing.cf Sat Feb 16 19:10:00 2013
@@ -926,8 +926,8 @@ describe ACH_CANCELLED "ACH
# spams from users list query 03/2012
# Not useful as scored rules, may be useful meta'd with something else
uri __URI_DBL_SUBDOM m,^https?://(?!www\.amazon\.com)([^/]+)/.*https?://(?:[^.]+\.)?\1/,i
-meta URI_DBL_SUBDOM __URI_DBL_SUBDOM && !__NOT_A_PERSON && !__BUGGED_IMG && !__COMMENT_EXISTS && !__SUBSCRIPTION_INFO && !__UNSUB_LINK && !__MSGID_JAVAMAIL && !__RP_MATCHES_RCVD && !__FROM_LOWER
-score URI_DBL_SUBDOM 2.50 # limit
+meta URI_DBL_SUBDOM __URI_DBL_SUBDOM && !__NOT_A_PERSON && !__BUGGED_IMG && !__COMMENT_EXISTS && !__SUBSCRIPTION_INFO && !__UNSUB_LINK && !__MSGID_JAVAMAIL && !__RP_MATCHES_RCVD && !__FROM_LOWER && !__HAS_ERRORS_TO && !__NOT_SPOOFED && !__TO_EQ_FROM_DOM
+score URI_DBL_SUBDOM 1.00 # limit
uri __URI_DBL_DOM m,^https?://[^.]+\.(?!amazon\.com)([^/]+)/.*https?://[^.]+\.\1/,i
uri __URI_DBL_INDIR m,(?:=https?://(?!www\.amazon\.com).*?){2},i
@@ -1071,7 +1071,7 @@ body __BODY_TEXT_LINE /^\s*\S
tflags __BODY_TEXT_LINE multiple maxhits=3
meta __EMPTY_BODY __BODY_TEXT_LINE < 2
# this hits 13% of masscheck corpus spam, 50% of that only scores 2 points
-meta EMPTY_BODY __EMPTY_BODY && !__NUMBERS_IN_SUBJ && !__CTE && !__RP_MATCHES_RCVD && !__VIA_ML && !__MIME_ATTACHMENT && !__HAS_THREAD_INDEX && !__TO_EQ_FROM_DOM && !__ENV_AND_HDR_FROM_MATCH && !__FROM_LOWER && !__NOT_SPOOFED && !__MSGID_APPLEMAIL && !__RCD_RDNS_MAIL_MESSY && !NO_RELAYS
+meta EMPTY_BODY __EMPTY_BODY && !__NUMBERS_IN_SUBJ && !__CTE && !__RP_MATCHES_RCVD && !__VIA_ML && !__MIME_ATTACHMENT && !__HAS_THREAD_INDEX && !__TO_EQ_FROM_DOM && !__ENV_AND_HDR_FROM_MATCH && !__FROM_LOWER && !__NOT_SPOOFED && !__MSGID_APPLEMAIL && !__RCD_RDNS_MAIL_MESSY && !NO_RELAYS && !__NOT_A_PERSON
describe EMPTY_BODY No body text in message
score EMPTY_BODY 3.00 # limit