> Many years ago, in previous jobs, I used several scripts to report spam > statistics daily. Some I wrote, some I downloaded. I need to create some > reporting on our current zimbra/postfix/spamassassin server. The supplied > stats are pretty for managers if you have Flash, but not useful.
There is a plugin on the Apache Spamassassin site called LogSpam.pm. I modified it to pipe spam to a filter for capturing the HELO IP address and then to a filter that would stash the message in an archive directory with the spam header attached. The IP address is used to null-route the IP after a threshold number of spams have been detected. The saved messages are used to generate a daily report for each mail user, containing the subject and sender, so that they could identify false positives. Todd Merriman Software Toolz, Inc.