HELP

2006-01-30 Thread Pierre Faudon

Hello,

Could you give me a little help 

with --lint option I have an error
lint: 1 issues detected. please rerun with debug enabled for more information. who seems to be an autowhite list problem. I rebuild whitelist.db and I got the same error !

Thanks for your help,

Regards,

Pierre



See below my configuration and my logs :

[EMAIL PROTECTED] log]# cat /etc/mail/spamassassin/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 1trusted_networks 10. 192.168.1.# lock_method flock
# Scoringrequired_score 5# Score pour une probabilitée Spam entre 50 et 60% :
score DCC_CHECK 4.000score RAZOR2_CHECK 2.500
score BAYES_60 3# Score pout proba entre 60 et 70%score BAYES_70 4score BAYES_80 4.8score BAYES_95 5score 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 bayesbayes_path /etc/mail/spamassassin/bayes_file_mode 0777use_auto_whitelist 1auto_whitelist_path /etc/mail/spamassassin/whitelist.db
use_bayes 1use_bayes_rules 1bayes_auto_learn 1bayes_auto_learn_threshold_spam 25bayes_auto_learn_threshold_nonspam -5bayes_min_ham_num 60bayes_min_spam_num 100
#required_hits 2.6#rewrite_subject 1#subject_tag *SPAM*
# Enable or disable network checksskip_rbl_checks 0use_razor2 1use_dcc 1use_pyzor 0



[EMAIL PROTECTED] log]# ls -la /etc/mail/spamassassin/total 4304drwxrwxrwx 2 root root 4096 Jan 30 10:33 .drwxrwxrwx 3 root root 4096 Sep 1 14:11 ..-rwxrwxrwx 1 vscan root 935 Sep 1 14:11 init.pre-rwxrwxrwx 1 vscan vscan 2088 Jan 30 10:33 _journal-rwxrwxrwx 1 vscan root 2352 Jan 27 17:05 local.cf-rwxrwxrwx 1 vscan root 163840 Jan 30 10:02 _seen-rwxrwxrwx 1 vscan root 4554752 Jan 30 10:02 _toks-rwxrwxrwx 1 vscan vscan 0 Jan 16 11:53 whitelist-rwxrwxrwx 1 vscan root 0 Nov 28 10:11 _whitelist-rwxrwxrwx 1 vscan root 12288 Jan 30 10:33 whitelist.db[EMAIL PROTECTED] log]#
[EMAIL PROTECTED] log]# spamassassin -D --lintdebug: SpamAssassin version 3.0.4debug: Score set 0 chosen.debug: running in taint mode? yesdebug: Running in taint mode, removing unsafe env vars, and resetting PATHdebug: PATH included '/usr/local/sbin', keeping.debug: PATH included '/usr/local/bin', keeping.debug: PATH included '/sbin', keeping.debug: PATH included '/bin', keeping.debug: PATH included '/usr/sbin', keeping.debug: PATH included '/usr/bin', keeping.debug: PATH included '/usr/X11R6/bin', keeping.debug: PATH included '/root/bin', which doesn't exist, dropping.debug: Final PATH set to: /usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bindebug: diag: module installed: DBI, version 1.48debug: diag: module installed: DB_File, version 1.811debug: diag: module installed: Digest::SHA1, version 2.10debug: diag: module installed: IO::Socket::UNIX, version 1.2debug: diag: module installed: MIME::Base64, version 3.05debug: diag: module installed: Net::DNS, version 0.51debug: diag: module installed: Net::LDAP, version 0.33debug: diag: module installed: Razor2::Client::Agent, version 2.77debug: diag: module installed: Storable, version 2.15debug: diag: module installed: URI, version 1.35debug: ignore: using a test message to lint rulesdebug: using "/etc/mail/spamassassin/init.pre" for site rules init.predebug: config: read file /etc/mail/spamassassin/init.predebug: using "/usr/share/spamassassin" for default rules dirdebug: config: read file /usr/share/spamassassin/10_misc.cfdebug: config: read file /usr/share/spamassassin/20_anti_ratware.cfdebug: config: read file /usr/share/spamassassin/20_body_tests.cfdebug: config: read file /usr/share/spamassassin/20_compensate.cfdebug: config: read file /usr/share/spamassassin/20_dnsbl_tests.cfdebug: config: read file /usr/share/spamassassin/20_drugs.cfdebug: config: read file /usr/share/spamassassin/20_fake_helo_tests.cfdebug: config: read file /usr/share/spamassassin/20_head_tests.cfdebug: config: read file /usr/share/spamassassin/20_html_tests.cfdebug: config: read file /usr/share/spamassassin/20_meta_tests.cfdebug: config: read file /usr/share/spamassassin/20_phrases.cfdebug: config: read file /usr/share/spamassassin/20_porn.cfdebug: config: read file /usr/share/spamassassin/20_ratware.cfdebug: config: read file /usr/share/spamassassin/20_uri_tests.cfdebug: config: read file /usr/share/spamassassin/23_bayes.cfdebug: config: read file /usr/share/spamassassin/25_body_tests_es.cfdebug: config: read file /usr/share/spamassassin/25_hashcash.cfdebug: config: read file /usr/share/spamassassin/25_spf.cfdebug: config: read file /usr/share/spamassassin/25_uribl.cfdebug: config: read file /usr/share/spamassassin/30_text_de.cfdebug: config: read file /usr/share/spamassassin/30_text_fr.cfdebug: config: read file 

