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 2007/02/08 14:59:20 UTC

svn commit: r504903 - in /spamassassin/rules/trunk/sandbox: dos/70_other.cf emailed/99_alex_dev.cf emailed/99_alex_test.cf felicity/70_dnswl.cf fredt/99_zFVGT_FakeReply.cf jm/20_basic.cf kmcgrail/20_number.cf kmcgrail/20_urunit.cf kmcgrail/70_phishing.cf

Author: jm
Date: Thu Feb  8 05:59:19 2007
New Revision: 504903

URL: http://svn.apache.org/viewvc?view=rev&rev=504903
Log:
lots more commenting of score lines, let the perceptron think about it

Modified:
    spamassassin/rules/trunk/sandbox/dos/70_other.cf
    spamassassin/rules/trunk/sandbox/emailed/99_alex_dev.cf
    spamassassin/rules/trunk/sandbox/emailed/99_alex_test.cf
    spamassassin/rules/trunk/sandbox/felicity/70_dnswl.cf
    spamassassin/rules/trunk/sandbox/fredt/99_zFVGT_FakeReply.cf
    spamassassin/rules/trunk/sandbox/jm/20_basic.cf
    spamassassin/rules/trunk/sandbox/kmcgrail/20_number.cf
    spamassassin/rules/trunk/sandbox/kmcgrail/20_urunit.cf
    spamassassin/rules/trunk/sandbox/kmcgrail/70_phishing.cf

Modified: spamassassin/rules/trunk/sandbox/dos/70_other.cf
URL: http://svn.apache.org/viewvc/spamassassin/rules/trunk/sandbox/dos/70_other.cf?view=diff&rev=504903&r1=504902&r2=504903
==============================================================================
--- spamassassin/rules/trunk/sandbox/dos/70_other.cf (original)
+++ spamassassin/rules/trunk/sandbox/dos/70_other.cf Thu Feb  8 05:59:19 2007
@@ -109,14 +109,14 @@
 meta DOS_TO_READ_STOCK		(__DOS_HAVE_TO_READ || __DOS_REQ_TO_READ) + __DOS_TOLD_DAY + __DOS_OIL_EXCEED + __DOS_DEAL_MAKE_MONEY + __DOS_GREAT_DRAWN_UP + __DOS_KEY_GET_IN_EARLY + __DOS_INCREASE_UP + __DOS_WASTE_TIME_MISS + __DOS_NO_STOPPING > 4
 
 describe DOS_TO_READ_STOCK	Stock pumping you just have to read
-score DOS_TO_READ_STOCK		2.0
+## score DOS_TO_READ_STOCK		2.0
 
 
 # text messages from my phone to email addresses often end up with a score of 4.9+
 header		__BELL_MOBILITY_RELAY	X-Spam-Relays-Untrusted =~ /^[^\]]+ rdns=mail\.txt\.bellmobilite\.ca helo=erwdbmgweb02\.bellmobilite\.ca /
 meta		BELL_MOBILITY_TXT_MSG	INVALID_DATE && MISSING_SUBJECT && FROM_STARTS_WITH_NUMS && __BELL_MOBILITY_RELAY
 describe	BELL_MOBILITY_TXT_MSG	Adjustment for poorly formatted text->email messages
-score		BELL_MOBILITY_TXT_MSG	-4.0
+## score		BELL_MOBILITY_TXT_MSG	-4.0
 
 
 # <pu...@rfidalliancelabs.com>
