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 2012/10/28 19:37:02 UTC
svn commit: r1403067 -
/spamassassin/trunk/rulesrc/sandbox/felicity/70_phishing.cf
Author: jhardin
Date: Sun Oct 28 18:37:02 2012
New Revision: 1403067
URL: http://svn.apache.org/viewvc?rev=1403067&view=rev
Log:
Split some scored rules into subrule + scored-meta sets to allow their use in other scored meta rules even if the perform poorly on their own; minor tweaking of __TVD_PH_BODY_ACCOUNTS_POST
Modified:
spamassassin/trunk/rulesrc/sandbox/felicity/70_phishing.cf
Modified: spamassassin/trunk/rulesrc/sandbox/felicity/70_phishing.cf
URL: http://svn.apache.org/viewvc/spamassassin/trunk/rulesrc/sandbox/felicity/70_phishing.cf?rev=1403067&r1=1403066&r2=1403067&view=diff
==============================================================================
--- spamassassin/trunk/rulesrc/sandbox/felicity/70_phishing.cf (original)
+++ spamassassin/trunk/rulesrc/sandbox/felicity/70_phishing.cf Sun Oct 28 18:37:02 2012
@@ -111,7 +111,7 @@ header __TVD_PH_SUBJ_ACCOUNTS_PRE Subjec
header __TVD_PH_SUBJ_SEC_MEASURES Subject =~ /\bsecurity (?:[a-z_,-]+ )*?measures?\b/i
header __TVD_PH_SUBJ_UPDATE Subject =~ /\bupdate (?:[a-z_,-]+ )*?(?:access|credit|records?|info(?:rmation)?)\b/i
header __TVD_PH_SUBJ_URGENT Subject =~ /^urgent(?:[\s\W]*$|.{1,40}(?:alert|response|assistance|proposal|reply|warning|noti(?:ce|fication)|greeting|matter))/i
-header __TVD_PH_SUBJ_ACCOUNTS_POST Subject =~ /\b(?:(?:re-?)?activat[a-z]*|secure|verify|restore|flagged|limited|unusual|update|report|notif(?:y|ication)|suspen(?:d|ded|sion)|co(?:n|m)firm[a-z]*) (?:[a-z_,-]+ )*?accounts?\b/i
+header __TVD_PH_SUBJ_ACCOUNTS_POST Subject =~ /\b(?:(?:re-?)?(?:activat[a-z]*|verify|validate)|secure|restore|flagged|limited|unusual|update|report|notif(?:y|ication)|suspen(?:d|ded|sion)|co(?:n|m)firm[a-z]*) (?:[-a-z_,]+ )*?accounts?\b/i
#REMOVED TVD_PH_SUBJ_META_ALL
@@ -125,7 +125,8 @@ describe TVD_PH_SUBJ_META1 Email has a
# Look for lesser matched REs and meta them together
# 0.251 0.3023 0.0000 1.000 1.00 0.01 T_TVD_PH_SUBJ_META
-meta TVD_PH_SUBJ_META __TVD_PH_SUBJ_00 || __TVD_PH_SUBJ_02 || __TVD_PH_SUBJ_04 || __TVD_PH_SUBJ_15 || __TVD_PH_SUBJ_17 || __TVD_PH_SUBJ_18 || __TVD_PH_SUBJ_19 || __TVD_PH_SUBJ_29 || __TVD_PH_SUBJ_31 || __TVD_PH_SUBJ_36 || __TVD_PH_SUBJ_37 || __TVD_PH_SUBJ_38 || __TVD_PH_SUBJ_39 || __TVD_PH_SUBJ_41 || __TVD_PH_SUBJ_52 || __TVD_PH_SUBJ_54 || __TVD_PH_SUBJ_56 || __TVD_PH_SUBJ_58 || __TVD_PH_SUBJ_59 || __TVD_PH_SUBJ_ACCESS_POST
+meta __TVD_PH_SUBJ_META __TVD_PH_SUBJ_00 || __TVD_PH_SUBJ_02 || __TVD_PH_SUBJ_04 || __TVD_PH_SUBJ_15 || __TVD_PH_SUBJ_17 || __TVD_PH_SUBJ_18 || __TVD_PH_SUBJ_19 || __TVD_PH_SUBJ_29 || __TVD_PH_SUBJ_31 || __TVD_PH_SUBJ_36 || __TVD_PH_SUBJ_37 || __TVD_PH_SUBJ_38 || __TVD_PH_SUBJ_39 || __TVD_PH_SUBJ_41 || __TVD_PH_SUBJ_52 || __TVD_PH_SUBJ_54 || __TVD_PH_SUBJ_56 || __TVD_PH_SUBJ_58 || __TVD_PH_SUBJ_59 || __TVD_PH_SUBJ_ACCESS_POST
+meta TVD_PH_SUBJ_META __TVD_PH_SUBJ_META
header __TVD_PH_SUBJ_00 Subject =~ /\brewards? survey\b/i
@@ -151,8 +152,9 @@ header __TVD_PH_SUBJ_ACCESS_POST Subject
########################################################################
-meta TVD_PH_BODY_META __TVD_PH_BODY_01 || __TVD_PH_BODY_02 || __TVD_PH_BODY_03 || __TVD_PH_BODY_04 || __TVD_PH_BODY_05 || __TVD_PH_BODY_06 || __TVD_PH_BODY_07 || __TVD_PH_BODY_08
-meta TVD_PH_BODY_META_ALL TVD_PH_BODY_META || TVD_PH_BODY_ACCOUNTS_PRE || TVD_PH_BODY_ACCOUNTS_POST
+meta __TVD_PH_BODY_META __TVD_PH_BODY_01 || __TVD_PH_BODY_02 || __TVD_PH_BODY_03 || __TVD_PH_BODY_04 || __TVD_PH_BODY_05 || __TVD_PH_BODY_06 || __TVD_PH_BODY_07 || __TVD_PH_BODY_08
+meta TVD_PH_BODY_META __TVD_PH_BODY_META
+meta TVD_PH_BODY_META_ALL __TVD_PH_BODY_META || __TVD_PH_BODY_ACCOUNTS_PRE || __TVD_PH_BODY_ACCOUNTS_POST
body __TVD_PH_BODY_01 /\baccount .{0,20}placed? [io]n restricted status/i
body __TVD_PH_BODY_02 /\brecords (?:[a-z_,-]+ )+?(?:feature|(?:a|re)ward)/i
body __TVD_PH_BODY_03 /\byou(?:'ve| have) been (?:[a-z_,-]+ )+?payment/i
@@ -162,5 +164,10 @@ body __TVD_PH_BODY_06 /Dear [a-z]+ bank
body __TVD_PH_BODY_07 /\bguarantee the safety of your (?:[a-z_,-]+ )*?account/i
body __TVD_PH_BODY_08 /\bmultiple password failures/i
-body TVD_PH_BODY_ACCOUNTS_PRE /\baccounts? (?:[a-z_,-]+ )+?(?:record[a-z]*|suspen[a-z]+|notif(?:y|ication)|updated|verifications?|credited)\b/i
-body TVD_PH_BODY_ACCOUNTS_POST /\b(?:(?:re-?)?activat[a-z]*|(?:re-?)?validate|secure|restore|confirm|update|suspend) (?!your)(?:[a-z_,-]+ )+?accounts?\b/i
+body __TVD_PH_BODY_ACCOUNTS_PRE /\baccounts? (?:[a-z_,-]+ )+?(?:record[a-z]*|suspen[a-z]+|notif(?:y|ication)|updated|verifications?|credited)\b/i
+meta TVD_PH_BODY_ACCOUNTS_PRE __TVD_PH_BODY_ACCOUNTS_PRE
+body __TVD_PH_BODY_ACCOUNTS_POST /\b(?:(?:re-?)?activat[a-z]*|(?:re-?)?validate|secure|restore|confirm|update|suspend) (?!your)(?:[a-z_,-]+ )+?accounts?\b/i
+meta TVD_PH_BODY_ACCOUNTS_POST __TVD_PH_BODY_ACCOUNTS_POST
+
+
+