Links and info that came in handy during spamd research
daniel Wed, 11/19/2008 - 10:35pm
SMTP error codes: http://www.networksorcery.com/enp/protocol/smtp.htm
Interesting antispam tactics.
http://www.benzedrine.cx/relaydb.html
http://www.pantz.org/os/openbsd/spamdconfig.shtml
#crontab -e
Removed comment for spamd_setup
edit spamd.conf to setup black & white lists.
# vi /etc/spamd.conf
add spamd to rc.conf.local
# vi /etc/spamd.conf
spamd_flags=""
spamlogd_flags="-i interface"
There is quite a bit of configuration in pf for spamdb... Need to redirect spamd table to spamdb for stu-stu-stuttering. Need to redirect all non white listers to spamd for error 450 - come back later.
Check pf config
# pfctl -nf /etc/pf.conf
Reload pf
# pfctl -f /etc/pf.conf
Spamd has a database called spamdb
Show contents of spamdb
# spamdb
Remove an address from white/greylist
# spamdb -Td 200.100.197.108
Add an address to whitelist
# spamdb -a 192.168.2.205
Check spamd log
# vi /var/log/spamd
Show current pf whitelist:
# pfctl -t spamd-white -T show
- Log in to post comments