@@ -164,6 +164,6 @@
 # http://www.rx555*com
 uri DOS_URI_ASTERISK    m{^[Hh][Tt]{2}[Pp][Ss]?://[^/:]+(?:\*[A-Za-z0-9-]*\.|\*)[A-Za-z]{2,3}(?:\.[A-Za-z]{2})?(?:$|:|/)}
 describe DOS_URI_ASTERISK       Found an asterisk in a URI
-score DOS_URI_ASTERISK  1.5
+## score DOS_URI_ASTERISK  1.5
 
 

Modified: spamassassin/rules/trunk/sandbox/emailed/99_alex_dev.cf
URL: http://svn.apache.org/viewvc/spamassassin/rules/trunk/sandbox/emailed/99_alex_dev.cf?view=diff&rev=504903&r1=504902&r2=504903
==============================================================================
--- spamassassin/rules/trunk/sandbox/emailed/99_alex_dev.cf (original)
+++ spamassassin/rules/trunk/sandbox/emailed/99_alex_dev.cf Thu Feb  8 05:59:19 2007
@@ -1,16 +1,16 @@
 
 header     AXB_XMID_1510    Message-Id =~ /<[0-9A-F]{15}\.[0-9A-F]{10}\@/
-score      AXB_XMID_1510    1.0
+## score      AXB_XMID_1510    1.0
 #counts    AXB_XMID_1510            10s/0h of 98258 corpus (93666s/4592h AxB2) 11/28/06
 
 
 header    AXB_XMID_1212   Message-Id =~ /^<[0-9]{12}\.[0-9]{12}\@/
-score     AXB_XMID_1212   1.0
+## score     AXB_XMID_1212   1.0
 # counts  AXB_XMID_1212            63s/0h of 98258 corpus (93666s/4592h AxB2) 11/28/06
 
 
 header    AXB_XMID_OEGOESNULL     Message-ID =~ /^<[0-9-a-f]{12}\$[0-9-a-f]{8}\$[0]{8}\@/
-score     AXB_XMID_OEGOESNULL     1.0
+## score     AXB_XMID_OEGOESNULL     1.0
 #counts   AXB_XMID_OEGOESNULL      14476s/0h of 98258 corpus (93666s/4592h AxB2) 11/28/06
 
 

Modified: spamassassin/rules/trunk/sandbox/emailed/99_alex_test.cf
URL: http://svn.apache.org/viewvc/spamassassin/rules/trunk/sandbox/emailed/99_alex_test.cf?view=diff&rev=504903&r1=504902&r2=504903
==============================================================================
--- spamassassin/rules/trunk/sandbox/emailed/99_alex_test.cf (original)
+++ spamassassin/rules/trunk/sandbox/emailed/99_alex_test.cf Thu Feb  8 05:59:19 2007
@@ -2,5 +2,5 @@
 # testing rules for Alex B
 
 header  AXB_XR_STULDAP     Received =~ /\(8\.12\.3 da nor stuldap\/8\.12\.3\)/
-score   AXB_XR_STULDAP     1.0
+## score   AXB_XR_STULDAP     1.0
 

Modified: spamassassin/rules/trunk/sandbox/felicity/70_dnswl.cf
URL: http://svn.apache.org/viewvc/spamassassin/rules/trunk/sandbox/felicity/70_dnswl.cf?view=diff&rev=504903&r1=504902&r2=504903
==============================================================================
--- spamassassin/rules/trunk/sandbox/felicity/70_dnswl.cf (original)
+++ spamassassin/rules/trunk/sandbox/felicity/70_dnswl.cf Thu Feb  8 05:59:19 2007
@@ -44,9 +44,9 @@
 describe RCVD_IN_DNSWL_HI	Sender listed at http://www.dnswl.org/, high trust
 tflags RCVD_IN_DNSWL_HI		nice net
 
-score RCVD_IN_DNSWL_LOW		-1
-score RCVD_IN_DNSWL_MED		-4
-score RCVD_IN_DNSWL_HI		-8
+## score RCVD_IN_DNSWL_LOW		-1
+## score RCVD_IN_DNSWL_MED		-4
+## score RCVD_IN_DNSWL_HI		-8
 
 #reuse RCVD_IN_DNSWL_LOW
 #reuse RCVD_IN_DNSWL_MED

Modified: spamassassin/rules/trunk/sandbox/fredt/99_zFVGT_FakeReply.cf
URL: http://svn.apache.org/viewvc/spamassassin/rules/trunk/sandbox/fredt/99_zFVGT_FakeReply.cf?view=diff&rev=504903&r1=504902&r2=504903
==============================================================================
--- spamassassin/rules/trunk/sandbox/fredt/99_zFVGT_FakeReply.cf (original)
+++ spamassassin/rules/trunk/sandbox/fredt/99_zFVGT_FakeReply.cf Thu Feb  8 05:59:19 2007
@@ -25,12 +25,12 @@
 
 meta     NICE_REPLY_A		(__SUBJ_RE && !__MISSING_REPLY && !__MISSING_REF && __BOTH_INR_AND_REF)
 describe NICE_REPLY_A		Looks like a legit relpy (A)
-score    NICE_REPLY_A		-0.444
+## score    NICE_REPLY_A		-0.444
 #counts   NICE_REPLY_A             0s/45h of 43776 corpus (34010s/9766h FVGT) 11/29/06
 
 
 meta     FAKE_REPLY_A1		(__SUBJ_RE && __MISSING_REPLY && __MISSING_REF && __BOTH_INR_AND_REF)
-score    FAKE_REPLY_A1		0.972
+## score    FAKE_REPLY_A1		0.972
 #counts   FAKE_REPLY_A1            75s/0h of 43776 corpus (34010s/9766h FVGT) 11/29/06
 
 
@@ -61,17 +61,17 @@
 meta     __INR_AND_NO_REF	(__XM_IMAIL || __XM_APPLEMAIL || __XM_COMMUNIG || __XM_EDMAX || __XM_ELM || __XM_EMUMAIL || __XM_EXMH || __XM_LOTUSN || __XM_MAILCITY || __XM_MAILSMITH || __XM_MSCDO || __XM_MSOUT || __XM_MIMETOOLS || __XM_OPERA6 || __XM_PEGASUS || __XM_QUALCOM || __UA_IMP || __UA_MSOEMAC || __UA_MSENTOUR || __UA_OPERA7)
 
 meta     NICE_REPLY_B		(__SUBJ_RE && !__MISSING_REPLY && __MISSING_REF && __INR_AND_NO_REF)
-score    NICE_REPLY_B		-0.333
+## score    NICE_REPLY_B		-0.333
 #counts   NICE_REPLY_B             1s/156h of 43776 corpus (34010s/9766h FVGT) 11/29/06
 
 meta     FAKE_REPLY_B		(__SUBJ_RE && __MISSING_REPLY && __INR_AND_NO_REF)
-score    FAKE_REPLY_B		0.001
+## score    FAKE_REPLY_B		0.001
 #counts   FAKE_REPLY_B             8s/18h of 43776 corpus (34010s/9766h FVGT) 11/29/06
 
 #test validity of claims
 #This should hit nothing, according to claim, they always lack references, this would claim they have one!
 meta     TEST_REPLY_B		(__SUBJ_RE && !__MISSING_REF && __INR_AND_NO_REF)
-score    TEST_REPLY_B		0.001
+## score    TEST_REPLY_B		0.001
 #counts   TEST_REPLY_B             4s/26h of 43776 corpus (34010s/9766h FVGT) 11/29/06
 
 
@@ -94,16 +94,16 @@
 meta     __NO_INR_YES_REF	(__XM_GNUS || __XM_MSOE5 || __XM_MSOE6 || __XM_MOZ4 || __XM_SKYRI || __XM_WWWMAIL || __UA_GNUS || __UA_KNODE || __UA_MUTT || __UA_PAN || __UA_XNEWS)
 
 meta     NICE_REPLY_C		(__SUBJ_RE && __MISSING_REPLY && !__MISSING_REF && __NO_INR_YES_REF)
-score    NICE_REPLY_C		-0.444
+## score    NICE_REPLY_C		-0.444
 #counts   NICE_REPLY_C             3s/544h of 43776 corpus (34010s/9766h FVGT) 11/29/06
 
 meta     FAKE_REPLY_C		(__SUBJ_RE && __MISSING_REF && __NO_INR_YES_REF)
-score    FAKE_REPLY_C		1.666
+## score    FAKE_REPLY_C		1.666
 #counts   FAKE_REPLY_C             7896s/6h of 43776 corpus (34010s/9766h FVGT) 11/29/06
 
 #test to ensure they don't contain a reply-to address.
 meta     TEST_REPLY_C		(__SUBJ_RE && !__MISSING_REPLY && __NO_INR_YES_REF)
-score    TEST_REPLY_C		0.001
+## score    TEST_REPLY_C		0.001
 #counts   TEST_REPLY_C             0s/4h of 43776 corpus (34010s/9766h FVGT) 11/29/06
 
 
@@ -130,11 +130,11 @@
 
 
 meta     FAKE_REPLY_SURE_A	(__SUBJ_RE && (!FAKE_REPLY_A && !FAKE_REPLY_A1 && !FAKE_REPLY_A2 && !FAKE_REPLY_B && !FAKE_REPLY_C) && (!NICE_REPLY_A && !NICE_REPLY_B && !NICE_REPLY_C) && !__BROKE_MUAS && __MISSING_THREAD)
-score    FAKE_REPLY_SURE_A	0.001
+## score    FAKE_REPLY_SURE_A	0.001
 #counts   FAKE_REPLY_SURE_A        468s/823h of 43776 corpus (34010s/9766h FVGT) 11/29/06
 
 meta     FAKE_REPLY_SURE_B	(__SUBJ_RE && (!FAKE_REPLY_A && !FAKE_REPLY_A1 && !FAKE_REPLY_A2 && !FAKE_REPLY_B && !FAKE_REPLY_C) && (!NICE_REPLY_A && !NICE_REPLY_B && !NICE_REPLY_C) && !__BROKE_MUAS)
-score    FAKE_REPLY_SURE_B	0.001
+## score    FAKE_REPLY_SURE_B	0.001
 #counts   FAKE_REPLY_SURE_B        552s/969h of 43776 corpus (34010s/9766h FVGT) 11/29/06
 
 
@@ -183,4 +183,4 @@
 
 
 
-#EOF
\ No newline at end of file
+#EOF

Modified: spamassassin/rules/trunk/sandbox/jm/20_basic.cf
URL: http://svn.apache.org/viewvc/spamassassin/rules/trunk/sandbox/jm/20_basic.cf?view=diff&rev=504903&r1=504902&r2=504903
==============================================================================
--- spamassassin/rules/trunk/sandbox/jm/20_basic.cf (original)
+++ spamassassin/rules/trunk/sandbox/jm/20_basic.cf Thu Feb  8 05:59:19 2007
@@ -5,7 +5,7 @@
 # they're still working well.
 
 header MID_DEGREES  Message-ID =~ /^<\d{14}\.[A-F0-9]{10}\@[A-Z0-9]+>$/
-score MID_DEGREES   3
+## score MID_DEGREES   3
 
 uri URI_L_PHP   /\/l\.php\?\d/
 
@@ -19,7 +19,7 @@
 # pretty good; less FPs than AXB_FAKETZ, however, same FP level but less 0.01%
 # less hits than GMD_FAKETZ, so that's still better
 header L_SPAM_TOOL_13   Date =~ /\s[+-]\d(?![2358]45)\d[124-9]\d$/
-score  L_SPAM_TOOL_13   3.0
+## score  L_SPAM_TOOL_13   3.0
 
 # broken spamware sending spam with headers in the body
 body BROKEN_RATWARE_BOM     /^\xEF\xBB\xBFMessage-ID:/
@@ -57,49 +57,49 @@
 
 meta PART_CID_STOCK      (__ANY_IMAGE_ATTACH&&__PART_STOCK_CID&&!__PART_STOCK_CL&&!__PART_STOCK_CD_F)
 describe PART_CID_STOCK  Has a spammy image attachment (by Content-ID)
-score PART_CID_STOCK     2.0
+## score PART_CID_STOCK     2.0
 
 # more specific, 0 ham hits
 mimeheader __PART_CID_STOCK_LESS    Content-ID =~ /^<00[a-f0-9]{10}\$[a-f0-9]{8}\$[a-f0-9]{8}\@[A-Za-z]+>$/
 meta PART_CID_STOCK_LESS (__ANY_IMAGE_ATTACH&&__PART_CID_STOCK_LESS)
 describe PART_CID_STOCK_LESS Has a spammy image attachment (by Content-ID, more specific)
-score PART_CID_STOCK_LESS    2.0
+## score PART_CID_STOCK_LESS    2.0
 
 mimeheader CTYPE_1SPACE_GIF Content-Type:raw =~ /image\/gif;\n name=\".+?\"\s*$/s
 describe CTYPE_1SPACE_GIF   Stock spam image part 'Content-Type' found
-score CTYPE_1SPACE_GIF      1.0
+## score CTYPE_1SPACE_GIF      1.0
 
 endif # Mail::SpamAssassin::Plugin::MIMEHeader
 
 # catches "by jmason.org with esmtp (;4OZ*/H/)>7. 4.2-+*)" gibberish
 header RCVD_FORGED_WROTE    Received =~ / by \S+ with esmtp \([^a-z ]{6,} [^a-z ]{3,}\) id/
 describe RCVD_FORGED_WROTE  Forged 'Received' header found ('wrote:' spam)
-score RCVD_FORGED_WROTE     2.8
+## score RCVD_FORGED_WROTE     2.8
 
 header __MIMEOLE_1106   X-MimeOLE =~ /^Produced By Microsoft MimeOLE V6.00.2800.1106$/
 header __MAILER_OL_5510 X-Mailer =~ /^Microsoft Office Outlook, Build 11.0.5510$/
 meta DRUGS_STOCK_MIMEOLE (__MIMEOLE_1106 && __MAILER_OL_5510)
 describe DRUGS_STOCK_MIMEOLE Stock-spam forged headers found (5510)
-score DRUGS_STOCK_MIMEOLE   2.0
+## score DRUGS_STOCK_MIMEOLE   2.0
 
 # Suresh: 'Finding "mail.com", "post.com" etc in a received header is ALWAYS bogus'
 header RCVD_MAIL_COM        Received =~ /[\s\(\[](?:post|mail)\.com[\s\)\]]/is
 describe RCVD_MAIL_COM      Forged Received header (contains post.com or mail.com)
-score RCVD_MAIL_COM         3.0
+## score RCVD_MAIL_COM         3.0
 
 ifplugin Mail::SpamAssassin::Plugin::MIMEHeader
 mimeheader CTYPE_8SPACE_GIF Content-Type:raw =~ /^image\/gif;\n {8}name=\".+?\"$/s
 describe CTYPE_8SPACE_GIF   Stock spam image part 'Content-Type' found (8 spc)
-score CTYPE_8SPACE_GIF      2.0
+## score CTYPE_8SPACE_GIF      2.0
 endif
 
 header OUTLOOK_3416     X-Mailer =~ /^Microsoft Outlook, Build 10\.0\.3416$/
 describe OUTLOOK_3416   Claims to be sent by an unusual build of Outlook (3416)
-score OUTLOOK_3416      2.0
+## score OUTLOOK_3416      2.0
 
 # this seems to appear with a faked 'Microsoft Office Outlook' X-Mailer
 header MID_14DIGITS_HEX    Message-ID =~ /^<[0-9]{14}\.[A-F0-9]{10}\@[0-9A-Z]+$/
-score MID_14DIGITS_HEX     2.8
+## score MID_14DIGITS_HEX     2.8
 
 header __HELO_NO_DOMAIN   X-Spam-Relays-Untrusted =~ /^[^\]]+ helo=[^\.]+ /
 

