Annotation of src/etc/spamd.conf, Revision 1.21
1.21 ! beck 1: # $OpenBSD: spamd.conf,v 1.20 2007/02/22 19:49:18 beck Exp $
1.1 beck 2: #
1.3 beck 3: # spamd config file, read by spamd-setup(8) for spamd(8)
4: #
5: # See spamd.conf(5)
1.1 beck 6: #
7: # Configures whitelists and blacklists for spamd
8: #
9: # Strings follow getcap(3) convention escapes, other than you
10: # can have a bare colon (:) inside a quoted string and it
11: # will deal with it. See spamd-setup(8) for more details.
12: #
1.13 jmc 13: # "all" must be here, and defines the order in which lists are applied.
14: # Whitelists apply to the previous blacklist. More than one whitelist
15: # may be applied to each blacklist.
1.7 deraadt 16: #
1.10 otto 17: # As of November 2004, a place to search for black lists is
1.11 david 18: # http://spamlinks.net/filter-bl.htm
1.7 deraadt 19: #
1.9 deraadt 20: # Some of the URLs below point to www.openbsd.org locations. Those
21: # files are likely to be mirrored to other OpenBSD www mirrors located
22: # around the world. Hence, it is possible to edit this file and rewrite
23: # www.openbsd.org with, for instance, to www.de.openbsd.org
1.1 beck 24:
25: all:\
1.20 beck 26: :uatraps:nixspam:china:korea:
1.1 beck 27:
1.20 beck 28: # University of Alberta greytrap hits
29: # Addresses stay in it for 24 hours from time they misbehave.
30: uatraps:\
31: :black:\
32: :msg="Your address %A has sent mail to a ualberta.ca spamtrap\n\
33: within the last 24 hours":\
34: :method=http:\
35: :file=www.openbsd.org/spamd/traplist.gz
36:
37: # Nixspam recent sources list.
38: # Mirrored from http://www.heise.de/ix/nixspam
39: nixspam:\
40: :black:\
1.21 ! beck 41: :msg="Your address %A is in the nixspam list\n\
1.20 beck 42: See http://www.heise.de/ix/nixspam/dnsbl_en/ for details":\
43: :method=http:\
44: :file=www.openbsd.org/spamd/nixspam.gz
1.1 beck 45:
46:
1.9 deraadt 47: # Mirrored from http://www.okean.com/chinacidr.txt
1.1 beck 48: china:\
1.8 deraadt 49: :black:\
1.3 beck 50: :msg="SPAM. Your address %A appears to be from China\n\
1.1 beck 51: See http://www.okean.com/asianspamblocks.html for more details":\
1.8 deraadt 52: :method=http:\
1.12 deraadt 53: :file=www.openbsd.org/spamd/chinacidr.txt.gz:
1.1 beck 54:
1.9 deraadt 55: # Mirrored from http://www.okean.com/koreacidr.txt
1.1 beck 56: korea:\
1.8 deraadt 57: :black:\
1.3 beck 58: :msg="SPAM. Your address %A appears to be from Korea\n\
1.1 beck 59: See http://www.okean.com/asianspamblocks.html for more details":\
1.8 deraadt 60: :method=http:\
1.12 deraadt 61: :file=www.openbsd.org/spamd/koreacidr.txt.gz:
1.15 jmc 62:
63: # Whitelists are done like this, and must be added to "all" after each
64: # blacklist from which you want the addresses in the whitelist removed.
65: #
66: #whitelist:\
67: # :white:\
68: # :method=file:\
1.18 dhartmei 69: # :file=/var/db/whitelist.txt: