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

Annotation of src/etc/spamd.conf, Revision 1.18

1.18    ! dhartmei    1: # $OpenBSD: spamd.conf,v 1.17 2006/02/01 20:22:43 dhartmei 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.16      millert    26:        :spews1:china:korea:
1.6       deraadt    27:
1.9       deraadt    28: # Mirrored from http://spfilter.openrbl.org/data/sbl/SBL.cidr.bz2
1.6       deraadt    29: spamhaus:\
                     30:        :black:\
                     31:        :msg="SPAM. Your address %A is in the Spamhaus Block List\n\
1.9       deraadt    32:        See http://www.spamhaus.org/sbl and\
                     33:        http://www.abuse.net/sbl.phtml?IP=%A for more details":\
1.6       deraadt    34:        :method=http:\
1.12      deraadt    35:        :file=www.openbsd.org/spamd/SBL.cidr.gz:
1.1       beck       36:
1.9       deraadt    37: # Mirrored from http://www.spews.org/spews_list_level1.txt
1.1       beck       38: spews1:\
1.8       deraadt    39:        :black:\
                     40:        :msg="SPAM. Your address %A is in the spews level 1 database\n\
1.1       beck       41:        See http://www.spews.org/ask.cgi?x=%A for more details":\
1.8       deraadt    42:        :method=http:\
1.12      deraadt    43:        :file=www.openbsd.org/spamd/spews_list_level1.txt.gz:
1.1       beck       44:
1.9       deraadt    45: # Mirrored from http://www.spews.org/spews_list_level2.txt
1.1       beck       46: spews2:\
1.8       deraadt    47:        :black:\
                     48:        :msg="SPAM. Your address %A is in the spews level 2 database\n\
1.1       beck       49:        See http://www.spews.org/ask.cgi?x=%A for more details":\
1.8       deraadt    50:        :method=http:\
1.12      deraadt    51:        :file=www.openbsd.org/spamd/spews_list_level2.txt.gz:
1.1       beck       52:
1.9       deraadt    53: # Mirrored from http://www.okean.com/chinacidr.txt
1.1       beck       54: china:\
1.8       deraadt    55:        :black:\
1.3       beck       56:        :msg="SPAM. Your address %A appears to be from China\n\
1.1       beck       57:        See http://www.okean.com/asianspamblocks.html for more details":\
1.8       deraadt    58:        :method=http:\
1.12      deraadt    59:        :file=www.openbsd.org/spamd/chinacidr.txt.gz:
1.1       beck       60:
1.9       deraadt    61: # Mirrored from http://www.okean.com/koreacidr.txt
1.1       beck       62: korea:\
1.8       deraadt    63:        :black:\
1.3       beck       64:        :msg="SPAM. Your address %A appears to be from Korea\n\
1.1       beck       65:        See http://www.okean.com/asianspamblocks.html for more details":\
1.8       deraadt    66:        :method=http:\
1.12      deraadt    67:        :file=www.openbsd.org/spamd/koreacidr.txt.gz:
1.1       beck       68:
1.14      jmc        69: #relaydb-black:\
                     70: #      :black:\
                     71: #      :msg="SPAM. Your address %A is in my relaydb list.":\
                     72: #      :method=exec:\
1.17      dhartmei   73: #      :file=/usr/local/bin/relaydb -4lb:
1.14      jmc        74:
                     75: #relaydb-white:\
                     76: #      :white:\
                     77: #      :method=exec:\
1.17      dhartmei   78: #      :file=/usr/local/bin/relaydb -4lw:
1.15      jmc        79:
                     80: # Whitelists are done like this, and must be added to "all" after each
                     81: # blacklist from which you want the addresses in the whitelist removed.
                     82: #
                     83: #whitelist:\
                     84: #      :white:\
                     85: #      :method=file:\
1.18    ! dhartmei   86: #      :file=/var/db/whitelist.txt: