[BACK]Return to spamd.conf CVS log [TXT][DIR] Up to [local] / src / etc

File: [local] / src / etc / Attic / spamd.conf (download)

Revision 1.9, Wed Jan 21 08:07:39 2004 UTC (20 years, 4 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_3_6_BASE, OPENBSD_3_6, OPENBSD_3_5_BASE, OPENBSD_3_5
Changes since 1.8: +17 -7 lines

New spamd configuration method.  Many people have trouble with the spam
RBL sites being slow, so now we will provide the maps ourselves through
our www mirrors around the world.  We can also now write our own internal
translators for maps that are in bad formats, and place them into the www
space in the correct format.  tested by beck, djm

# $OpenBSD: spamd.conf,v 1.9 2004/01/21 08:07:39 deraadt Exp $
#
# spamd config file, read by spamd-setup(8) for spamd(8)
#
# See spamd.conf(5)
#
# Configures whitelists and blacklists for spamd
#
# Strings follow getcap(3) convention escapes, other than you
# can have a bare colon (:) inside a quoted string and it
# will deal with it. See spamd-setup(8) for more details.
#
# "all" must be here, and defines the order in which lists are applied
# whitelists apply to the previous blacklist. more than one whitelist
# may be applied to each blacklist
#
# As of Aug 2003, a place to search for black lists is
#     http://spamlinks.port5.com/filter-bl.htm#ip
#
# Some of the URLs below point to www.openbsd.org locations.  Those
# files are likely to be mirrored to other OpenBSD www mirrors located
# around the world.  Hence, it is possible to edit this file and rewrite
# www.openbsd.org with, for instance, to www.de.openbsd.org

all:\
	:spamhaus:china:korea:

# Mirrored from http://spfilter.openrbl.org/data/sbl/SBL.cidr.bz2
spamhaus:\
	:black:\
	:msg="SPAM. Your address %A is in the Spamhaus Block List\n\
	See http://www.spamhaus.org/sbl and\
	http://www.abuse.net/sbl.phtml?IP=%A for more details":\
	:method=http:\
	:file=www.openbsd.org/spamd/SBL.cidr.gz

# Mirrored from http://www.spews.org/spews_list_level1.txt
spews1:\
	:black:\
	:msg="SPAM. Your address %A is in the spews level 1 database\n\
	See http://www.spews.org/ask.cgi?x=%A for more details":\
	:method=http:\
	:file=www.openbsd.org/spamd/spews_list_level1.txt.gz

# Mirrored from http://www.spews.org/spews_list_level2.txt
spews2:\
	:black:\
	:msg="SPAM. Your address %A is in the spews level 2 database\n\
	See http://www.spews.org/ask.cgi?x=%A for more details":\
	:method=http:\
	:file=www.openbsd.org/spamd/spews_list_level2.txt.gz

# Mirrored from http://www.okean.com/chinacidr.txt
china:\
	:black:\
	:msg="SPAM. Your address %A appears to be from China\n\
	See http://www.okean.com/asianspamblocks.html for more details":\
	:method=http:\
	:file=www.openbsd.org/spamd/chinacidr.txt.gz

# Mirrored from http://www.okean.com/koreacidr.txt
korea:\
	:black:\
	:msg="SPAM. Your address %A appears to be from Korea\n\
	See http://www.okean.com/asianspamblocks.html for more details":\
	:method=http:\
	:file=www.openbsd.org/spamd/koreacidr.txt.gz


# Whitelists are done like this, and must be added to "all" after each
# blacklist from which you want the addresses in the whitelist removed.
#
#whitelist:\
#	:white:\
#	:file=/var/mail/whitelist.txt

relaydb-black:\
	:black:\
	:msg="SPAM. Your address %A is in my relaydb list.":\
	:method=exec:\
	:file=relaydb -4lb:

relaydb-white:\
	:white:\
	:method=exec:\
	:file=relaydb -4lw: