[ Home | Liste | F.A.Q. | Risorse | Cerca... ]


[ Data: precedente | successivo | indice ] [ Argomento: precedente | successivo | indice ]


Archivio: Gennaio 2004 ml@sikurezza.org
Soggetto: Re: Statistiche antispam
Mittente: Buttha
Data: 28 Jan 2004 11:06:11 -0000
At 18.23 27/01/04, you wrote:

Buonasera,
sto facendo un po' di esperimenti con software antispam ed antivirus per linux.
Attualmento ho installato (e funzionano egregiamente) postfix + amavis-new + clamav + spamassassin.
Avrei pero' una domanda da farvi...esiste qualche scrippetino già pronto per eseguire statistiche sulla posta ricevuta (messaggi arrivati, messaggi spam, messaggi reject rbl....etc)? Sono infatti alla ricerca di un qualcosa del genere e che lavori soprattutto creando una reportistica testuale e non grafici ed html.

io ne ho preso uno esistente e l'ho cambiato per includere spamassassin nelle sue statistiche.
Lo trovi qui:
http://e-0.org/stats/download.php?id=2
Per quanto riguarda spamassassin, va a cercare un pattern di questo tipo:
/ identified spam \(((.*)\/(.*))\)/


L'output e' di questo tipo:

[root@e-0 download]# spam.pl -w -f 1
6.98.8Run at Wed Jan 28 09:31:37 2004
Log file: maillog.1 maillog
summary from Tue Jan 27 04:26:31 2004 to Wed Jan 28 09:31:37 2004 (1.2 days)
$Id: spamsum,v 1.28 2003/09/26 23:12:08 wolfgang Exp (patched by Buttha) $

total spam froms:          46
total spam relays:         54
total spam msgs:          151
total good msgs:            7
total msgs:               158
total spam/day:         124.6
total spam/month:        3738
spam ratio:               95%

Msg:
93 body: I-Worm.Swen
43 Service unavailable; Client host [X.X.X.X] blocked using sbl-xbl.spamhaus.org
10 Service unavailable; Client host [X.X.X.X] blocked using dnsbl.njabl.org
2 Service unavailable; Client host [X.X.X.X] blocked using dul.dnsbl.sorbs.net
2 Service unavailable; Client host [X.X.X.X] blocked using l1.spews.dnsbl.sorbs.net
2 spamassassin
1 Sender address rejected: Domain not found


Reject:
    57  554
     1  450

Relays:
    21  unknown[195.229.172.51]
    21  unknown[62.139.115.174]
    11  c2bapps9.btconnect.com[193.113.154.18]
[snip]

Helo:
    21  mail.zonnet.nl
    21  rommel.atlas.cz
    11  dswu17.btconnect.com
[snip]

hola
Buttha



________________________________________________________
http://www.sikurezza.org - Italian Security Mailing List




[ Home | Liste | F.A.Q. | Risorse | Cerca... ]

www.sikurezza.org - Italian Security Mailing List
(c) 1999-2005