Hello,
 
I installed spamassassin a month ago with the bayes auto learn option, but there is still 60% of spam that is not detected. In my bayes db there was nothing ...
 
[EMAIL PROTECTED] root]# sa-learn --dump magic
0.000          0          3          0  non-token data: bayes db version
0.000          0          0          0  non-token data: nspam
0.000          0          0          0  non-token data: nham
0.000          0          0          0  non-token data: ntokens
0.000          0          0          0  non-token data: oldest atime
0.000          0          0          0  non-token data: newest atime
0.000          0          0          0  non-token data: last journal sync atime
0.000          0          0          0  non-token data: last expiry atime
0.000          0          0          0  non-token data: last expire atime delta
0.000          0          0          0  non-token data: last expire reduction count
 
Today I rebuild the db but it seems still not working ...

[EMAIL PROTECTED] root]# sa-learn --ham --no-rebuild /etc/mail/spamassassin/
The --no-rebuild option has been deprecated.  Please use --no-sync instead.
Learned from 5 message(s) (5 message(s) examined).
[EMAIL PROTECTED] root]# sa-learn --spam --no-rebuild /etc/mail/spamassassin/
The --no-rebuild option has been deprecated.  Please use --no-sync instead.
Learned from 6 message(s) (6 message(s) examined).
[EMAIL PROTECTED] root]#
[EMAIL PROTECTED] root]# sa-learn --rebuild
The --rebuild option has been deprecated.  Please use --sync instead.
synced Bayes databases from journal in 0 seconds: 549 unique entries (549 total entries)
[EMAIL PROTECTED] root]#
[EMAIL PROTECTED] spamassassin]# sa-learn --dump magic
0.000          0          3          0  non-token data: bayes db version
0.000          0          6          0  non-token data: nspam
0.000          0          5          0  non-token data: nham
0.000          0        337          0  non-token data: ntokens
0.000          0 1132317402          0  non-token data: oldest atime
0.000          0 1132317451          0  non-token data: newest atime
0.000          0 1132317466          0  non-token data: last journal sync atime
0.000          0          0          0  non-token data: last expiry atime
0.000          0          0          0  non-token data: last expire atime delta
0.000          0          0          0  non-token data: last expire reduction count
 
 
 
My spamassassin configuration :
 
[EMAIL PROTECTED] spamassassin]# cat local.cf
# This is the right place to customize your installation of SpamAssassin.
#
# See 'perldoc Mail::SpamAssassin::Conf' for details of what can be
# tweaked.
#
###########################################################################
#
# rewrite_header Subject *****SPAM*****
# report_safe 1
 trusted_networks 10. 192.168.1.
# lock_method flock
# Scoring
required_score 5
# Score pour une probabilitée Spam entre 50 et 60% :
score DCC_CHECK 4.000
score RAZOR2_CHECK 2.500
score BAYES_60 3
# Score pout proba entre 60 et 70%
score BAYES_70 4
score BAYES_80 4.8
score BAYES_95 5
score BAYES_99 6
#user_scores_dsn               DBI:mysql:spamassassin:127.0.0.1
#user_scores_sql_username      spamassassin
#user_scores_sql_password      <password>
# Encapsulation ?
report_safe             0
 
dns_available yes
# Settings bayes
bayes_path /etc/mail/spamassassin/
bayes_file_mode 0777
use_auto_whitelist 1
auto_whitelist_path /etc/mail/spamassassin/whitelist
use_bayes               1
use_bayes_rules         1
bayes_auto_learn        1
bayes_auto_learn_threshold_spam 25
bayes_auto_learn_threshold_nonspam -5
bayes_min_ham_num 60
bayes_min_spam_num 100

#required_hits           2.6
rewrite_subject         1
subject_tag             *****SPAM*****

# Enable or disable network checks
skip_rbl_checks 0
use_razor2              1
use_dcc                 1
use_pyzor               0

# Mail using languages used in these country codes will not be marked
# as being possibly spam in a foreign language.
# - english french
# Mail using locales used in these country codes will not be marked
# as being possibly spam in a foreign language.
 
[EMAIL PROTECTED] spamassassin]#

 


Accédez au courrier électronique de La Poste : www.laposte.net ;
3615 LAPOSTENET (0,34 /mn) ; tél : 08 92 68 13 50 (0,34/mn)

Reply via email to