Reply to topic
spamassassin bayesian not scoring
JeanNarH


Joined: 10 Aug 2006
Posts: 1
Reply with quote
Hi,
I think i've tried everything.... Bayesian isn't scoring, not only once, never. Never any Bayes_XX score.

Here's the results for sa-learn --dump magic|grep token :

0.000 0 3 0 non-token data: bayes db version
0.000 0 4795 0 non-token data: nspam
0.000 0 38467 0 non-token data: nham
0.000 0 141283 0 non-token data: ntokens
0.000 0 1152283639 0 non-token data: oldest atime
0.000 0 1155153838 0 non-token data: newest atime
0.000 0 0 0 non-token data: last journal sync atime
0.000 0 1155047803 0 non-token data: last expiry atime
0.000 0 2764800 0 non-token data: last expire atime delta
0.000 0 24315 0 non-token data: last expire reduction count

So my Db's is correct. it's also 0666 and owned by my amavis user.

I don't have any database access problem.

Here's the result of spamassassin -D --lint :

XX@server:~/.spamassassin( :-O )$ spamassassin -D --lint
debug: SpamAssassin version 3.0.1
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 '/bin', keeping.
debug: PATH included '/sbin', keeping.
debug: PATH included '/usr/bin', keeping.
debug: PATH included '/usr/sbin', keeping.
debug: Final PATH set to: /path
debug: diag: module installed: DBI, version 1.51
debug: diag: module installed: DB_File, version 1.810
debug: diag: module installed: Digest::SHA1, version 2.10
debug: diag: module installed: IO::Socket::UNIX, version 1.21
debug: diag: module installed: MIME::Base64, version 3.05
debug: diag: module installed: Net::DNS, version 0.57
debug: diag: module installed: Net::LDAP, version 0.33
debug: diag: module installed: Razor2::Client::Agent, version 2.82
debug: diag: module installed: Storable, version 2.13
debug: diag: module installed: URI, version 1.35
debug: ignore: using a test message to lint rules
debug: using "/etc/mail/spamassassin/init.pre" for site rules init.pre
debug: config: read file /etc/mail/spamassassin/init.pre
debug: using "//usr/share/spamassassin" for default rules dir
debug: config: read file //usr/share/spamassassin/10_misc.cf
debug: config: read file //usr/share/spamassassin/20_anti_ratware.cf
debug: config: read file //usr/share/spamassassin/20_compensate.cf
debug: config: read file //usr/share/spamassassin/20_dnsbl_tests.cf
debug: config: read file //usr/share/spamassassin/20_drugs.cf
debug: config: read file //usr/share/spamassassin/20_head_tests.cf
debug: config: read file //usr/share/spamassassin/20_meta_tests.cf
debug: config: read file //usr/share/spamassassin/20_phrases.cf
debug: config: read file //usr/share/spamassassin/20_porn.cf
debug: config: read file //usr/share/spamassassin/20_ratware.cf
debug: config: read file //usr/share/spamassassin/20_uri_tests.cf
debug: config: read file //usr/share/spamassassin/25_body_tests_es.cf
debug: config: read file //usr/share/spamassassin/25_body_tests_pl.cf
debug: config: read file //usr/share/spamassassin/25_hashcash.cf
debug: config: read file //usr/share/spamassassin/25_head_tests_es.cf
debug: config: read file //usr/share/spamassassin/25_head_tests_pl.cf
debug: config: read file //usr/share/spamassassin/25_spf.cf
debug: config: read file //usr/share/spamassassin/70_sare_adult.cf
debug: config: read file //usr/share/spamassassin/70_sare_bayes_poison_nxm.cf
debug: config: read file //usr/share/spamassassin/70_sare_header0.cf
debug: config: read file //usr/share/spamassassin/70_sare_highrisk.cf
debug: config: read file //usr/share/spamassassin/70_sare_html3.cf
debug: config: read file //usr/share/spamassassin/70_sare_html_eng.cf
debug: config: read file //usr/share/spamassassin/70_sare_obfu.cf
debug: config: read file //usr/share/spamassassin/70_sare_random.cf
debug: config: read file //usr/share/spamassassin/70_sare_specific.cf
debug: config: read file //usr/share/spamassassin/70_sare_spoof.cf
debug: config: read file //usr/share/spamassassin/70_sare_whitelist.cf
debug: config: read file //usr/share/spamassassin/70_sc_top200.cf
debug: config: read file //usr/share/spamassassin/72_sare_bml_post25x.cf
debug: config: read file //usr/share/spamassassin/99_FVGT_Tripwire.cf
debug: config: read file //usr/share/spamassassin/99_sare_fraud_post25x.cf
debug: config: read file //usr/share/spamassassin/antidrug.cf
debug: config: read file //usr/share/spamassassin/blacklist.cf
debug: config: read file //usr/share/spamassassin/bogus-virus-warnings.cf
debug: config: read file //usr/share/spamassassin/random.cf
debug: config: read file //usr/share/spamassassin/random.current.cf
debug: config: read file //usr/share/spamassassin/tripwire.cf
debug: using "//etc/mail/spamassassin" for site rules dir
debug: config: read file //etc/mail/spamassassin/local.cf
debug: using "/homes/XX/.spamassassin" for user state dir
debug: using "/homes/XX/.spamassassin/user_prefs" for user prefs file
debug: config: read file /homes/XX/.spamassassin/user_prefs
debug: plugin: loading Mail::SpamAssassin::Plugin::RelayCountry from @INC
debug: plugin: registered Mail::SpamAssassin::Plugin::RelayCountry=HASH(0x1be3de0)
debug: plugin: loading Mail::SpamAssassin::Plugin::URIDNSBL from @INC
debug: plugin: registered Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0x1bed7e4)
debug: plugin: loading Mail::SpamAssassin::Plugin::Hashcash from @INC
debug: plugin: registered Mail::SpamAssassin::Plugin::Hashcash=HASH(0x1e8d064)
debug: plugin: loading Mail::SpamAssassin::Plugin::SPF from @INC
debug: plugin: registered Mail::SpamAssassin::Plugin::SPF=HASH(0x1cfa658)
debug: bayes: 4386 tie-ing to DB file R/O /var/amavis/.spamassassin/bayes_toks
debug: bayes: 4386 tie-ing to DB file R/O /var/amavis/.spamassassin/bayes_seen
debug: bayes: found bayes db version 3
debug: Score set 3 chosen.
debug: ---- MIME PARSER START ----
debug: main message type: text/plain
debug: parsing normal part
debug: added part, type: text/plain
debug: ---- MIME PARSER END ----
debug: metadata: X-Spam-Relays-Trusted:
debug: metadata: X-Spam-Relays-Untrusted:
debug: decoding: no encoding detected
debug: Loading languages file...
debug: metadata: X-Languages:
debug: plugin: Mail::SpamAssassin::Plugin::RelayCountry=HASH(0x1be3de0) implements 'extract_metadata'
debug: metadata: X-Relay-Countries:
debug: plugin: Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0x1bed7e4) implements 'parsed_metadata'
debug: is Net::DNS::Resolver available? yes
debug: Net::DNS version: 0.57
debug: trying (3) cingular.com...
debug: looking up NS for 'cingular.com'
debug: NS lookup of cingular.com succeeded => Dns available (set dns_available to hardcode)
debug: is DNS available? 1
debug: URIDNSBL: domains to query:
debug: all '*From' addrs: ignore@compiling.spamassassin.taint.org
debug: Running tests for priority: 0
debug: running header regexp tests; score so far=0
debug: registering glue method for check_for_spf_helo_softfail (Mail::SpamAssassin::Plugin::SPF=HASH(0x1cfa658))
debug: SPF: message was delivered entirely via trusted relays, not required
debug: registering glue method for check_hashcash_double_spend (Mail::SpamAssassin::Plugin::Hashcash=HASH(0x1e8d064))
debug: registering glue method for check_for_spf_helo_pass (Mail::SpamAssassin::Plugin::SPF=HASH(0x1cfa658))
debug: registering glue method for check_hashcash_value (Mail::SpamAssassin::Plugin::Hashcash=HASH(0x1e8d064))
debug: Tie-ing to DB file R/O in /etc/mail/access.db
debug: Cannot open accessdb /etc/mail/access.db R/O: No such file or directory
debug: registering glue method for check_for_spf_softfail (Mail::SpamAssassin::Plugin::SPF=HASH(0x1cfa658))
debug: SPF: message was delivered entirely via trusted relays, not required
debug: registering glue method for check_for_spf_fail (Mail::SpamAssassin::Plugin::SPF=HASH(0x1cfa658))
debug: registering glue method for check_for_spf_helo_fail (Mail::SpamAssassin::Plugin::SPF=HASH(0x1cfa658))
debug: registering glue method for check_for_spf_pass (Mail::SpamAssassin::Plugin::SPF=HASH(0x1cfa658))
debug: running body-text per-line regexp tests; score so far=2
debug: running uri tests; score so far=2
debug: plugin: Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0x1bed7e4) implements 'check_tick'
debug: running raw-body-text per-line regexp tests; score so far=2
debug: running full-text regexp tests; score so far=2
debug: Running tests for priority: 500
debug: RBL: success for 1 of 1 queries
debug: plugin: Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0x1bed7e4) implements 'check_post_dnsbl'
debug: running meta tests; score so far=2
debug: running header regexp tests; score so far=3
debug: running body-text per-line regexp tests; score so far=3
debug: running uri tests; score so far=3
debug: running raw-body-text per-line regexp tests; score so far=3
debug: running full-text regexp tests; score so far=3
debug: is spam? score=3 required=5
debug: tests=ALL_TRUSTED,MISSING_DATE,MISSING_HEADERS,MISSING_SUBJECT,NO_REAL_NAME
debug: subtests=__HAS_MSGID,__MSGID_OK_DIGITS,__MSGID_OK_HOST,__NONEMPTY_BODY,__SANE_MSGID,__SARE_WHITELIST_FLAG,__UNUSABLE_MSGID


and in my local.cf, i got

use_bayes 1
bayes_auto_learn 1
bayes_auto_learn_threshold_nonspam 0
bayes_auto_learn_threshold_spam 10
bayes_min_ham_num 100
bayes_min_spam_num 100
bayes_path /var/amavis/.spamassassin/bayes
bayes_file_mode 0777


I tried everything that i could think of....i just don't know.

Ideas??! Seems that razor isn'T scoring either....

Something that i might have to mention : my username is Mike, and i've been login in my server as Mike, and running "sudo sa-learn --spam ...." . could that be it? the bayes_ files are owned by clamav, and i already tried running sa-learn as clamav as well. Done the same test with cyrusimap, wich is the imap owner....
spamassassin bayesian not scoring
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT  
Page 1 of 1  

  
  
 Reply to topic