Modified: spamassassin/rules/trunk/sandbox/kmcgrail/20_number.cf
URL: http://svn.apache.org/viewvc/spamassassin/rules/trunk/sandbox/kmcgrail/20_number.cf?view=diff&rev=504903&r1=504902&r2=504903
==============================================================================
--- spamassassin/rules/trunk/sandbox/kmcgrail/20_number.cf (original)
+++ spamassassin/rules/trunk/sandbox/kmcgrail/20_number.cf Thu Feb  8 05:59:19 2007
@@ -29,6 +29,6 @@
 header          __KAM_NUMBER3   Message-ID =~ /\<[a-z]{19}\@/i
 meta            KAM_NUMBER      ((__KAM_NUMBER1 + __KAM_NUMBER2 + MIME_HTML_ONLY + HTML_SHORT_LENGTH + __KAM_NUMBER3) >= 5)
 describe        KAM_NUMBER      Silly Number Emails
-score           KAM_NUMBER      1.0
+## score           KAM_NUMBER      1.0
 
 #EOF

Modified: spamassassin/rules/trunk/sandbox/kmcgrail/20_urunit.cf
URL: http://svn.apache.org/viewvc/spamassassin/rules/trunk/sandbox/kmcgrail/20_urunit.cf?view=diff&rev=504903&r1=504902&r2=504903
==============================================================================
--- spamassassin/rules/trunk/sandbox/kmcgrail/20_urunit.cf (original)
+++ spamassassin/rules/trunk/sandbox/kmcgrail/20_urunit.cf Thu Feb  8 05:59:19 2007
@@ -27,13 +27,13 @@
 body            __KAM_URUNIT1   /\bur unit/is
 body            __KAM_URUNIT2   /\bur (?:gf|girl|wife|size|thing|partner|significant other)/is
 body            __KAM_URUNIT3   /(?:unsatisfied|not satisfied|nagging|complaining|complaints|complained)/is
