You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spamassassin.apache.org by km...@apache.org on 2011/12/13 21:56:51 UTC

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

Author: kmcgrail
Date: Tue Dec 13 20:56:50 2011
New Revision: 1213921

URL: http://svn.apache.org/viewvc?rev=1213921&view=rev
Log:
Implementation of a proposed Block Notification Rule for URIBL using bit 1 - Bug 6724

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=1213921&r1=1213920&r2=1213921&view=diff
==============================================================================
--- spamassassin/trunk/rules/25_uribl.cf (original)
+++ spamassassin/trunk/rules/25_uribl.cf Tue Dec 13 20:56:50 2011
@@ -119,6 +119,12 @@ describe        URIBL_RED       Contains
 tflags          URIBL_RED       net
 reuse           URIBL_RED
 
+#URIBL BLOCK RULES - Bit 1 means your DNS has been blocked and this rule should be triggered to notify you.
+urirhssub       URIBL_BLOCKED   multi.uribl.com.        A   1
+body            URIBL_BLOCKED   eval:check_uridnsbl('URIBL_BLOCKED')
+describe        URIBL_BLOCKED   ADMINISTRATOR NOTICE: The query to URIBL was blocked.  See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information.
+tflags          URIBL_BLOCKED   nice net noautolearn
+
 ###########################################################################
 ## DOMAINS TO SKIP (KNOWN GOOD)
 

Modified: spamassassin/trunk/rules/50_scores.cf
URL: http://svn.apache.org/viewvc/spamassassin/trunk/rules/50_scores.cf?rev=1213921&r1=1213920&r2=1213921&view=diff
==============================================================================
--- spamassassin/trunk/rules/50_scores.cf (original)
+++ spamassassin/trunk/rules/50_scores.cf Tue Dec 13 20:56:50 2011
@@ -770,6 +770,10 @@ score RCVD_IN_DNSWL_LOW 0
 score RCVD_IN_DNSWL_MED 0
 score RCVD_IN_DNSWL_HI 0
 
+#BUG 6724 TO ENABLE BLOCK NOTICES FOR BLs
+#score RCVD_IN_DNSWL_BLOCKED 0.001
+score URIBL_BLOCKED 0.001
+
 # IADB
 score RCVD_IN_IADB_VOUCHED 0 -2.2 0 -2.2
 score RCVD_IN_IADB_DOPTIN 0 -4 0 -4