On Dec 1, 2005, at 9:28 PM, Nick Hemmesch wrote:
If spamassassin is having problems reading bayes_seen, bayes_toks or
auto-whitelist, run spamassassin -D --lint and it will unlock
everything
for you.
Interesting - I just did that, and upon the conclusion, none of the
preferences of those files had changed.
Furthermore, I'm attaching the output at the end of this mail, as
there were a couple of interesting notices:
Not sure if it means anything:
[25665] dbg: bayes: no dbs present, cannot tie DB R/O: /
root/.spamassassin/bayes_toks
Here's the output:
spamassassin -D --lint
[25665] dbg: logger: adding facilities: all
[25665] dbg: logger: logging level is DBG
[25665] dbg: generic: SpamAssassin version 3.1.0
[25665] dbg: config: score set 0 chosen.
[25665] dbg: util: running in taint mode? yes
[25665] dbg: util: taint mode: deleting unsafe environment variables,
resetting PATH
[25665] dbg: util: PATH included '/usr/kerberos/sbin', keeping
[25665] dbg: util: PATH included '/usr/kerberos/bin', keeping
[25665] dbg: util: PATH included '/usr/local/sbin', keeping
[25665] dbg: util: PATH included '/usr/local/bin', keeping
[25665] dbg: util: PATH included '/sbin', keeping
[25665] dbg: util: PATH included '/bin', keeping
[25665] dbg: util: PATH included '/usr/sbin', keeping
[25665] dbg: util: PATH included '/usr/bin', keeping
[25665] dbg: util: PATH included '/usr/X11R6/bin', keeping
[25665] dbg: util: PATH included '/root/bin', which doesn't exist,
dropping
[25665] dbg: util: final PATH set to: /usr/kerberos/sbin:/usr/
kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/
bin:/usr/X11R6/bin
[25665] dbg: dns: is Net::DNS::Resolver available? yes
[25665] dbg: dns: Net::DNS version: 0.48
[25665] dbg: dns: name server: 206.13.28.12, family: 2, ipv6: 0
[25665] dbg: diag: perl platform: 5.008005 linux
[25665] dbg: diag: module installed: Digest::SHA1, version 2.07
[25665] dbg: diag: module installed: Net::DNS, version 0.48
[25665] dbg: diag: module installed: Net::SMTP, version 2.29
[25665] dbg: diag: module not installed: Mail::SPF::Query ('require'
failed)
[25665] dbg: diag: module not installed: IP::Country::Fast ('require'
failed)
[25665] dbg: diag: module not installed: Razor2::Client::Agent
('require' failed)
[25665] dbg: diag: module not installed: Net::Ident ('require' failed)
[25665] dbg: diag: module not installed: IO::Socket::INET6 ('require'
failed)
[25665] dbg: diag: module not installed: IO::Socket::SSL ('require'
failed)
[25665] dbg: diag: module installed: Time::HiRes, version 1.55
[25665] dbg: diag: module installed: DBI, version 1.40
[25665] dbg: diag: module installed: Getopt::Long, version 2.34
[25665] dbg: diag: module installed: LWP::UserAgent, version 2.031
[25665] dbg: diag: module installed: DB_File, version 1.809
[25665] dbg: diag: module installed: HTML::Parser, version 3.35
[25665] dbg: diag: module installed: MIME::Base64, version 3.01
[25665] dbg: diag: module installed: HTTP::Date, version 1.46
[25665] dbg: diag: module not installed: Archive::Tar ('require' failed)
[25665] dbg: diag: module not installed: IO::Zlib ('require' failed)
[25665] dbg: ignore: using a test message to lint rules
[25665] dbg: config: using "/etc/mail/spamassassin" for site rules
pre files
[25665] dbg: config: read file /etc/mail/spamassassin/v310.pre
[25665] dbg: config: using "/usr/share/spamassassin" for sys rules
pre files
[25665] dbg: config: using "/usr/share/spamassassin" for default
rules dir
[25665] dbg: config: read file /usr/share/spamassassin/10_misc.cf
[25665] dbg: config: read file /usr/share/spamassassin/20_advance_fee.cf
[25665] dbg: config: read file /usr/share/spamassassin/
20_anti_ratware.cf
[25665] dbg: config: read file /usr/share/spamassassin/20_body_tests.cf
[25665] dbg: config: read file /usr/share/spamassassin/20_compensate.cf
[25665] dbg: config: read file /usr/share/spamassassin/20_dnsbl_tests.cf
[25665] dbg: config: read file /usr/share/spamassassin/20_drugs.cf
[25665] dbg: config: read file /usr/share/spamassassin/
20_fake_helo_tests.cf
[25665] dbg: config: read file /usr/share/spamassassin/20_head_tests.cf
[25665] dbg: config: read file /usr/share/spamassassin/20_html_tests.cf
[25665] dbg: config: read file /usr/share/spamassassin/20_meta_tests.cf
[25665] dbg: config: read file /usr/share/spamassassin/20_net_tests.cf
[25665] dbg: config: read file /usr/share/spamassassin/20_phrases.cf
[25665] dbg: config: read file /usr/share/spamassassin/20_porn.cf
[25665] dbg: config: read file /usr/share/spamassassin/20_ratware.cf
[25665] dbg: config: read file /usr/share/spamassassin/20_uri_tests.cf
[25665] dbg: config: read file /usr/share/spamassassin/23_bayes.cf
[25665] dbg: config: read file /usr/share/spamassassin/25_accessdb.cf
[25665] dbg: config: read file /usr/share/spamassassin/25_antivirus.cf
[25665] dbg: config: read file /usr/share/spamassassin/
25_body_tests_es.cf
[25665] dbg: config: read file /usr/share/spamassassin/
25_body_tests_pl.cf
[25665] dbg: config: read file /usr/share/spamassassin/25_dcc.cf
[25665] dbg: config: read file /usr/share/spamassassin/25_domainkeys.cf
[25665] dbg: config: read file /usr/share/spamassassin/25_hashcash.cf
[25665] dbg: config: read file /usr/share/spamassassin/25_pyzor.cf
[25665] dbg: config: read file /usr/share/spamassassin/25_razor2.cf
[25665] dbg: config: read file /usr/share/spamassassin/25_replace.cf
[25665] dbg: config: read file /usr/share/spamassassin/25_spf.cf
[25665] dbg: config: read file /usr/share/spamassassin/25_textcat.cf
[25665] dbg: config: read file /usr/share/spamassassin/25_uribl.cf
[25665] dbg: config: read file /usr/share/spamassassin/30_text_de.cf
[25665] dbg: config: read file /usr/share/spamassassin/30_text_fr.cf
[25665] dbg: config: read file /usr/share/spamassassin/30_text_it.cf
[25665] dbg: config: read file /usr/share/spamassassin/30_text_nl.cf
[25665] dbg: config: read file /usr/share/spamassassin/30_text_pl.cf
[25665] dbg: config: read file /usr/share/spamassassin/30_text_pt_br.cf
[25665] dbg: config: read file /usr/share/spamassassin/50_scores.cf
[25665] dbg: config: read file /usr/share/spamassassin/60_awl.cf
[25665] dbg: config: read file /usr/share/spamassassin/60_whitelist.cf
[25665] dbg: config: read file /usr/share/spamassassin/
60_whitelist_spf.cf
[25665] dbg: config: read file /usr/share/spamassassin/
60_whitelist_subject.cf
[25665] dbg: config: using "/etc/mail/spamassassin" for site rules dir
[25665] dbg: config: read file /etc/mail/spamassassin/local.cf
[25665] dbg: config: using "/root/.spamassassin" for user state dir
[25665] dbg: config: using "/root/.spamassassin" for user state dir
[25665] warn: config: created user preferences file: /
root/.spamassassin/user_prefs
[25665] dbg: config: using "/root/.spamassassin/user_prefs" for user
prefs file
[25665] dbg: config: read file /root/.spamassassin/user_prefs
[25665] dbg: plugin: loading Mail::SpamAssassin::Plugin::Pyzor from @INC
[25665] dbg: pyzor: network tests on, attempting Pyzor
[25665] dbg: plugin: registered Mail::SpamAssassin::Plugin::Pyzor=HASH
(0x1a91c70)
[25665] dbg: plugin: loading Mail::SpamAssassin::Plugin::SpamCop from
@INC
[25665] dbg: reporter: network tests on, attempting SpamCop
[25665] dbg: plugin: registered
Mail::SpamAssassin::Plugin::SpamCop=HASH(0x83cbc0)
[25665] dbg: plugin: loading Mail::SpamAssassin::Plugin::AWL from @INC
[25665] dbg: plugin: registered Mail::SpamAssassin::Plugin::AWL=HASH
(0x1a98c30)
[25665] dbg: plugin: loading
Mail::SpamAssassin::Plugin::AutoLearnThreshold from @INC
[25665] dbg: plugin: registered
Mail::SpamAssassin::Plugin::AutoLearnThreshold=HASH(0x1a9a130)
[25665] dbg: plugin: loading
Mail::SpamAssassin::Plugin::WhiteListSubject from @INC
[25665] dbg: plugin: registered
Mail::SpamAssassin::Plugin::WhiteListSubject=HASH(0x1a9af20)
[25665] dbg: plugin: loading Mail::SpamAssassin::Plugin::MIMEHeader
from @INC
[25665] dbg: plugin: registered
Mail::SpamAssassin::Plugin::MIMEHeader=HASH(0x1b1fa20)
[25665] dbg: plugin: loading Mail::SpamAssassin::Plugin::ReplaceTags
from @INC
[25665] dbg: plugin: registered
Mail::SpamAssassin::Plugin::ReplaceTags=HASH(0x1b2f7a0)
[25665] dbg: config: adding redirector regex: /^http:\/\/chkpt\.zdnet
\.com\/chkpt\/\w+\/(.*)$/i
[25665] dbg: config: adding redirector regex: /^http:\/\/www(?:\d+)?
\.nate\.com\/r\/\w+\/(.*)$/i
[25665] dbg: config: adding redirector regex: /^http:\/\/.+\.gov\/
(?:.*\/)?externalLink\.jhtml\?.*url=(.*?)(?:&.*)?$/i
[25665] dbg: config: adding redirector regex: /^http:\/\/redir
\.internet\.com\/.+?\/.+?\/(.*)$/i
[25665] dbg: config: adding redirector regex: /^http:\/\/(?:.*?\.)?
adtech\.de\/.*(?:;|\|)link=(.*?)(?:;|$)/i
[25665] dbg: config: adding redirector regex: m'^http.*?/redirect\.php
\?.*(?<=[?&])goto=(.*?)(?:$|[&\#])'i
[25665] dbg: config: adding redirector regex: m'^https?:/*(?:[^/]+\.)?
emf\d\.com/r\.cfm.*?&r=(.*)'i
[25665] dbg: plugin: Mail::SpamAssassin::Plugin::ReplaceTags=HASH
(0x1b2f7a0) implements 'finish_parsing_end'
[25665] dbg: replacetags: replacing tags
[25665] dbg: replacetags: done replacing tags
[25665] dbg: bayes: no dbs present, cannot tie DB R/O: /
root/.spamassassin/bayes_toks
[25665] dbg: config: score set 1 chosen.
[25665] dbg: message: ---- MIME PARSER START ----
[25665] dbg: message: main message type: text/plain
[25665] dbg: message: parsing normal part
[25665] dbg: message: added part, type: text/plain
[25665] dbg: message: ---- MIME PARSER END ----
[25665] dbg: bayes: no dbs present, cannot tie DB R/O: /
root/.spamassassin/bayes_toks
[25665] dbg: dns: testing resolver nameservers: 206.13.28.12,
206.13.29.12, 206.13.30.12
[25665] dbg: dns: trying (3) adelphia.net...
[25665] dbg: dns: looking up NS for 'adelphia.net'
[25665] dbg: dns: NS lookup of adelphia.net using 206.13.28.12
succeeded => DNS available (set dns_available to override)
[25665] dbg: dns: is DNS available? 1
[25665] dbg: metadata: X-Spam-Relays-Trusted:
[25665] dbg: metadata: X-Spam-Relays-Untrusted:
[25665] dbg: message: no encoding detected
[25665] dbg: check: running tests for priority: 0
[25665] dbg: rules: running header regexp tests; score so far=0
[25665] dbg: rules: ran header rule __HAS_MSGID ======> got hit: "<"
[25665] dbg: rules: ran header rule __MSGID_OK_DIGITS ======> got
hit: "1133503761"
[25665] dbg: rules: ran header rule __SANE_MSGID ======> got hit:
"<[EMAIL PROTECTED]>
[25665] dbg: rules: "
[25665] dbg: rules: ran header rule NO_REAL_NAME ======> got hit:
"[EMAIL PROTECTED]
[25665] dbg: rules: "
[25665] dbg: rules: ran header rule __MSGID_OK_HOST ======> got hit:
"@lint_rules>"
[25665] dbg: eval: all '*From' addrs:
[EMAIL PROTECTED]
[25665] dbg: plugin: registering glue method for
check_subject_in_blacklist
(Mail::SpamAssassin::Plugin::WhiteListSubject=HASH(0x1a9af20))
[25665] dbg: eval: all '*To' addrs:
[25665] dbg: rules: ran eval rule NO_RELAYS ======> got hit
[25665] dbg: rules: ran eval rule __UNUSABLE_MSGID ======> got hit
[25665] dbg: plugin: registering glue method for
check_subject_in_whitelist
(Mail::SpamAssassin::Plugin::WhiteListSubject=HASH(0x1a9af20))
[25665] dbg: rules: ran eval rule MISSING_HEADERS ======> got hit
[25665] dbg: rules: running body-text per-line regexp tests; score so
far=0.738
[25665] dbg: rules: ran body rule __NONEMPTY_BODY ======> got hit: "I"
[25665] dbg: uri: running uri tests; score so far=0.738
[25665] dbg: bayes: no dbs present, cannot tie DB R/O: /
root/.spamassassin/bayes_toks
[25665] dbg: bayes: not scoring message, returning undef
[25665] dbg: bayes: opportunistic call attempt failed, DB not readable
[25665] dbg: rules: running raw-body-text per-line regexp tests;
score so far=0.738
[25665] dbg: rules: running full-text regexp tests; score so far=0.738
[25665] dbg: plugin: registering glue method for check_pyzor
(Mail::SpamAssassin::Plugin::Pyzor=HASH(0x1a91c70))
[25665] dbg: util: current PATH is: /usr/kerberos/sbin:/usr/kerberos/
bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/
X11R6/bin
[25665] dbg: pyzor: pyzor is not available: no pyzor executable found
[25665] dbg: pyzor: no pyzor found, disabling Pyzor
[25665] dbg: check: running tests for priority: 500
[25665] dbg: rules: running meta tests; score so far=0.738
[25665] dbg: rules: running header regexp tests; score so far=2.216
[25665] dbg: rules: running body-text per-line regexp tests; score so
far=2.216
[25665] dbg: uri: running uri tests; score so far=2.216
[25665] dbg: rules: running raw-body-text per-line regexp tests;
score so far=2.216
[25665] dbg: rules: running full-text regexp tests; score so far=2.216
[25665] dbg: check: running tests for priority: 1000
[25665] dbg: rules: running meta tests; score so far=2.216
[25665] dbg: rules: running header regexp tests; score so far=2.216
[25665] dbg: plugin: registering glue method for
check_from_in_auto_whitelist (Mail::SpamAssassin::Plugin::AWL=HASH
(0x1a98c30))
[25665] dbg: locker: safe_lock: created /root/.spamassassin/auto-
whitelist.lock.mbox.fizbin.com.25665
[25665] dbg: locker: safe_lock: trying to get lock on /
root/.spamassassin/auto-whitelist with 0 retries
[25665] dbg: locker: safe_lock: link to /root/.spamassassin/auto-
whitelist.lock: link ok
[25665] dbg: auto-whitelist: tie-ing to DB file of type DB_File R/W
in /root/.spamassassin/auto-whitelist
[25665] dbg: auto-whitelist: db-based
[EMAIL PROTECTED]|ip=none scores 0/0
[25665] dbg: auto-whitelist: AWL active, pre-score: 2.216, autolearn
score: 2.216, mean: undef, IP: undef
[25665] dbg: auto-whitelist: DB addr list: untie-ing and unlocking
[25665] dbg: auto-whitelist: DB addr list: file locked, breaking lock
[25665] dbg: locker: safe_unlock: unlink /root/.spamassassin/auto-
whitelist.lock
[25665] dbg: auto-whitelist: post auto-whitelist score: 2.216
[25665] dbg: rules: running body-text per-line regexp tests; score so
far=2.216
[25665] dbg: uri: running uri tests; score so far=2.216
[25665] dbg: rules: running raw-body-text per-line regexp tests;
score so far=2.216
[25665] dbg: rules: running full-text regexp tests; score so far=2.216
[25665] dbg: check: is spam? score=2.216 required=5
[25665] dbg: check:
tests=MISSING_HEADERS,MISSING_SUBJECT,NO_REAL_NAME,NO_RECEIVED,NO_RELAYS
,TO_CC_NONE
[25665] dbg: check:
subtests=__HAS_MSGID,__MSGID_OK_DIGITS,__MSGID_OK_HOST,__NONEMPTY_BODY,_
_SANE_MSGID,__UNUSABLE_MSGID
---
"Only two things are infinite, the universe and human stupidity, and
I'm not sure about the former." --Albert Einstein
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]