Hi Brianr,
Love your mailstats script and use it as one of my "must haves". Thanks heaps for your time and excellent work.
I have a query on the stats that are produced. I put the second script in conjunction with the 1st and have the scripts running an hour apart:
this info is uniform on both emails:
Period Beginning : Mon Oct 15 00:00:00 2007
Period Ending : Tue Oct 16 00:00:00 2007
Reporting Period : 24.00 hrs
----------------------------
Clam Version : ClamAV 0.91.2/4540/Sun Oct 14 14:43:55 2007
SpamAssassin Version : SpamAssassin version 3.2.3
running on Perl version 5.8.5
Tag level: 3; Reject level: 10
However the stats appear to be different and am confused now as my totals are out of whack - for example see the summary below for yesterdays stats:
New script:
/usr/bin/spamfilter-stats2-7.pl Version : 0.6.15
Reporting Period : 24.00 hrs
----------------------------
All SMTP connections accepted: 17
Emails per hour : 0.7/hr
Average spam score (accepted): 0.00
Average spam score (rejected): 0.00
Average ham score : -52.05
17 mails were processed for 17 Recipients
Old script:
/usr/bin/spamfilter-stats-7.pl Version : 0.5.1
All SMTP connections accepted : 18
Total emails processed : 15 ( 0.62/hr)
Average spam score (accepted): 0.00
Average spam score (rejected): 0.00
Average ham score : -78.08
16 mails were processed for 18 Recipients
I am guessing this is (as usual
!) my lack of understanding as to what is being summarised, or more importantly the differences in the scripts. not my strong point... can you shed some light?
Cheers, shell