1# SpamAssassin - URIDNSBL rules
2#
3# Please don't modify this file as your changes will be overwritten with
4# the next update. Use /home/mexx/mylib/etc/mail/spamassassin/local.cf instead.
5# See 'perldoc Mail::SpamAssassin::Conf' for details.
6#
7# <@LICENSE>
8# Licensed to the Apache Software Foundation (ASF) under one or more
9# contributor license agreements.  See the NOTICE file distributed with
10# this work for additional information regarding copyright ownership.
11# The ASF licenses this file to you under the Apache License, Version 2.0
12# (the "License"); you may not use this file except in compliance with
13# the License.  You may obtain a copy of the License at:
14#
15#     http://www.apache.org/licenses/LICENSE-2.0
16#
17# Unless required by applicable law or agreed to in writing, software
18# distributed under the License is distributed on an "AS IS" BASIS,
19# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
20# See the License for the specific language governing permissions and
21# limitations under the License.
22# </@LICENSE>
23#
24###########################################################################
25
26# Requires the Mail::SpamAssassin::Plugin::URIDNSBL plugin be loaded.
27# Note that this plugin defines a new config setting, 'uridnsbl',
28# which lists the zones to look up in advance.  The rules will
29# not hit unless each rule has a corresponding 'uridnsbl' line.
30
31ifplugin Mail::SpamAssassin::Plugin::URIDNSBL
32
33###########################################################################
34## SBL
35
36uridnsbl	URIBL_SBL	sbl.spamhaus.org.	TXT
37body		URIBL_SBL	eval:check_uridnsbl('URIBL_SBL')
38describe	URIBL_SBL	Contains an URL listed in the SBL blocklist
39tflags		URIBL_SBL	net
40#reuse		URIBL_SBL
41
42###########################################################################
43## SURBL
44
45urirhssub	URIBL_SC_SURBL	multi.surbl.org.	A   2
46body		URIBL_SC_SURBL	eval:check_uridnsbl('URIBL_SC_SURBL')
47describe	URIBL_SC_SURBL	Contains an URL listed in the SC SURBL blocklist
48tflags		URIBL_SC_SURBL	net
49#reuse		URIBL_SC_SURBL
50
51urirhssub	URIBL_WS_SURBL	multi.surbl.org.	A   4
52body		URIBL_WS_SURBL	eval:check_uridnsbl('URIBL_WS_SURBL')
53describe	URIBL_WS_SURBL	Contains an URL listed in the WS SURBL blocklist
54tflags		URIBL_WS_SURBL	net
55#reuse		URIBL_WS_SURBL
56
57urirhssub	URIBL_PH_SURBL	multi.surbl.org.	A   8
58body		URIBL_PH_SURBL	eval:check_uridnsbl('URIBL_PH_SURBL')
59describe	URIBL_PH_SURBL	Contains an URL listed in the PH SURBL blocklist
60tflags		URIBL_PH_SURBL	net
61#reuse		URIBL_PH_SURBL
62
63urirhssub	URIBL_OB_SURBL	multi.surbl.org.	A   16
64body		URIBL_OB_SURBL	eval:check_uridnsbl('URIBL_OB_SURBL')
65describe	URIBL_OB_SURBL	Contains an URL listed in the OB SURBL blocklist
66tflags		URIBL_OB_SURBL	net
67#reuse		URIBL_OB_SURBL
68
69urirhssub	URIBL_AB_SURBL	multi.surbl.org.	A   32
70body		URIBL_AB_SURBL	eval:check_uridnsbl('URIBL_AB_SURBL')
71describe	URIBL_AB_SURBL	Contains an URL listed in the AB SURBL blocklist
72tflags		URIBL_AB_SURBL	net
73#reuse		URIBL_AB_SURBL
74
75urirhssub	URIBL_JP_SURBL	multi.surbl.org.	A   64
76body		URIBL_JP_SURBL	eval:check_uridnsbl('URIBL_JP_SURBL')
77describe	URIBL_JP_SURBL	Contains an URL listed in the JP SURBL blocklist
78tflags		URIBL_JP_SURBL	net
79#reuse		URIBL_JP_SURBL
80
81###########################################################################
82## URIBL
83
84urirhssub	URIBL_BLACK	multi.uribl.com.        A   2
85body		URIBL_BLACK	eval:check_uridnsbl('URIBL_BLACK')
86describe	URIBL_BLACK	Contains an URL listed in the URIBL blacklist
87tflags		URIBL_BLACK	net
88#reuse		URIBL_BLACK
89
90urirhssub	URIBL_GREY	multi.uribl.com.        A   4
91body		URIBL_GREY	eval:check_uridnsbl('URIBL_GREY')
92describe	URIBL_GREY	Contains an URL listed in the URIBL greylist
93tflags		URIBL_GREY	net
94#reuse		URIBL_GREY
95
96urirhssub	URIBL_RED	multi.uribl.com.        A   8
97body		URIBL_RED	eval:check_uridnsbl('URIBL_RED')
98describe	URIBL_RED	Contains an URL listed in the URIBL redlist
99tflags		URIBL_RED	net
100#reuse		URIBL_RED
101
102###########################################################################
103## DOMAINS TO SKIP (KNOWN GOOD)
104
105# Don't bother looking for example domains as per RFC 2606.
106uridnsbl_skip_domain example.com example.net example.org
107
108# (roughly) top 200 domains not blacklisted by SURBL
109uridnsbl_skip_domain 126.com 163.com 2o7.net 4at1.com
110uridnsbl_skip_domain 5iantlavalamp.com about.com adelphia.net adobe.com
111uridnsbl_skip_domain advertising.com agora-inc.com agoramedia.com akamai.net
112uridnsbl_skip_domain akamaitech.net amazon.com ancestry.com aol.com
113uridnsbl_skip_domain apache.org apple.com arcamax.com astrology.com
114uridnsbl_skip_domain atdmt.com att.net aweber.com bbc.co.uk
115uridnsbl_skip_domain bcentral.com beliefnet.com bellsouth.net bfi0.com
116uridnsbl_skip_domain blogspot.com bridgetrack.com cafe24.com charter.net
117uridnsbl_skip_domain chtah.com citibank.com citizensbank.com cjb.net
118uridnsbl_skip_domain classmates.com click-url.com clickbank.net cnet.com
119uridnsbl_skip_domain cnn.com com.com com.ne.kr comcast.net
120uridnsbl_skip_domain constantcontact.com corporate-ir.net cox.net cs.com
121uridnsbl_skip_domain custhelp.com daum.net dd.se debian.org
122uridnsbl_skip_domain dell.com directtrack.com domain.com doubleclick.net
123uridnsbl_skip_domain dsbl.org earthlink.net ebay.co.uk ebay.com
124uridnsbl_skip_domain ebayimg.com ebaystatic.com ed10.net ed4.net
125uridnsbl_skip_domain edgesuite.net ediets.com egroups.com emode.com
126uridnsbl_skip_domain exacttarget.com excite.com exct.net f-secure.com
127uridnsbl_skip_domain flowgo.com free.fr freebsd.org freelotto.com
128uridnsbl_skip_domain gentoo.org geocities.com gmail.com gmx.net
129uridnsbl_skip_domain go.com google.com googleadservices.com grisoft.com
130uridnsbl_skip_domain hallmark.com hinet.net hotbar.com hotmail.com
131uridnsbl_skip_domain hotpop.com hp.com ibm.com ientrymail.com
132uridnsbl_skip_domain incredimail.com investorplace.com ivillage.com joingevalia.com
133uridnsbl_skip_domain juno.com kernel.org livejournal.com lycos.com
134uridnsbl_skip_domain m0.net m7z.net mac.com macromedia.com
135uridnsbl_skip_domain mail.com mail.ru mailscanner.info marketwatch.com
136uridnsbl_skip_domain mcafee.com mchsi.com mediaplex.com messagelabs.com
137uridnsbl_skip_domain microsoft.com military.com mindspring.com mit.edu
138uridnsbl_skip_domain monster.com msn.com nate.com netatlantic.com
139uridnsbl_skip_domain netflix.com netscape.com netscape.net netzero.net
140uridnsbl_skip_domain norman.com nytimes.com optonline.net osdn.com
141uridnsbl_skip_domain overstock.com p0.com pacbell.net pandasoftware.com
142uridnsbl_skip_domain partner2profit.com paypal.com peoplepc.com plaxo.com
143uridnsbl_skip_domain pm0.net postdirect.com prodigy.net radaruol.com.br
144uridnsbl_skip_domain real.com redhat.com regions.com regionsnet.com
145uridnsbl_skip_domain rm04.net rogers.com rr.com rs6.net
146uridnsbl_skip_domain rsvp0.net sbcglobal.net sec.gov sf.net
147uridnsbl_skip_domain shaw.ca shockwave.com smileycentral.com smithbarney.com
148uridnsbl_skip_domain sourceforge.net spamcop.net speedera.net sportsline.com
149uridnsbl_skip_domain sun.com suntrust.com sympatico.ca t-online.de
150uridnsbl_skip_domain tails.nl telus.net terra.com.br ticketmaster.com
151uridnsbl_skip_domain tickle.com tinyurl.com tiscali.co.uk tom.com
152uridnsbl_skip_domain tone.co.nz topica.com tux.org uol.com.br
153uridnsbl_skip_domain ups.com verizon.net vistaprint.com w3.org
154uridnsbl_skip_domain wamu.com wanadoo.fr washingtonpost.com weatherbug.com
155uridnsbl_skip_domain web.de webshots.com webtv.net wsj.com
156uridnsbl_skip_domain xmr3.com yahoo.ca yahoo.co.kr yahoo.co.uk
157uridnsbl_skip_domain yahoo.com yahoo.com.br yahoogroups.com yimg.com
158uridnsbl_skip_domain yopi.de yourfreedvds.com yoursite.com zdnet.com
159
160endif	# Mail::SpamAssassin::Plugin::URIDNSBL
161