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

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

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