How to get a SpamAssasin Stats report

Download the following script below:


# wget http://freebsdrocks.net/files/tarballs/sastats.tgz
# chmod 755 sa-stats.pl

Now just run sa-stats.pl and you will get a nice output :-)

Now add it to cron like so:


0 1 * * * /path/to/sa-stats.pl

This will send that report to root@hostname at 1A