The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.
# SpamAssassin - URIDNSBL rules
#
# Please don't modify this file as your changes will be overwritten with
# the next update. Use /home/mexx/mylib/etc/mail/spamassassin/local.cf instead.
# See 'perldoc Mail::SpamAssassin::Conf' for details.
#
# <@LICENSE>
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements.  See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to you 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

###########################################################################
## SBL

uridnsbl	URIBL_SBL	sbl.spamhaus.org.	TXT
body		URIBL_SBL	eval:check_uridnsbl('URIBL_SBL')
describe	URIBL_SBL	Contains an URL listed in the SBL blocklist
tflags		URIBL_SBL	net
#reuse		URIBL_SBL

###########################################################################
## SURBL

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

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

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

urirhssub	URIBL_OB_SURBL	multi.surbl.org.	A   16
body		URIBL_OB_SURBL	eval:check_uridnsbl('URIBL_OB_SURBL')
describe	URIBL_OB_SURBL	Contains an URL listed in the OB SURBL blocklist
tflags		URIBL_OB_SURBL	net
#reuse		URIBL_OB_SURBL

urirhssub	URIBL_AB_SURBL	multi.surbl.org.	A   32
body		URIBL_AB_SURBL	eval:check_uridnsbl('URIBL_AB_SURBL')
describe	URIBL_AB_SURBL	Contains an URL listed in the AB SURBL blocklist
tflags		URIBL_AB_SURBL	net
#reuse		URIBL_AB_SURBL

urirhssub	URIBL_JP_SURBL	multi.surbl.org.	A   64
body		URIBL_JP_SURBL	eval:check_uridnsbl('URIBL_JP_SURBL')
describe	URIBL_JP_SURBL	Contains an URL listed in the JP SURBL blocklist
tflags		URIBL_JP_SURBL	net
#reuse		URIBL_JP_SURBL

###########################################################################
## URIBL

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
#reuse		URIBL_BLACK

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
#reuse		URIBL_GREY

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
#reuse		URIBL_RED

###########################################################################
## DOMAINS TO SKIP (KNOWN GOOD)

# Don't bother looking for example domains as per RFC 2606.
uridnsbl_skip_domain example.com example.net example.org

# (roughly) top 200 domains not blacklisted by SURBL
uridnsbl_skip_domain 126.com 163.com 2o7.net 4at1.com
uridnsbl_skip_domain 5iantlavalamp.com about.com adelphia.net adobe.com
uridnsbl_skip_domain advertising.com agora-inc.com agoramedia.com akamai.net
uridnsbl_skip_domain akamaitech.net amazon.com ancestry.com aol.com
uridnsbl_skip_domain apache.org apple.com arcamax.com astrology.com
uridnsbl_skip_domain atdmt.com att.net aweber.com bbc.co.uk
uridnsbl_skip_domain bcentral.com beliefnet.com bellsouth.net bfi0.com
uridnsbl_skip_domain blogspot.com bridgetrack.com cafe24.com charter.net
uridnsbl_skip_domain chtah.com citibank.com citizensbank.com cjb.net
uridnsbl_skip_domain classmates.com click-url.com clickbank.net cnet.com
uridnsbl_skip_domain cnn.com com.com com.ne.kr comcast.net
uridnsbl_skip_domain constantcontact.com corporate-ir.net cox.net cs.com
uridnsbl_skip_domain custhelp.com daum.net dd.se debian.org
uridnsbl_skip_domain dell.com directtrack.com domain.com doubleclick.net
uridnsbl_skip_domain dsbl.org earthlink.net ebay.co.uk ebay.com
uridnsbl_skip_domain ebayimg.com ebaystatic.com ed10.net ed4.net
uridnsbl_skip_domain edgesuite.net ediets.com egroups.com emode.com
uridnsbl_skip_domain exacttarget.com excite.com exct.net f-secure.com
uridnsbl_skip_domain flowgo.com free.fr freebsd.org freelotto.com
uridnsbl_skip_domain gentoo.org geocities.com gmail.com gmx.net
uridnsbl_skip_domain go.com google.com googleadservices.com grisoft.com
uridnsbl_skip_domain hallmark.com hinet.net hotbar.com hotmail.com
uridnsbl_skip_domain hotpop.com hp.com ibm.com ientrymail.com
uridnsbl_skip_domain incredimail.com investorplace.com ivillage.com joingevalia.com
uridnsbl_skip_domain juno.com kernel.org livejournal.com lycos.com
uridnsbl_skip_domain m0.net m7z.net mac.com macromedia.com
uridnsbl_skip_domain mail.com mail.ru mailscanner.info marketwatch.com
uridnsbl_skip_domain mcafee.com mchsi.com mediaplex.com messagelabs.com
uridnsbl_skip_domain microsoft.com military.com mindspring.com mit.edu
uridnsbl_skip_domain monster.com msn.com nate.com netatlantic.com
uridnsbl_skip_domain netflix.com netscape.com netscape.net netzero.net
uridnsbl_skip_domain norman.com nytimes.com optonline.net osdn.com
uridnsbl_skip_domain overstock.com p0.com pacbell.net pandasoftware.com
uridnsbl_skip_domain partner2profit.com paypal.com peoplepc.com plaxo.com
uridnsbl_skip_domain pm0.net postdirect.com prodigy.net radaruol.com.br
uridnsbl_skip_domain real.com redhat.com regions.com regionsnet.com
uridnsbl_skip_domain rm04.net rogers.com rr.com rs6.net
uridnsbl_skip_domain rsvp0.net sbcglobal.net sec.gov sf.net
uridnsbl_skip_domain shaw.ca shockwave.com smileycentral.com smithbarney.com
uridnsbl_skip_domain sourceforge.net spamcop.net speedera.net sportsline.com
uridnsbl_skip_domain sun.com suntrust.com sympatico.ca t-online.de
uridnsbl_skip_domain tails.nl telus.net terra.com.br ticketmaster.com
uridnsbl_skip_domain tickle.com tinyurl.com tiscali.co.uk tom.com
uridnsbl_skip_domain tone.co.nz topica.com tux.org uol.com.br
uridnsbl_skip_domain ups.com verizon.net vistaprint.com w3.org
uridnsbl_skip_domain wamu.com wanadoo.fr washingtonpost.com weatherbug.com
uridnsbl_skip_domain web.de webshots.com webtv.net wsj.com
uridnsbl_skip_domain xmr3.com yahoo.ca yahoo.co.kr yahoo.co.uk
uridnsbl_skip_domain yahoo.com yahoo.com.br yahoogroups.com yimg.com
uridnsbl_skip_domain yopi.de yourfreedvds.com yoursite.com zdnet.com

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