Help with bayes configuration

2005-11-18 Thread Pierre Faudon

Hello,

I installed spamassassin a month agowiththebayes 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 magic0.000 0 3 0 non-token data: bayes db version0.000 0 0 0 non-token data: nspam0.000 0 0 0 non-token data: nham0.000 0 0 0 non-token data: ntokens0.000 0 0 0 non-token data: oldest atime0.000 0 0 0 non-token data: newest atime0.000 0 0 0 non-token data: last journal sync atime0.000 0 0 0 non-token data: last expiry atime0.000 0 0 0 non-token data: last expire atime delta0.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 --rebuildThe --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 magic0.000 0 3 0 non-token data: bayes db version0.000 0 6 0 non-token data: nspam0.000 0 5 0 non-token data: nham0.000 0 337 0 non-token data: ntokens0.000 0 1132317402 0 non-token data: oldest atime0.000 0 1132317451 0 non-token data: newest atime0.000 0 1132317466 0 non-token data: last journal sync atime0.000 0 0 0 non-token data: last expiry atime0.000 0 0 0 non-token data: last expire atime delta0.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 1trusted_networks 10. 192.168.1.# lock_method flock
# Scoringrequired_score 5# Score pour une probabilitée Spam entre 50 et 60% :
score DCC_CHECK 4.000score RAZOR2_CHECK 2.500
score BAYES_60 3# Score pout proba entre 60 et 70%score BAYES_70 4score BAYES_80 4.8score BAYES_95 5score 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 bayesbayes_path /etc/mail/spamassassin/bayes_file_mode 0777use_auto_whitelist 1auto_whitelist_path /etc/mail/spamassassin/whitelist
use_bayes 1use_bayes_rules 1bayes_auto_learn 1bayes_auto_learn_threshold_spam 25bayes_auto_learn_threshold_nonspam -5bayes_min_ham_num 60bayes_min_spam_num 100
#required_hits 2.6rewrite_subject 1subject_tag *SPAM*
# Enable or disable network checksskip_rbl_checks 0use_razor2 1use_dcc 1use_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)




Re:Help with bayes configuration

2005-11-18 Thread Pierre Faudon

I forgot ... the version !

[EMAIL PROTECTED] spamassassin]# spamassassin -VSpamAssassin version 3.0.4 running on Perl version 5.8.0


 Hello,


 
 I installed spamassassin a month agowiththebayes 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 magic0.000 0 3 0 non-token data: bayes db version0.000 0 0 0 non-token data: nspam0.000 0 0 0 non-token data: nham0.000 0 0 0 non-token data: ntokens0.000 0 0 0 non-token data: oldest atime0.000 0 0 0 non-token data: newest atime0.000 0 0 0 non-token data: last journal sync atime0.000 0 0 0 non-token data: last expiry atime0.000 0 0 0 non-token data: last expire atime delta0.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 --rebuildThe --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 magic0.000 0 3 0 non-token data: bayes db version0.000 0 6 0 non-token data: nspam0.000 0 5 0 non-token data: nham0.000 0 337 0 non-token data: ntokens0.000 0 1132317402 0 non-token data: oldest atime0.000 0 1132317451 0 non-token data: newest atime0.000 0 1132317466 0 non-token data: last journal sync atime0.000 0 0 0 non-token data: last expiry atime0.000 0 0 0 non-token data: last expire atime delta0.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 1trusted_networks 10. 192.168.1.# lock_method flock
 # Scoringrequired_score 5# Score pour une probabilitée Spam entre 50 et 60% :
 score DCC_CHECK 4.000score RAZOR2_CHECK 2.500
 score BAYES_60 3# Score pout proba entre 60 et 70%score BAYES_70 4score BAYES_80 4.8score BAYES_95 5score 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 bayesbayes_path /etc/mail/spamassassin/bayes_file_mode 0777use_auto_whitelist 1auto_whitelist_path /etc/mail/spamassassin/whitelist
 use_bayes 1use_bayes_rules 1bayes_auto_learn 1bayes_auto_learn_threshold_spam 25bayes_auto_learn_threshold_nonspam -5bayes_min_ham_num 60bayes_min_spam_num 100
 #required_hits 2.6rewrite_subject 1subject_tag *SPAM*
 # Enable or disable network checksskip_rbl_checks 0use_razor2 1use_dcc 1use_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)


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)