Spamd Statistics

After a quick google round I came across this post on misc@
Sadly the link is now dead, but a copy of the script was reposted onto misc@ again which is handy, I’ve also made a copy of the script available here

Anyway, so I copied the script onto one of my openbsd boxes & fired it up resulting in this rather impressive output:
Spamd statistics: (logfile: /var/log/spamd)
Average
Host Seconds Connections (secs/conn)

great!, spamdb lists a huge list of IP addresses & this is all I’m able to get out of it??
After checking out /etc/syslog.conf I found that I hadn’t added the entry for logging spamd when I reformatted, a quick edit & a kill -HUP later things looked much better! 🙂

Spamd statistics: (logfile: /var/log/spamd)
Average
Host Seconds Connections (secs/conn)
201.27.29.243: 12 1 12.00
217.22.88.123: 24 1 24.00

4 Replies to “Spamd Statistics”

  1. What exactly was the edit you made to syslog.conf?

    ps i am using syslog-ng

    cheers

  2. Hello, i tried adding

    !spamd
    daemon.err;daemon.warn;daemon.info /var/log/spamd

    but syslog-ng fails on restart?

Comments are closed.