MAPS RBL+ worth it?
Julian Field
mailscanner at ecs.soton.ac.uk
Tue Jul 16 13:52:30 IST 2002
Remember that this won't give you figures showing the improvement made by
having 1 particular RBL, as it increments some/all of the counters for 1
message if it was spotted by more than 1 RBL.
At 12:38 16/07/2002, you wrote:
>Hello Peter,
>
>Thanks for the script. There's a small error in analog4mailscanner.pl:
>$TotalOsurisoft++ should be $TotalOsirusoft++
>
>I am using exim and have my mailscanner logs seperated from the
>exim/mailserver logs. I changed to script to calculate the number of
>scanned e-mails from the mailscanner log only:
>
>while(<LOG>) {
> chomp;
> if (/mailscanner/) {
> $TotalMails += $1 if /Scanning (\d+)/;
> $TotalViruses += $1 if /found (\d+) viruses in/i;
> if (/is spam according to/) {
> $TotalSpam++;
> $TotalMonkeys++ if /Infinite-Monkeys/;
> $TotalOsirusoft++ if /osirusoft\.com/;
> $TotalORDB_RBL++ if /ORDB-RBL/;
> $TotalSPEWS++ if /SPEWS/;
> $TotalWIREHUB_DNSBL++ if /WIREHUB-DNSBL/;
> $TotalRFC_IGNORANT_IPWHOIS++ if /RFC-IGNORANT-IPWHOIS/;
> $TotalRFC_IGNORANT_DSN++ if /RFC-IGNORANT-DSN/;
> $TotalRFC_IGNORANT_POSTMASTER++ if /RFC-IGNORANT-POSTMASTER/;
> $TotalRFC_IGNORANT_ABUSE++ if /RFC-IGNORANT-ABUSE/;
> $TotalRFC_IGNORANT_WHOIS++ if /RFC-IGNORANT-WHOIS/;
> if (/SpamAssassin/) {
> $TotalAssassinScore += $1+($2/10) if /score=(\d+)\.(\d+),/;
> $TotalAssassin++;
> }
> }
> }
>}
--
Julian Field Teaching Systems Manager
jkf at ecs.soton.ac.uk Dept. of Electronics & Computer Science
Tel. 023 8059 2817 University of Southampton
Southampton SO17 1BJ
More information about the MailScanner
mailing list