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

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

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