xref: /openbsd/etc/mail/spamd.conf (revision 404b540a)
1# $OpenBSD: spamd.conf,v 1.3 2007/05/12 00:43:41 cnst Exp $
2#
3# spamd(8) configuration file, read by spamd-setup(8).
4# See also spamd.conf(5).
5#
6# Configures lists for spamd(8).
7#
8# Strings follow getcap(3) convention escapes, other than you
9# can have a bare colon (:) inside a quoted string and it
10# will deal with it. See spamd-setup(8) for more details.
11#
12# "all" must be here, and defines the order in which lists are applied.
13# Lists specified with the :white: capability apply to the previous
14# list with a :black: capability.
15#
16# As of November 2004, a place to search for blacklists is
17#     http://spamlinks.net/filter-bl.htm
18
19all:\
20	:uatraps:nixspam:china:korea:
21
22# University of Alberta greytrap hits.
23# Addresses stay in it for 24 hours from time they misbehave.
24uatraps:\
25	:black:\
26	:msg="Your address %A has sent mail to a ualberta.ca spamtrap\n\
27	within the last 24 hours":\
28	:method=http:\
29	:file=www.openbsd.org/spamd/traplist.gz
30
31# Nixspam recent sources list.
32# Mirrored from http://www.heise.de/ix/nixspam
33nixspam:\
34	:black:\
35	:msg="Your address %A is in the nixspam list\n\
36	See http://www.heise.de/ix/nixspam/dnsbl_en/ for details":\
37	:method=http:\
38	:file=www.openbsd.org/spamd/nixspam.gz
39
40# Mirrored from http://www.okean.com/chinacidr.txt
41china:\
42	:black:\
43	:msg="SPAM. Your address %A appears to be from China\n\
44	See http://www.okean.com/asianspamblocks.html for more details":\
45	:method=http:\
46	:file=www.openbsd.org/spamd/chinacidr.txt.gz:
47
48# Mirrored from http://www.okean.com/koreacidr.txt
49korea:\
50	:black:\
51	:msg="SPAM. Your address %A appears to be from Korea\n\
52	See http://www.okean.com/asianspamblocks.html for more details":\
53	:method=http:\
54	:file=www.openbsd.org/spamd/koreacidr.txt.gz:
55
56# An example of a list containing addresses which should not talk to spamd.
57#
58#override:\
59#	:white:\
60#	:method=file:\
61#	:file=/var/db/override.txt:
62