Mailscanner stats
Raymond Dijkxhoorn
raymond at PROLOCATION.NET
Wed Aug 27 16:24:19 IST 2003
Hi!
> I'm currently building a mailscanner solution for our
> mail relays. High volume, and we need regular statistics.
> I've looked at mrtg-mailscanner in relation to our system,
> and as far as I can see it would have to run locally on the
> mail relay itself - or we'll run across some awful network
> load issues as our network management server grabs logs
> every so often etc.
>
> We could also do with regular summary stats by e-mail.
I am making something like this, so far only the text output, but graphs
are also in the making...
Currently i use remote syslogging and run the stats hourly.
> In essence, priorty one is useful stats, priority two is
> pretty graphs for people to point at.
Sample report: (todays stats so far)
[root at fallback vmxlogs]# ./maillog-rrd.pl
vmx10: SM Total mails incoming: 148169
vmx10: SM Total mails queued : 156088
vmx10: SM IP/Host Rejected :
vmx10: SM RCPT Rejected : 1310
vmx10: SM Mail Rejected : 1068
vmx10: SM Subject Rejected : 6324
vmx10: SM Total bytes incoming: 7610648582 ( 7258 MB)
vmx10: MS Total bytes : 9260632899 ( 8831 MB)
vmx10: MS Scanned messages : 174000 (117%)
vmx10: MS Delivered messages : 159421 (107%)
vmx10: MS Total virii found : 8128 ( 4%)
vmx10: MS Total spam found : 107 ( 0%)
vmx10: MS Content Checks : 4390 ( 2%)
vmx10: MS Filename Checks : 8217 ( 4%)
vmx20: SM Total mails incoming: 95839
vmx20: SM Total mails queued : 100460
vmx20: SM IP/Host Rejected :
vmx20: SM RCPT Rejected : 774
vmx20: SM Mail Rejected : 618
vmx20: SM Subject Rejected : 3795
vmx20: SM Total bytes incoming: 6185617278 ( 5899 MB)
vmx20: MS Total bytes : 7400952646 ( 7058 MB)
vmx20: MS Scanned messages : 149967 (156%)
vmx20: MS Delivered messages : 134834 (140%)
vmx20: MS Total virii found : 8949 ( 5%)
vmx20: MS Total spam found : 312 ( 0%)
vmx20: MS Content Checks : 3608 ( 2%)
vmx20: MS Filename Checks : 8927 ( 5%)
Total: SM Total mails incoming: 244008
Total: SM Total mails queued : 256548
Total: SM IP/Host Rejected : 0
Total: SM RCPT Rejected : 2084
Total: SM Mail Rejected : 1686
Total: SM Subject Rejected : 10119
Total: SM Total bytes incoming: 13796265860 ( 13157 MB)
Total: MS Total bytes : 16661585545 ( 15889 MB)
Total: MS Scanned messages : 323967 (132%)
Total: MS Delivered messages : 294255 (120%)
Total: MS Total virii found : 17077 ( 5%)
Total: MS Total spam found : 419 ( 0%)
Total: MS Content Checks : 7998 ( 2%)
Total: MS Filename Checks : 17144 ( 5%)
8081 W32/Lentin.F at mm
7449 W32/Sobig.F at mm
535 W32/Dumaro.A at mm
387 W32/Klez.H at mm
203 W32/Gibe.B at mm
151 W32/Lentin.H at mm
145 W32/Bugbear.B at mm
32 W32/Sircam.worm at mm
30 W32/Mimail.A at mm
13 W32/Ganda.A at mm
11 W32/Lovelorn.A at mm
9 W32/Fizzer.A at mm
5 W32/Parite.B
5 W32/Hybris.worm.B
4 W97M/Marker.D
4 UNKNOWN
2 W32/Lentin.N at mm
2 W32/Duni.A
2 W32/Lentin.M at mm
1 W32/Gibe.A at mm
1 W32/Magistr.32768 at mm
1 W32/Magistr.28672 at mm
1 W32/Sobig.B at mm
1 W32/Sobig.A at mm
1 JS/Kak.A at m
Execution time 175 second(s)
Bye,
Raymond.
More information about the MailScanner
mailing list