# SpamAssassin - 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 2004 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

# URI-DNSBL lookups can take a *maximum* of this many seconds past the
# normal DNSBL lookups.
uridnsbl_timeout	2

uridnsbl	URIBL_SBL	sbl.spamhaus.org.	TXT
header		URIBL_SBL	eval:check_uridnsbl('URIBL_SBL')
describe	URIBL_SBL	Contains a URL listed in the SBL blocklist
tflags		URIBL_SBL	net

urirhssub       URIBL_SC_SURBL	multi.surbl.org.	A   2
header		URIBL_SC_SURBL	eval:check_uridnsbl('URIBL_SC_SURBL')
describe	URIBL_SC_SURBL	Contains a URL listed in the SC SURBL blocklist
tflags		URIBL_SC_SURBL	net

urirhssub       URIBL_WS_SURBL	multi.surbl.org.	A   4
header		URIBL_WS_SURBL	eval:check_uridnsbl('URIBL_WS_SURBL')
describe	URIBL_WS_SURBL	Contains a URL listed in the WS SURBL blocklist
tflags		URIBL_WS_SURBL	net

urirhssub       URIBL_PH_SURBL	multi.surbl.org.	A   8
header		URIBL_PH_SURBL	eval:check_uridnsbl('URIBL_PH_SURBL')
describe	URIBL_PH_SURBL	Contains a URL listed in the PH SURBL blocklist
tflags		URIBL_PH_SURBL	net

endif   # Mail::SpamAssassin::Plugin::URIDNSBL

