Hi,
change auto_learn to bayes_auto_learn and you will be fine. Restart
spamassassin and run spamassassin -D --lint again.
Regards,
Nick
>
> Hi everyone,
>
> i have updated to the lateset Spam Packages. now when i run spamassassin
> -D
> -lint
>
> I get the following msg: (/what can I do against the 21 warnings?)
>
>
> [7635] dbg: logger: adding facilities: all
> [7635] dbg: logger: logging level is DBG
> [7635] dbg: generic: SpamAssassin version 3.1.0
> [7635] dbg: config: score set 0 chosen.
> [7635] dbg: util: running in taint mode? yes
> [7635] dbg: util: taint mode: deleting unsafe environment variables,
> resetting PATH
> [7635] dbg: util: PATH included '/usr/kerberos/sbin', keeping
> [7635] dbg: util: PATH included '/usr/kerberos/bin', keeping
> [7635] dbg: util: PATH included '/usr/local/sbin', keeping
> [7635] dbg: util: PATH included '/usr/local/bin', keeping
> [7635] dbg: util: PATH included '/sbin', keeping
> [7635] dbg: util: PATH included '/bin', keeping
> [7635] dbg: util: PATH included '/usr/sbin', keeping
> [7635] dbg: util: PATH included '/usr/bin', keeping
> [7635] dbg: util: PATH included '/usr/X11R6/bin', keeping
> [7635] dbg: util: PATH included '/root/bin', which doesn't exist, dropping
> [7635] dbg: util: final PATH set to:
> /usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/b
> in:/usr/sbin:/usr/bin:/usr/X11R6/bin
> [7635] dbg: dns: is Net::DNS::Resolver available? yes
> [7635] dbg: dns: Net::DNS version: 0.49
> [7635] dbg: dns: name server: 195.202.32.79, family: 2, ipv6: 0
> [7635] dbg: diag: perl platform: 5.008006 linux
> [7635] dbg: diag: module installed: Digest::SHA1, version 2.10
> [7635] dbg: diag: module installed: Getopt::Long, version 2.34
> [7635] dbg: diag: module installed: LWP::UserAgent, version 2.033
> [7635] dbg: diag: module installed: HTTP::Date, version 1.47
> [7635] dbg: diag: module installed: Archive::Tar, version 1.26
> [7635] dbg: diag: module installed: IO::Zlib, version 1.04
> [7635] dbg: diag: module installed: DB_File, version 1.810
> [7635] dbg: diag: module installed: HTML::Parser, version 3.45
> [7635] dbg: diag: module installed: MIME::Base64, version 3.05
> [7635] dbg: diag: module installed: Net::DNS, version 0.49
> [7635] dbg: diag: module installed: Net::SMTP, version 2.29
> [7635] dbg: diag: module installed: Mail::SPF::Query, version 1.997
> [7635] dbg: diag: module installed: IP::Country::Fast, version 309.002
> [7635] dbg: diag: module installed: Razor2::Client::Agent, version 2.75
> [7635] dbg: diag: module installed: Net::Ident, version 1.20
> [7635] dbg: diag: module not installed: IO::Socket::INET6 ('require'
> failed)
> [7635] dbg: diag: module not installed: IO::Socket::SSL ('require' failed)
> [7635] dbg: diag: module installed: Time::HiRes, version 1.65
> [7635] dbg: diag: module installed: DBI, version 1.48
> [7635] dbg: ignore: using a test message to lint rules
> [7635] dbg: config: using "/etc/mail/spamassassin" for site rules pre
> files
> [7635] dbg: config: read file /etc/mail/spamassassin/v310.pre
> [7635] dbg: config: using "/usr/share/spamassassin" for sys rules pre
> files
> [7635] dbg: config: using "/usr/share/spamassassin" for default rules dir
> [7635] dbg: config: read file /usr/share/spamassassin/10_misc.cf
> [7635] dbg: config: read file /usr/share/spamassassin/20_advance_fee.cf
> [7635] dbg: config: read file /usr/share/spamassassin/20_anti_ratware.cf
> [7635] dbg: config: read file /usr/share/spamassassin/20_body_tests.cf
> [7635] dbg: config: read file /usr/share/spamassassin/20_compensate.cf
> [7635] dbg: config: read file /usr/share/spamassassin/20_dnsbl_tests.cf
> [7635] dbg: config: read file /usr/share/spamassassin/20_drugs.cf
> [7635] dbg: config: read file
> /usr/share/spamassassin/20_fake_helo_tests.cf
> [7635] dbg: config: read file /usr/share/spamassassin/20_head_tests.cf
> [7635] dbg: config: read file /usr/share/spamassassin/20_html_tests.cf
> [7635] dbg: config: read file /usr/share/spamassassin/20_meta_tests.cf
> [7635] dbg: config: read file /usr/share/spamassassin/20_net_tests.cf
> [7635] dbg: config: read file /usr/share/spamassassin/20_phrases.cf
> [7635] dbg: config: read file /usr/share/spamassassin/20_porn.cf
> [7635] dbg: config: read file /usr/share/spamassassin/20_ratware.cf
> [7635] dbg: config: read file /usr/share/spamassassin/20_uri_tests.cf
> [7635] dbg: config: read file /usr/share/spamassassin/23_bayes.cf
> [7635] dbg: config: read file /usr/share/spamassassin/25_accessdb.cf
> [7635] dbg: config: read file /usr/share/spamassassin/25_antivirus.cf
> [7635] dbg: config: read file /usr/share/spamassassin/25_body_tests_es.cf
> [7635] dbg: config: read file /usr/share/spamassassin/25_body_tests_pl.cf
> [7635] dbg: config: read file /usr/share/spamassassin/25_dcc.cf
> [7635] dbg: config: read file /usr/share/spamassassin/25_domainkeys.cf
> [7635] dbg: config: read file /usr/share/spamassassin/25_hashcash.cf
> [7635] dbg: config: read file /usr/share/spamassassin/25_pyzor.cf
> [7635] dbg: config: read file /usr/share/spamassassin/25_razor2.cf
> [7635] dbg: config: read file /usr/share/spamassassin/25_replace.cf
> [7635] dbg: config: read file /usr/share/spamassassin/25_spf.cf
> [7635] dbg: config: read file /usr/share/spamassassin/25_textcat.cf
> [7635] dbg: config: read file /usr/share/spamassassin/25_uribl.cf
> [7635] dbg: config: read file /usr/share/spamassassin/30_text_de.cf
> [7635] dbg: config: read file /usr/share/spamassassin/30_text_fr.cf
> [7635] dbg: config: read file /usr/share/spamassassin/30_text_it.cf
> [7635] dbg: config: read file /usr/share/spamassassin/30_text_nl.cf
> [7635] dbg: config: read file /usr/share/spamassassin/30_text_pl.cf
> [7635] dbg: config: read file /usr/share/spamassassin/30_text_pt_br.cf
> [7635] dbg: config: read file /usr/share/spamassassin/50_scores.cf
> [7635] dbg: config: read file /usr/share/spamassassin/60_awl.cf
> [7635] dbg: config: read file /usr/share/spamassassin/60_whitelist.cf
> [7635] dbg: config: read file /usr/share/spamassassin/60_whitelist_spf.cf
> [7635] dbg: config: read file
> /usr/share/spamassassin/60_whitelist_subject.cf
> [7635] dbg: config: using "/etc/mail/spamassassin" for site rules dir
> [7635] dbg: config: read file /etc/mail/spamassassin/local.cf
> [7635] dbg: config: using "/root/.spamassassin" for user state dir
> [7635] dbg: config: using "/root/.spamassassin/user_prefs" for user prefs
> file
> [7635] dbg: config: read file /root/.spamassassin/user_prefs
> [7635] dbg: plugin: loading Mail::SpamAssassin::Plugin::Pyzor from @INC
> [7635] dbg: pyzor: network tests on, attempting Pyzor
> [7635] dbg: plugin: registered
> Mail::SpamAssassin::Plugin::Pyzor=HASH(0x9646000)
> [7635] dbg: plugin: loading Mail::SpamAssassin::Plugin::AWL from @INC
> [7635] dbg: plugin: registered
> Mail::SpamAssassin::Plugin::AWL=HASH(0x9669af4)
> [7635] dbg: plugin: loading Mail::SpamAssassin::Plugin::AutoLearnThreshold
> from @INC
> [7635] dbg: plugin: registered
> Mail::SpamAssassin::Plugin::AutoLearnThreshold=HASH(0x9674984)
> [7635] dbg: plugin: loading Mail::SpamAssassin::Plugin::WhiteListSubject
> from @INC
> [7635] dbg: plugin: registered
> Mail::SpamAssassin::Plugin::WhiteListSubject=HASH(0x963ee5c)
> [7635] dbg: plugin: loading Mail::SpamAssassin::Plugin::MIMEHeader from
> @INC
> [7635] dbg: plugin: registered
> Mail::SpamAssassin::Plugin::MIMEHeader=HASH(0x963fb04)
> [7635] dbg: plugin: loading Mail::SpamAssassin::Plugin::ReplaceTags from
> @INC
> [7635] dbg: plugin: registered
> Mail::SpamAssassin::Plugin::ReplaceTags=HASH(0x9640b90)
> [7635] dbg: config: adding redirector regex:
> /^http:\/\/chkpt\.zdnet\.com\/chkpt\/\w+\/(.*)$/i
> [7635] dbg: config: adding redirector regex:
> /^http:\/\/www(?:\d+)?\.nate\.com\/r\/\w+\/(.*)$/i
> [7635] dbg: config: adding redirector regex:
> /^http:\/\/.+\.gov\/(?:.*\/)?externalLink\.jhtml\?.*url=(.*?)(?:&.*)?$/i
> [7635] dbg: config: adding redirector regex:
> /^http:\/\/redir\.internet\.com\/.+?\/.+?\/(.*)$/i
> [7635] dbg: config: adding redirector regex:
> /^http:\/\/(?:.*?\.)?adtech\.de\/.*(?:;|\|)link=(.*?)(?:;|$)/i
> [7635] dbg: config: adding redirector regex:
> m'^http.*?/redirect\.php\?.*(?<=[?&])goto=(.*?)(?:$|[&\#])'i
> [7635] dbg: config: adding redirector regex:
> m'^https?:/*(?:[^/]+\.)?emf\d\.com/r\.cfm.*?&r=(.*)'i
> [7635] warn: config: failed to parse line, skipping: auto_learn 1
> [7635] warn: config: warning: description exists for non-existent rule
> SPF_HELO_PASS
> [7635] warn: config: warning: description exists for non-existent rule
> URIBL_SC_SURBL
> [7635] warn: config: warning: description exists for non-existent rule
> HASHCASH_25
> [7635] warn: config: warning: description exists for non-existent rule
> HASHCASH_HIGH
> [7635] warn: config: warning: description exists for non-existent rule
> HASHCASH_22
> [7635] warn: config: warning: description exists for non-existent rule
> HASHCASH_20
> [7635] warn: config: warning: description exists for non-existent rule
> HASHCASH_24
> [7635] warn: config: warning: description exists for non-existent rule
> SPF_SOFTFAIL
> [7635] warn: config: warning: description exists for non-existent rule
> URIBL_AB_SURBL
> [7635] warn: config: warning: description exists for non-existent rule
> SPF_FAIL
> [7635] warn: config: warning: description exists for non-existent rule
> HASHCASH_21
> [7635] warn: config: warning: description exists for non-existent rule
> SPF_HELO_SOFTFAIL
> [7635] warn: config: warning: description exists for non-existent rule
> URIBL_OB_SURBL
> [7635] warn: config: warning: description exists for non-existent rule
> SPF_HELO_FAIL
> [7635] warn: config: warning: description exists for non-existent rule
> HASHCASH_2SPEND
> [7635] warn: config: warning: description exists for non-existent rule
> URIBL_WS_SURBL
> [7635] warn: config: warning: description exists for non-existent rule
> URIBL_SBL
> [7635] warn: config: warning: description exists for non-existent rule
> HASHCASH_23
> [7635] warn: config: warning: description exists for non-existent rule
> SPF_PASS
> [7635] warn: config: warning: description exists for non-existent rule
> URIBL_PH_SURBL
> [7635] dbg: plugin:
> Mail::SpamAssassin::Plugin::ReplaceTags=HASH(0x9640b90)
> implements 'finish_parsing_end'
> [7635] dbg: replacetags: replacing tags
> [7635] dbg: replacetags: done replacing tags
> [7635] dbg: bayes: tie-ing to DB file R/O
> /var/spool/spamassassin/bayes_toks
> [7635] dbg: bayes: tie-ing to DB file R/O
> /var/spool/spamassassin/bayes_seen
> [7635] dbg: bayes: found bayes db version 3
> [7635] dbg: bayes: DB journal sync: last sync: 1134208863
> [7635] dbg: config: score set 3 chosen.
> [7635] dbg: message: ---- MIME PARSER START ----
> [7635] dbg: message: main message type: text/plain
> [7635] dbg: message: parsing normal part
> [7635] dbg: message: added part, type: text/plain
> [7635] dbg: message: ---- MIME PARSER END ----
> [7635] dbg: dns: testing resolver nameservers: 195.202.32.79,
> 195.202.33.68,
> 192.168.10.1
> [7635] dbg: dns: trying (3) mit.edu...
> [7635] dbg: dns: looking up NS for 'mit.edu'
> [7635] dbg: dns: NS lookup of mit.edu using 195.202.32.79 succeeded => DNS
> available (set dns_available to override)
> [7635] dbg: dns: is DNS available? 1
> [7635] dbg: metadata: X-Spam-Relays-Trusted:
> [7635] dbg: metadata: X-Spam-Relays-Untrusted:
> [7635] dbg: message: no encoding detected
> [7635] dbg: check: running tests for priority: 0
> [7635] dbg: rules: running header regexp tests; score so far=0
> [7635] dbg: rules: ran header rule __HAS_MSGID ======> got hit: "<"
> [7635] dbg: rules: ran header rule __MSGID_OK_DIGITS ======> got hit:
> "1134209301"
> [7635] dbg: rules: ran header rule __SANE_MSGID ======> got hit:
> "<[EMAIL PROTECTED]>
> [7635] dbg: rules: "
> [7635] dbg: rules: ran header rule NO_REAL_NAME ======> got hit:
> "[EMAIL PROTECTED]
> [7635] dbg: rules: "
> [7635] dbg: rules: ran header rule __MSGID_OK_HOST ======> got hit:
> "@lint_rules>"
> [7635] dbg: eval: all '*From' addrs:
> [EMAIL PROTECTED]
> [7635] dbg: plugin: registering glue method for check_subject_in_blacklist
> (Mail::SpamAssassin::Plugin::WhiteListSubject=HASH(0x963ee5c))
> [7635] dbg: eval: all '*To' addrs:
> [7635] dbg: rules: ran eval rule NO_RELAYS ======> got hit
> [7635] dbg: rules: ran eval rule __UNUSABLE_MSGID ======> got hit
> [7635] dbg: plugin: registering glue method for check_subject_in_whitelist
> (Mail::SpamAssassin::Plugin::WhiteListSubject=HASH(0x963ee5c))
> [7635] dbg: rules: running body-text per-line regexp tests; score so
> far=0.96
> [7635] dbg: rules: ran body rule __NONEMPTY_BODY ======> got hit: "I"
> [7635] dbg: uri: running uri tests; score so far=0.96
> [7635] dbg: bayes: DB journal sync: last sync: 1134208863
> [7635] dbg: bayes: corpus size: nspam = 1072, nham = 255
> [7635] dbg: bayes: score = 0.340798678737095
> [7635] dbg: bayes: DB expiry: tokens in DB: 55676, Expiry max size:
> 150000,
> Oldest atime: 1131483936, Newest atime: 1134208805, Last expire: 0,
> Current
> time: 1134209303
> [7635] dbg: bayes: DB journal sync: last sync: 1134208863
> [7635] dbg: bayes: untie-ing
> [7635] dbg: bayes: untie-ing db_toks
> [7635] dbg: bayes: untie-ing db_seen
> [7635] dbg: rules: ran eval rule BAYES_40 ======> got hit
> [7635] dbg: rules: running raw-body-text per-line regexp tests; score so
> far=0.775
> [7635] dbg: rules: running full-text regexp tests; score so far=0.775
> [7635] dbg: plugin: registering glue method for check_pyzor
> (Mail::SpamAssassin::Plugin::Pyzor=HASH(0x9646000))
> [7635] dbg: util: current PATH is:
> /usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/b
> in:/usr/sbin:/usr/bin:/usr/X11R6/bin
> [7635] dbg: util: executable for pyzor was found at /usr/bin/pyzor
> [7635] dbg: pyzor: pyzor is available: /usr/bin/pyzor
> [7635] dbg: info: entering helper-app run mode
> [7635] dbg: pyzor: opening pipe: /usr/bin/pyzor check <
> /tmp/.spamassassin7635zkBcIjtmp
> [7641] dbg: util: setuid: ruid=0 euid=0
> [7635] dbg: pyzor: killed stale helper [7641]
> [7635] dbg: pyzor: [7641] terminated: exit=0x000f
> [7635] dbg: info: leaving helper-app run mode
> [7635] dbg: pyzor: check timed out after 5 seconds
> [7635] dbg: check: running tests for priority: 500
> [7635] dbg: rules: running meta tests; score so far=0.775
> [7635] dbg: rules: running header regexp tests; score so far=2.721
> [7635] dbg: rules: running body-text per-line regexp tests; score so
> far=2.721
> [7635] dbg: uri: running uri tests; score so far=2.721
> [7635] dbg: rules: running raw-body-text per-line regexp tests; score so
> far=2.721
> [7635] dbg: rules: running full-text regexp tests; score so far=2.721
> [7635] dbg: check: running tests for priority: 1000
> [7635] dbg: rules: running meta tests; score so far=2.721
> [7635] dbg: rules: running header regexp tests; score so far=2.721
> [7635] dbg: plugin: registering glue method for
> check_from_in_auto_whitelist
> (Mail::SpamAssassin::Plugin::AWL=HASH(0x9669af4))
> [7635] dbg: locker: safe_lock: created
> /var/spool/spamassassin/auto-whitelist.lock.mail.dcserver2.com.7635
> [7635] dbg: locker: safe_lock: trying to get lock on
> /var/spool/spamassassin/auto-whitelist with 0 retries
> [7635] dbg: locker: safe_lock: link to
> /var/spool/spamassassin/auto-whitelist.lock: link ok
> [7635] dbg: auto-whitelist: tie-ing to DB file of type DB_File R/W in
> /var/spool/spamassassin/auto-whitelist
> [7635] dbg: auto-whitelist: db-based
> [EMAIL PROTECTED]|ip=none scores 0/0
> [7635] dbg: auto-whitelist: AWL active, pre-score: 2.721, autolearn score:
> 2.721, mean: undef, IP: undef
> [7635] dbg: auto-whitelist: DB addr list: untie-ing and unlocking
> [7635] dbg: auto-whitelist: DB addr list: file locked, breaking lock
> [7635] dbg: locker: safe_unlock: unlink
> /var/spool/spamassassin/auto-whitelist.lock
> [7635] dbg: auto-whitelist: post auto-whitelist score: 2.721
> [7635] dbg: rules: running body-text per-line regexp tests; score so
> far=2.721
> [7635] dbg: uri: running uri tests; score so far=2.721
> [7635] dbg: rules: running raw-body-text per-line regexp tests; score so
> far=2.721
> [7635] dbg: rules: running full-text regexp tests; score so far=2.721
> [7635] dbg: check: is spam? score=2.721 required=7
> [7635] dbg: check:
> tests=BAYES_40,MISSING_SUBJECT,NO_REAL_NAME,NO_RECEIVED,NO_RELAYS,TO_CC_NONE
> [7635] dbg: check:
> subtests=__HAS_MSGID,__MSGID_OK_DIGITS,__MSGID_OK_HOST,__NONEMPTY_BODY,__SAN
> E_MSGID,__UNUSABLE_MSGID
> [7635] warn: lint: 21 issues detected, please rerun with debug enabled for
> more information
>
>
> Cheers
> Chris
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]