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

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

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