Mailing List Archive

svn commit: r226562 - /spamassassin/trunk/rules/70_uribl.cf
Author: hstern
Date: Sat Jul 30 11:34:03 2005
New Revision: 226562

URL: http://svn.apache.org/viewcvs?rev=226562&view=rev
Log:
* 70_uribl.cf
Adding the URIBL.com rules for testing and to gather results for 3.2
rescoring. See bug #4507.

Added:
spamassassin/trunk/rules/70_uribl.cf

Added: spamassassin/trunk/rules/70_uribl.cf
URL: http://svn.apache.org/viewcvs/spamassassin/trunk/rules/70_uribl.cf?rev=226562&view=auto
==============================================================================
--- spamassassin/trunk/rules/70_uribl.cf (added)
+++ spamassassin/trunk/rules/70_uribl.cf Sat Jul 30 11:34:03 2005
@@ -0,0 +1,48 @@
+# SpamAssassin - URIBL.com URIDNSBL rules
+#
+# Please don't modify this file as your changes will be overwritten with
+# the next update. Use @@LOCAL_RULES_DIR@@/local.cf instead.
+# See 'perldoc Mail::SpamAssassin::Conf' for details.
+#
+# <@LICENSE>
+# Copyright 2005 Apache Software Foundation
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+# </@LICENSE>
+
+# Requires the Mail::SpamAssassin::Plugin::URIDNSBL plugin be loaded.
+# Note that this plugin defines a new config setting, 'uridnsbl',
+# which lists the zones to look up in advance. The rules will
+# not hit unless each rule has a corresponding 'uridnsbl' line.
+
+ifplugin Mail::SpamAssassin::Plugin::URIDNSBL
+
+urirhssub URIBL_BLACK multi.uribl.com. A 2
+body URIBL_BLACK eval:check_uridnsbl('URIBL_BLACK')
+describe URIBL_BLACK Contains an URL listed in the URIBL blacklist
+tflags URIBL_BLACK net
+score URIBL_BLACK 3.0
+
+urirhssub URIBL_GREY multi.uribl.com. A 4
+body URIBL_GREY eval:check_uridnsbl('URIBL_GREY')
+describe URIBL_GREY Contains an URL listed in the URIBL greylist
+tflags URIBL_GREY net
+score URIBL_GREY 1.0
+
+urirhssub URIBL_RED multi.uribl.com. A 8
+body URIBL_RED eval:check_uridnsbl('URIBL_RED')
+describe URIBL_RED Contains an URL listed in the URIBL redlist
+tflags URIBL_RED net
+score URIBL_RED 1.0
+
+endif # Mail::SpamAssassin::Plugin::URIDNSBL