Качаем скрипт — http://spamassassin.apache.org/full/2.6x/dist/tools/sa-stats.pl
Для его корректной работы потребуются ещё несколько Perl-модулей:
# yum -y install perl-DateManip
# yum -y install perl-Parse-Syslog
Готово, запускаем:
02 |
Report Title : SpamAssassin - Spam Statistics |
03 |
Report Date : 2014-07-13 |
04 |
Period Beginning : Sun 13 Jul 2014 12:00:00 AM EEST |
05 |
Period Ending : Mon 14 Jul 2014 12:00:00 AM EEST |
07 |
Reporting Period : 24.00 hrs |
08 |
-------------------------------------------------- |
10 |
Note: 'ham' = 'nonspam' |
12 |
Total spam detected : 16 ( 84.21%) |
13 |
Total ham accepted : 3 ( 15.79%) |
15 |
Total emails processed : 19 ( 1/hr) |
17 |
Average spam threshold : 5.00 |
18 |
Average spam score : 877.61 |
19 |
Average ham score : 0.17 |
21 |
Spam kbytes processed : 69 ( 3 kb/hr) |
22 |
Ham kbytes processed : 3 ( 0 kb/hr) |
23 |
Total kbytes processed : 72 ( 3 kb/hr) |
25 |
Spam analysis time : 10 s ( 0 s/hr) |
26 |
Ham analysis time : 0 s ( 0 s/hr) |
27 |
Total analysis time : 10 s ( 0 s/hr) |
31 |
---------------------------------------------------- |
33 |
------------- ----------------- -------------- |
34 |
2014-07-13 00 0 ( 0%) 0 ( 0%) |
35 |
2014-07-13 01 0 ( 0%) 0 ( 0%) |
36 |
2014-07-13 02 0 ( 0%) 0 ( 0%) |
37 |
2014-07-13 03 0 ( 0%) 0 ( 0%) |
38 |
2014-07-13 04 0 ( 0%) 0 ( 0%) |
39 |
2014-07-13 05 0 ( 0%) 0 ( 0%) |
40 |
2014-07-13 06 0 ( 0%) 0 ( 0%) |
41 |
2014-07-13 07 0 ( 0%) 0 ( 0%) |
42 |
2014-07-13 08 0 ( 0%) 0 ( 0%) |
43 |
2014-07-13 09 0 ( 0%) 0 ( 0%) |
44 |
2014-07-13 10 0 ( 0%) 0 ( 0%) |
45 |
2014-07-13 11 0 ( 0%) 0 ( 0%) |
46 |
2014-07-13 12 0 ( 0%) 0 ( 0%) |
47 |
2014-07-13 13 0 ( 0%) 0 ( 0%) |
48 |
2014-07-13 14 0 ( 0%) 0 ( 0%) |
49 |
2014-07-13 15 0 ( 0%) 0 ( 0%) |
50 |
2014-07-13 16 0 ( 0%) 0 ( 0%) |
51 |
2014-07-13 17 0 ( 0%) 0 ( 0%) |
52 |
2014-07-13 18 0 ( 0%) 0 ( 0%) |
53 |
2014-07-13 19 8 ( 72%) 3 ( 27%) |
54 |
2014-07-13 20 8 (100%) 0 ( 0%) |
55 |
2014-07-13 21 0 ( 0%) 0 ( 0%) |
56 |
2014-07-13 22 0 ( 0%) 0 ( 0%) |
57 |
2014-07-13 23 0 ( 0%) 0 ( 0%) |
59 |
Done. Report generated in 0 sec by sa-stats.pl, version 6256. |
Читайте другие интересные статьи