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

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

1.8     ! deraadt     1: # $OpenBSD: spamd.conf,v 1.7 2003/08/21 08:19:41 deraadt 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: #
                     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
1.5       david      15: # may be applied to each blacklist
1.7       deraadt    16: #
                     17: # As of Aug 2003, a place to search for black lists is
                     18: #     http://spamlinks.port5.com/filter-bl.htm#ip
                     19: #
1.1       beck       20:
                     21: all:\
1.6       deraadt    22:        :spamhaus:china:korea:
                     23:
                     24: spamhaus:\
                     25:        :black:\
                     26:        :msg="SPAM. Your address %A is in the Spamhaus Block List\n\
                     27:        See http://www.spamhaus.org/sbl for more details":\
                     28:        :method=http:\
                     29:        :file=spfilter.openrbl.org/data/sbl/SBL.cidr
1.1       beck       30:
                     31: spews1:\
1.8     ! deraadt    32:        :black:\
        !            33:        :msg="SPAM. Your address %A is in the spews level 1 database\n\
1.1       beck       34:        See http://www.spews.org/ask.cgi?x=%A for more details":\
1.8     ! deraadt    35:        :method=http:\
        !            36:        :file=www.spews.org/spews_list_level1.txt:
1.1       beck       37:
                     38: spews2:\
1.8     ! deraadt    39:        :black:\
        !            40:        :msg="SPAM. Your address %A is in the spews level 2 database\n\
1.1       beck       41:        See http://www.spews.org/ask.cgi?x=%A for more details":\
1.8     ! deraadt    42:        :method=http:\
        !            43:        :file=www.spews.org/spews_list_level2.txt:
1.1       beck       44:
                     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:\
        !            50:        :file=www.okean.com/chinacidr.txt:
1.1       beck       51:
                     52: korea:\
1.8     ! deraadt    53:        :black:\
1.3       beck       54:        :msg="SPAM. Your address %A appears to be from Korea\n\
1.1       beck       55:        See http://www.okean.com/asianspamblocks.html for more details":\
1.8     ! deraadt    56:        :method=http:\
        !            57:        :file=www.okean.com/koreacidr.txt:
1.1       beck       58:
                     59:
                     60: # Whitelists are done like this, and must be added to "all" after each
                     61: # blacklist from which you want the addresses in the whitelist removed.
                     62: #
                     63: #whitelist:\
1.8     ! deraadt    64: #      :white:\
        !            65: #      :file=/var/mail/whitelist.txt
1.4       dhartmei   66:
                     67: relaydb-black:\
                     68:        :black:\
                     69:        :msg="SPAM. Your address %A is in my relaydb list.":\
                     70:        :method=exec:\
                     71:        :file=relaydb -4lb:
                     72:
                     73: relaydb-white:\
                     74:        :white:\
                     75:        :method=exec:\
                     76:        :file=relaydb -4lw: