> Is there a way with SA to generate a report every day (and email to > admin - me) with what spam it stopped? I wasn't sure if SA had an > option or if I had to use third party software.
Hi Jennifer, we're using a short perl script which scans /usr/log/maillog and send the "spam"-report via mail. the script can be found here: http://www.spamassassin.org/full/2.6x/dist/tools/sa-stats.pl i attached some sample-output of this script. regards cornelius
Report Title : SpamAssassin - Spam Statistics Report Date : 2003-09-16 Period Beginning : Mon Sep 15 18:10:34 2003 Period Ending : Tue Sep 16 18:10:34 2003 Reporting Period : 24.00 hrs -------------------------------------------------- Note: 'ham' = 'nonspam' Total spam rejected : 301 ( 30.34%) Total ham accepted : 691 ( 69.66%) ------------------- Total emails processed: 992 ( 41/hr) Average spam threshold : 5.00 Average spam score : 13.05 Average ham score : -8.45 Statistics by Hour ------------------------------------- Hour Spam Ham ------------- -------- -------- 2003-09-15, 18 9 12 2003-09-15, 19 14 8 2003-09-15, 20 15 8 2003-09-15, 21 18 7 2003-09-15, 22 18 10 2003-09-15, 23 8 8 2003-09-16, 00 7 5 2003-09-16, 01 12 4 2003-09-16, 02 15 7 2003-09-16, 03 13 1 2003-09-16, 04 10 6 2003-09-16, 05 18 2 2003-09-16, 06 10 1 2003-09-16, 07 8 11 2003-09-16, 08 21 16 2003-09-16, 09 21 18 2003-09-16, 10 14 44 2003-09-16, 11 9 69 2003-09-16, 12 9 276 2003-09-16, 13 9 28 2003-09-16, 14 10 32 2003-09-16, 15 12 32 2003-09-16, 16 16 59 2003-09-16, 17 5 25 2003-09-16, 18 0 2 Done. Report generated in 0 sec.