summaryrefslogtreecommitdiff
path: root/etc/spamd.conf
blob: b87ee3ef5d2d627ed6b2f5944ff75b3cd39677ab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
# $OpenBSD: spamd.conf,v 1.1 2003/03/08 19:03:44 beck Exp $
#
# spamd config file, read by spamd-setup(8)
#
# 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 

all:\
	:spews1:spews2:china:korea:

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.spews.org/spews_list_level1.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.spews.org/spews_list_level2.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.okean.com/chinacidr.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.okean.com/koreacidr.txt:


# 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