Newsgroup: it.comp.os.linux.software
Titolo: Ottimizzare Spamassassin

Ciao a tutti.
Da quando ho aggiornato Spamassassin passano giornalmente alcuni messaggi di 
spam...
Ho cercato di istruire SA a filtrarli tramite sa-learn.
Se non sbaglio vedo ancora alcune cose non corrette in questo dump.
Cosa ne pensate?
Come posso ulteriormente migliorare la config di SA?
Grazie
Giulio
user@server>># spamassassin --lint -D
debug: Score set 0 chosen.
debug: running in taint mode? yes
debug: Running in taint mode, removing unsafe env vars, and resetting PATH
debug: PATH included '/usr/local/sbin', keeping.
debug: PATH included '/usr/sbin', keeping.
debug: PATH included '/sbin', keeping.
debug: PATH included '/usr/local/bin', keeping.
debug: PATH included '/usr/bin', keeping.
debug: PATH included '/bin', keeping.
debug: PATH included '/usr/X11R6/bin', keeping.
debug: PATH included '/usr/games', which doesn't exist, dropping.
debug: PATH included '/opt/www/htdig/bin', keeping.
debug: PATH included '/usr/lib/java/bin', keeping.
debug: PATH included '/usr/lib/java/jre/bin', keeping.
debug: PATH included '/usr/share/texmf/bin', keeping.
debug: Final PATH set to: 
/usr/local/sbin:/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/opt/www/htdig/bin:/usr/lib/java/bin:/usr/lib/java/jre/bin:/usr/share/texmf/bin
debug: ignore: using a test message to lint rules
debug: using "/usr/share/spamassassin" for default rules dir
debug: using "/etc/mail/spamassassin" for site rules dir
debug: using "/root/.spamassassin" for user state dir
debug: using "/root/.spamassassin/user_prefs" for user prefs file
Failed to parse line in SpamAssassin configuration, skipping: timelog_path 
/var/log/spamassassin    <<<--------- ?????
debug: bayes: 15670 tie-ing to DB file R/O 
/var/spool/spamassassin/bayes_toks
debug: bayes: 15670 tie-ing to DB file R/O 
/var/spool/spamassassin/bayes_seen
debug: bayes: found bayes db version 2
debug: Score set 3 chosen.
debug: Initialising learner
debug: Loading languages file...
debug: Language possibly: en,sco
debug: is Net::DNS::Resolver available? yes
debug: trying (3) yahoo.com...
debug: looking up MX for '
yahoo.com
'
debug: MX for '
yahoo.com
' exists? 1
debug: MX lookup of 
yahoo.com
 succeeded => Dns available (set dns_available 
to hardcode)
debug: is DNS available? 1
debug: all '*From' addrs: 
ign...@compiling.spamassassin.taint.org
debug: running header regexp tests; score so far=0
debug: running body-text per-line regexp tests; score so far=3.16
debug: bayes corpus size: nspam = 572, nham = 213
debug: uri tests: Done uriRE
debug: tokenize: header tokens for *F = "U*ignore 
D*
compiling.spamassassin.taint.org
 D*
spamassassin.taint.org
 D*
taint.org
 
D*org"
debug: tokenize: header tokens for *m = " 1108977011 lint_rules "
debug: bayes token 'H*F:D*org' => 0.00864610963203361
debug: bayes token 'N:H*m:NNNNNNNNNN' => 0.0194215451208415
debug: bayes token 'somewhat' => 0.0308069188066592
debug: bayes token 'body' => 0.0519497921080799
debug: bayes: score = 9.82017411780833e-05
debug: bayes: 15670 untie-ing
debug: bayes: 15670 untie-ing db_toks
debug: bayes: 15670 untie-ing db_seen
debug: Razor2 is not available
debug: running raw-body-text per-line regexp tests; score so far=3.16
debug: running uri tests; score so far=3.16
debug: uri tests: Done uriRE
debug: running full-text regexp tests; score so far=3.16
debug: Razor2 is not available
debug: Current PATH is: 
/usr/local/sbin:/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/opt/www/htdig/bin:/usr/lib/java/bin:/usr/lib/java/jre/bin:/usr/share/texmf/bin
debug: Pyzor is not available: pyzor not found
debug: DCCifd is not available: no r/w dccifd socket found.
debug: DCC is not available: no executable dccproc found.
debug: all '*To' addrs:
debug: RBL: success for 1 of 1 queries
debug: running meta tests; score so far=3.16
debug: is spam? score=1.06 required=4.5 
tests=BAYES_00,DATE_MISSING,NO_REAL_NAME,UNWANTED_LANGUAGE_BODY

 debug: DCC is not available: no executable dccproc found.
Prova ad installare pyzor, razor e dcc-client.
Prendendo dello spam a caso dai log guarda che punteggi gli hanno assegnato:
1.5 RAZOR2_CF_RANGE_51_100	BODY: Razor2 gives confidence level
0.1 RAZOR2_CHECK		Listed in Razor2
1.4 DCC_CHECK			Listed in DCC
Ciao.
--
Alessio 
a...@siaslabs.homelinux.net
http://sialabs.homelinux.net