PF, The OpenBSD Packet Filter: Building The Network You Need: BSDCan, Ottawa, June 10th 2015 | ||
---|---|---|
Prev | Next |
Edit spamd.conf to specify blacklists and whitelists
all:\ :uatraps:whitelist:bsdly:whitelist:nixspam:whitelist:
uatraps:\ :black:\ :msg="SPAM. Your address %A has sent spam within the last 24 hours":\ :method=http:\ :file=www.openbsd.org/spamd/traplist.gz bsdly:\ :black:\ :msg="SPAM. Your Address %A has sent spam within the last 24 hours. See http://www.bsdly.net/~peter/nameandshame.html for details.":\ :method=http:\ :file=www.bsdly.net/~peter/bsdly.net.traplist # Nixspam recent sources list. # Mirrored from http://www.heise.de/ix/nixspam nixspam:\ :black:\ :msg="Your address %A is in the nixspam list\n\ See http://www.heise.de/ix/nixspam/dnsbl_en/ for details":\ :method=http:\ :file=www.openbsd.org/spamd/nixspam.gz whitelist:\ :white:\ :method=file:\ :file=/etc/mail/whitelist.txt