I recently installed mail/spamd, and I'm using it for blacklists. The problem is I have no idea whether spamd is loading the blacklists at all.
I tried adding a "debug" blacklist as well, but it didn't work. Nothing pops up when I use
My settings:
/etc/rc.conf:
/etc/pf.conf:
/usr/local/etc/spamd/spamd.conf:
I'm logging to a file, but I rarely get any spam, so nothing might show up for a few weeks. How can I confirm that the blacklists actually work? Thanks.
I tried adding a "debug" blacklist as well, but it didn't work. Nothing pops up when I use
# pfctl -t spamd -T show
unless IPs are added manually.My settings:
/etc/rc.conf:
Code:
obspamd_enable="YES"
obspamd_flags="-v -n 'spamd' -b"
/etc/pf.conf:
Code:
table <sshguard> persist
rdr proto tcp from <spamd> to any port smtp -> 127.0.0.1 port spamd
/usr/local/etc/spamd/spamd.conf:
Code:
all:\
:uatraps:nixspam:
# University of Alberta greytrap hits.
# Addresses stay in it for 24 hours from time they misbehave.
uatraps:\
:black:\
:msg="Your address %A has sent mail to a ualberta.ca spamtrap\n\
within the last 24 hours":\
:method=http:\
:file=www.openbsd.org/spamd/traplist.gz
# 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
I'm logging to a file, but I rarely get any spam, so nothing might show up for a few weeks. How can I confirm that the blacklists actually work? Thanks.