You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spamassassin.apache.org by mm...@apache.org on 2009/06/29 20:22:50 UTC

svn commit: r789404 - in /spamassassin/trunk/rules: 25_dcc.cf 50_scores.cf

Author: mmartinec
Date: Mon Jun 29 18:22:50 2009
New Revision: 789404

URL: http://svn.apache.org/viewvc?rev=789404&view=rev
Log:
rules/25_dcc.cf, rules/50_scores.cf: added DCC reputation rules
(supported by current DCC plugin /since r615306, 2008-01-25/),
contributed by Michael Scheidell

Modified:
    spamassassin/trunk/rules/25_dcc.cf
    spamassassin/trunk/rules/50_scores.cf

Modified: spamassassin/trunk/rules/25_dcc.cf
URL: http://svn.apache.org/viewvc/spamassassin/trunk/rules/25_dcc.cf?rev=789404&r1=789403&r2=789404&view=diff
==============================================================================
--- spamassassin/trunk/rules/25_dcc.cf (original)
+++ spamassassin/trunk/rules/25_dcc.cf Mon Jun 29 18:22:50 2009
@@ -25,9 +25,34 @@
 
 ifplugin Mail::SpamAssassin::Plugin::DCC
 
-full DCC_CHECK		eval:check_dcc()
+full     DCC_CHECK	eval:check_dcc()
 describe DCC_CHECK	Listed in DCC (http://rhyolite.com/anti-spam/dcc/)
-tflags DCC_CHECK	net
-reuse  DCC_CHECK
+tflags   DCC_CHECK	net
+reuse    DCC_CHECK
+
+
+# to receive reputation data from DCC servers requires a commercial license
+full     DCC_REPUT_00_12  eval:check_dcc_reputation_range(00,12)
+describe DCC_REPUT_00_12  DCC reputation between 0 and 12 %  (mostly ham)
+tflags   DCC_REPUT_00_12  nice net noautolearn
+
+full     DCC_REPUT_13_19  eval:check_dcc_reputation_range(13,19)
+tflags   DCC_REPUT_13_19  net nice
+
+full     DCC_REPUT_70_89  eval:check_dcc_reputation_range(70,89)
+describe DCC_REPUT_70_89  DCC reputation between 70 and 89 %
+tflags   DCC_REPUT_70_89  net
+
+full     DCC_REPUT_90_94  eval:check_dcc_reputation_range(90,94)
+describe DCC_REPUT_90_94  DCC reputation between 90 and 94 %
+tflags   DCC_REPUT_90_94  net
+
+full     DCC_REPUT_95_98  eval:check_dcc_reputation_range(95,98)
+describe DCC_REPUT_95_98  DCC reputation between 95 and 98 %  (mostly spam)
+tflags   DCC_REPUT_95_98  net
+
+full     DCC_REPUT_99_100 eval:check_dcc_reputation_range(99)
+describe DCC_REPUT_99_100 DCC reputation between 99 % or higher (spam)
+tflags   DCC_REPUT_99_100 net
 
 endif

Modified: spamassassin/trunk/rules/50_scores.cf
URL: http://svn.apache.org/viewvc/spamassassin/trunk/rules/50_scores.cf?rev=789404&r1=789403&r2=789404&view=diff
==============================================================================
--- spamassassin/trunk/rules/50_scores.cf (original)
+++ spamassassin/trunk/rules/50_scores.cf Mon Jun 29 18:22:50 2009
@@ -1015,7 +1015,13 @@
 
 # DCC
 ifplugin Mail::SpamAssassin::Plugin::DCC
-score DCC_CHECK 0 1.37 0 2.17
+score DCC_CHECK        0  1.37 0  2.17
+score DCC_REPUT_00_12  0 -0.4  0 -0.5
+score DCC_REPUT_13_19  0 -0.2  0 -0.2
+score DCC_REPUT_70_89  0  0.3  0  0.5
+score DCC_REPUT_90_94  0  0.4  0  0.8
+score DCC_REPUT_95_98  0  0.6  0  1.2
+score DCC_REPUT_99_100 0  0.8  0  1.6
 endif # Mail::SpamAssassin::Plugin::DCC
 
 # Pyzor