Spamstats is a Perl script that analyses spamassassin+mailer logs in order to extract useful informations about spam traffic. It displays scores, volumes, and spamassassin analysis times for spam/non-spam/both. It also extracts top spammed mailboxes. Its time options let it be used in conjunction with SNMP to generate near realtime graphs. Currently supported mailers are Postfix, Exim, and Sendmail.
| Tags | Internet Log Analysis |
|---|---|
| Licenses | GPL |
| Operating Systems | POSIX |
| Implementation | Perl |
Recent releases


Changes: This release adds transparent support for the spamd 3.1.0-rc1 log format. The older format is still supported. Log files with both formats will still be parsed correctly.


Changes: A new "-spamd" option was added, which is used when only spamd logs are available. This leads to degraded results in all cases, and even false results when mailer logs are available.


Changes: Cricket graphing support was added for the -minmax option. This allows for many new, interesting graphs. A -img switch was also added, which draws statistics graphically. Minor bugs were corrected.


Changes: This release supports BSD's sendmail "sm-mta", adds a "-minmax" option, and corrects some output bugs which occurred when -html and -number were used together.


Changes: A new way of counting is now used, which counts per email recipient instead of per mailerID. An option to keep the old behavior was added. A patch was applied to improve the display. Documentation was added. Exim users should be careful to read the documentation, otherwise some logs may be miscounted.
A security filter for vulnerable sites using regex patterns.