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 2011/10/28 21:12:55 UTC

svn commit: r1190507 - in /spamassassin/trunk/rules: 25_uribl.cf 50_scores.cf

Author: mmartinec
Date: Fri Oct 28 19:12:55 2011
New Revision: 1190507

URL: http://svn.apache.org/viewvc?rev=1190507&view=rev
Log:
Bug 6550: Add DBL spammed redirector - rule URIBL_DBL_REDIR

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

Modified: spamassassin/trunk/rules/25_uribl.cf
URL: http://svn.apache.org/viewvc/spamassassin/trunk/rules/25_uribl.cf?rev=1190507&r1=1190506&r2=1190507&view=diff
==============================================================================
--- spamassassin/trunk/rules/25_uribl.cf (original)
+++ spamassassin/trunk/rules/25_uribl.cf Fri Oct 28 19:12:55 2011
@@ -46,6 +46,11 @@ body            URIBL_DBL_SPAM   eval:ch
 describe        URIBL_DBL_SPAM   Contains an URL listed in the DBL blocklist
 tflags          URIBL_DBL_SPAM   net domains_only
 
+urirhssub       URIBL_DBL_REDIR  dbl.spamhaus.org.       A   127.0.1.3
+body            URIBL_DBL_REDIR  eval:check_uridnsbl('URIBL_DBL_REDIRECTOR')
+describe        URIBL_DBL_REDIR  Contains a URL listed in the DBL as a spammed redirector domain
+tflags          URIBL_DBL_REDIR  net domains_only
+
 # this indicates that IP-address queries were sent to DBL, and should
 # never appear; if it does, something is wrong with SpamAssassin
 urirhssub       URIBL_DBL_ERROR  dbl.spamhaus.org.       A   127.0.1.255

Modified: spamassassin/trunk/rules/50_scores.cf
URL: http://svn.apache.org/viewvc/spamassassin/trunk/rules/50_scores.cf?rev=1190507&r1=1190506&r2=1190507&view=diff
==============================================================================
--- spamassassin/trunk/rules/50_scores.cf (original)
+++ spamassassin/trunk/rules/50_scores.cf Fri Oct 28 19:12:55 2011
@@ -1025,6 +1025,7 @@ score URIBL_WS_SURBL 0 1.659 0 1.608 # n
 score URIBL_BLACK 0 1.775 0 1.725 # n=0 n=2
 score URIBL_GREY 0 1.084 0 0.424 # n=0 n=2
 score URIBL_DBL_SPAM 0 1.7 0 1.7
+score URIBL_DBL_REDIR 0 0.001 0 0.001
 # </gen:mutable>
 # score URIBL_GREY 0.25
 score URIBL_RED 0.001