BowerStudios.com

  • My Lab
  • Family
  • Friends
  • Professional
  • About
Home

Links and info that came in handy during spamd research

daniel —Wed, 11/19/2008 - 10:35pm

  • BSD
  • Security

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

Navigation

  • Search
  • Recent content
  • Contact Me
  • Mail
  • Pass Hasher
  • Bower Studios Admin

Quotes

daniel —Wed, 08/31/2011 - 12:46am

I just wish my mouth had a backspace key.

—

Author Unknown

  • Log in to post comments
  • daniel's quotes

Popular content

Last viewed:

  • CoffeeScript and Closure compilers on Ubuntu
  • SSL certificate order in pem file
  • Mixed Vegetable Grill
  • Netbeans - '.' is not a working copy
  • Remove an alias to a java cert store with keytool

Copyright 2022 Daniel Bower
  • My Lab
  • Family
  • Friends
  • Professional
  • About