Kelly, can you please attach that script you created once again?
Matt Doherty
Matthew_doherty at DATAWATCH.COM
Wed Jul 24 17:54:27 IST 2002
Can you please attach and send to this list, that script you created, once
again? Mailscanner statistics....
Matt Doherty
IT Dept
Datawatch Corp
>>In a world without walls or fences, who needs Windows and Gates?<<
-----Original Message-----
From: Kelly Hamlin [mailto:fizz at BOMB.NET]
Sent: Thursday, July 18, 2002 1:20 PM
To: MAILSCANNER at JISCMAIL.AC.UK
Subject: Re: Mailscanner statistics
One last thing :)
I Have my MTA Do the RBL lists, could I easily add a
if (/sendmail/) {
$TotalSPAMCOP++ if /spamcop/;
$TotalOsirusoft++ if /osirusoft/;
}
to the list there? I tried with no success, I know a bit of php, but
perl is wacky :P
thanks in advance.
//////
( o o )
+--.oooO--(_)--Oooo.-----------------+
| [Kelly Hamlin]
| support at cyberstreet.com
| http://www.cyberstreet.com
| .oooO
| ( ) Oooo.
+--- (----( )----------------------------+
\_) ) /
(_/
-----Original Message-----
From: MailScanner mailing list [mailto:MAILSCANNER at JISCMAIL.AC.UK] On
Behalf Of Joris Trooster / Interstroom
Sent: Thursday, July 18, 2002 8:14 AM
To: MAILSCANNER at JISCMAIL.AC.UK
Subject: Mailscanner statistics
Hello,
I changed the script from Peter Peters (thanks!), to include virus
statistics. Example output:
mailscannerstats.pl /var/log/mail.log
------------------------------------------------
Virus / spam statistics
Period Jul 14 06:48:23 -> Jul 18 13:50:03
Total e-mails scanned : 1132
Total bytes scanned : 12230878
Total seconds : 96
Total virusses detected : 82
Total spams tagged : 91
Timespan (seconds) : 370900
Total SpamAssassin : 79
Total SpamAssassin score : 1003
Total Infinite-Monkeys : 3
Total Osirusoft : 13
Total ORDB-RBL : 7
Total WIREHUB-DNSBL : 2
Viruses found (top 10):
Exploit-MIME.gen.b.: 23
W32/Klez.h at MM: 21
W32/Yaha.g at MM: 10
goldfish.mp3.scr: 5
VALUE.pif: 2
TYPE.pif: 2
Ilvd.scr: 1
NAME.bat: 1
new.bat: 1
align.scr: 1
------------------------------------------------
To have the virus information included you need add a few lines to
sweep.pl as explained in the file (attachment). The script only extracts
information from the mailscanner log, so the script should work with
both exim and sendmail.
Regards,
Joris
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.mailscanner.info/pipermail/mailscanner/attachments/20020724/9ccb009d/attachment.html
More information about the MailScanner
mailing list