-score           __KAM_URUNIT3   0.5
+## score           __KAM_URUNIT3   0.5
 body            __KAM_URUNIT4   /(?:bedroom|the bed|nighttime activit)/is
-score           __KAM_URUNIT4   0.5
+## score           __KAM_URUNIT4   0.5
 body            __KAM_URUNIT5   /(?:size of (?:there|their|your) .{0,11}(?:unit|thing)|using them for a couple months)/is
-score           __KAM_URUNIT5   0.5
+## score           __KAM_URUNIT5   0.5
 body            __KAM_URUNIT6   /(?:majority of women|shrinking .{0,12} baby fat)/is
-score           __KAM_URUNIT6   0.5
+## score           __KAM_URUNIT6   0.5
 
 header          __KAM_URUNIT7   Subject =~ /(?:\b|^)ur (unit|wife|girlfriend|GF|size|thing|partner|significant other|livelyehood)/i
 header          __KAM_URUNIT8   Subject =~ /(?:pleasure|sensation|grow|your teeny|impress your mate|being small|how big)/i
@@ -41,6 +41,6 @@
 meta            KAM_URUNIT      ((__KAM_URUNIT1 + __KAM_URUNIT2 + __KAM_URUNIT3 + __KAM_URUNIT4 + __KAM_URUNIT5 + __KAM_URUNIT6 + __KAM_URUNIT7 + __KAM_URUNIT8) >= 2)
 
 describe        KAM_URUNIT      Recent penile and body enhancement spams
-score           KAM_URUNIT      2.5
+## score           KAM_URUNIT      2.5
 
 #EOF

Modified: spamassassin/rules/trunk/sandbox/kmcgrail/70_phishing.cf
URL: http://svn.apache.org/viewvc/spamassassin/rules/trunk/sandbox/kmcgrail/70_phishing.cf?view=diff&rev=504903&r1=504902&r2=504903
==============================================================================
--- spamassassin/rules/trunk/sandbox/kmcgrail/70_phishing.cf (original)
+++ spamassassin/rules/trunk/sandbox/kmcgrail/70_phishing.cf Thu Feb  8 05:59:19 2007
@@ -25,6 +25,6 @@
 
 rawbody		KAM_PHISH1 	/u style="cursor: pointer"/
 describe	KAM_PHISH1	Test for PHISH that changes the cursor
-score		KAM_PHISH1	0.01
+## score		KAM_PHISH1	0.01
 
 #EOF