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
What exactly was the edit you made to syslog.conf?
ps i am using syslog-ng
cheers
http://www.openbsd.org/cgi-bin/man.cgi?query=spamd&sektion=8&arch=i386&apropos=0&manpath=OpenBSD+3.7#end
Those changes are integrated with recent of OpenBSD
Hello, i tried adding
!spamd
daemon.err;daemon.warn;daemon.info /var/log/spamd
but syslog-ng fails on restart?
I’m not surprised, the info above is for use with syslog not syslog-ng.