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

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

1.13    ! jmc         1: # $OpenBSD: spamd.conf,v 1.12 2005/01/16 17:16:44 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: #
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.6       deraadt    26:        :spamhaus:china:korea:
                     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:
                     69: # Whitelists are done like this, and must be added to "all" after each
                     70: # blacklist from which you want the addresses in the whitelist removed.
                     71: #
                     72: #whitelist:\
1.8       deraadt    73: #      :white:\
1.12      deraadt    74: #      :file=/var/mail/whitelist.txt:
1.4       dhartmei   75:
                     76: relaydb-black:\
                     77:        :black:\
                     78:        :msg="SPAM. Your address %A is in my relaydb list.":\
                     79:        :method=exec:\
                     80:        :file=relaydb -4lb:
                     81:
                     82: relaydb-white:\
                     83:        :white:\
                     84:        :method=exec:\
                     85:        :file=relaydb -4lw: