> Using include completely redundant at the local.cf level, as SA > automatically parses /etc/mail/spamassassin/*.cf. Rather than use > custom_scores.txt, just use custom_scores.cf and put it alongside local.cf.
That's what I tried first, and got the same errors. So I thought that maybe I was supposed to include scoring overrides in local.cf. If that's not the case, then something else odd is going on. The BAYES line it's erroring about is the first line in the now suitably renamed custom_scores.cf file. Here's what the debug output looks like: spamassassin -D --lint \debug: SpamAssassin version 3.0.4 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 '/usr/kerberos/bin', keeping. debug: PATH included '/usr/local/bin', keeping. debug: PATH included '/bin', keeping. debug: PATH included '/usr/bin', keeping. debug: PATH included '/usr/X11R6/bin', keeping. debug: PATH included '/var/amavis/bin', which doesn't exist, dropping. debug: Final PATH set to: /usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin debug: diag: module not installed: DBI ('require' failed) 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.2 debug: diag: module installed: MIME::Base64, version 2.12 debug: diag: module installed: Net::DNS, version 0.48_03 debug: diag: module not installed: Net::LDAP ('require' failed) debug: diag: module not installed: Razor2::Client::Agent ('require' failed) debug: diag: module installed: Storable, version 2.06 debug: diag: module installed: URI, version 1.21 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_body_tests.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_fake_helo_tests.cf debug: config: read file /usr/share/spamassassin/20_head_tests.cf debug: config: read file /usr/share/spamassassin/20_html_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/23_bayes.cf debug: config: read file /usr/share/spamassassin/25_body_tests_es.cf debug: config: read file /usr/share/spamassassin/25_hashcash.cf debug: config: read file /usr/share/spamassassin/25_spf.cf debug: config: read file /usr/share/spamassassin/25_uribl.cf debug: config: read file /usr/share/spamassassin/30_text_de.cf debug: config: read file /usr/share/spamassassin/30_text_fr.cf debug: config: read file /usr/share/spamassassin/30_text_nl.cf debug: config: read file /usr/share/spamassassin/30_text_pl.cf debug: config: read file /usr/share/spamassassin/50_scores.cf debug: config: read file /usr/share/spamassassin/60_whitelist.cf debug: using "/etc/mail/spamassassin" for site rules dir debug: config: read file /etc/mail/spamassassin/70_sare_adult.cf debug: config: read file /etc/mail/spamassassin/70_sare_bayes_poison_nxm.cf debug: config: read file /etc/mail/spamassassin/70_sare_evilnum0.cf debug: config: read file /etc/mail/spamassassin/70_sare_genlsubj0.cf debug: config: read file /etc/mail/spamassassin/70_sare_genlsubj_eng.cf debug: config: read file /etc/mail/spamassassin/70_sare_header.cf debug: config: read file /etc/mail/spamassassin/70_sare_header0.cf debug: config: read file /etc/mail/spamassassin/70_sare_html.cf debug: config: read file /etc/mail/spamassassin/70_sare_html0.cf debug: config: read file /etc/mail/spamassassin/70_sare_obfu0.cf debug: config: read file /etc/mail/spamassassin/70_sare_oem.cf debug: config: read file /etc/mail/spamassassin/70_sare_random.cf debug: config: read file /etc/mail/spamassassin/70_sare_ratware.cf debug: config: read file /etc/mail/spamassassin/70_sare_specific.cf debug: config: read file /etc/mail/spamassassin/70_sare_spoof.cf debug: config: read file /etc/mail/spamassassin/70_sare_stocks.cf debug: config: read file /etc/mail/spamassassin/70_sare_unsub.cf debug: config: read file /etc/mail/spamassassin/70_sare_uri.cf debug: config: read file /etc/mail/spamassassin/70_sare_uri0.cf debug: config: read file /etc/mail/spamassassin/70_sare_uri_eng.cf debug: config: read file /etc/mail/spamassassin/70_sare_whitelist.cf debug: config: read file /etc/mail/spamassassin/70_sc_top200.cf debug: config: read file /etc/mail/spamassassin/72_sare_bml_post25x.cf debug: config: read file /etc/mail/spamassassin/72_sare_redirect_post3.0.0.cf debug: config: read file /etc/mail/spamassassin/88_FVGT_body.cf debug: config: read file /etc/mail/spamassassin/88_FVGT_headers.cf debug: config: read file /etc/mail/spamassassin/88_FVGT_rawbody.cf debug: config: read file /etc/mail/spamassassin/88_FVGT_subject.cf debug: config: read file /etc/mail/spamassassin/88_FVGT_uri.cf debug: config: read file /etc/mail/spamassassin/99_sare_fraud_post25x.cf debug: config: read file /etc/mail/spamassassin/bogus-virus-warnings.cf debug: config: read file /etc/mail/spamassassin/custom_scores.cf debug: config: read file /etc/mail/spamassassin/german.cf debug: config: read file /etc/mail/spamassassin/local.cf debug: config: read file /etc/mail/spamassassin/local_body.cf debug: config: read file /etc/mail/spamassassin/local_from.cf debug: config: read file /etc/mail/spamassassin/local_german.cf debug: config: read file /etc/mail/spamassassin/local_header.cf debug: config: read file /etc/mail/spamassassin/local_nazi.cf debug: config: read file /etc/mail/spamassassin/local_rawbody.cf debug: config: read file /etc/mail/spamassassin/local_subject.cf debug: config: read file /etc/mail/spamassassin/local_to.cf debug: config: read file /etc/mail/spamassassin/local_uri.cf debug: config: read file /etc/mail/spamassassin/random.cf debug: config: read file /etc/mail/spamassassin/tripwire.cf debug: config: read file /etc/mail/spamassassin/uribl_multi.cf debug: using "/var/amavis/.spamassassin" for user state dir debug: using "/var/amavis/.spamassassin/user_prefs" for user prefs file debug: config: read file /var/amavis/.spamassassin/user_prefs debug: plugin: loading Mail::SpamAssassin::Plugin::URIDNSBL from @INC debug: plugin: registered Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0xaab8f34) debug: plugin: loading Mail::SpamAssassin::Plugin::Hashcash from @INC debug: plugin: registered Mail::SpamAssassin::Plugin::Hashcash=HASH(0xaaa5644) debug: plugin: loading Mail::SpamAssassin::Plugin::SPF from @INC debug: plugin: registered Mail::SpamAssassin::Plugin::SPF=HASH(0xaafbcf4) debug: plugin: Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0xaab8f34) implements 'parse_config' debug: plugin: Mail::SpamAssassin::Plugin::Hashcash=HASH(0xaaa5644) implements 'parse_config' config: SpamAssassin failed to parse line, skipping: score BAYES_60 6.5 debug: bayes: 23380 tie-ing to DB file R/O /etc/mail/spamassassin/bayes_toks debug: bayes: 23380 tie-ing to DB file R/O /etc/mail/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: plugin: Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0xaab8f34) implements 'parsed_metadata' Argument "0.48_03" isn't numeric in numeric lt (<) at /usr/lib/perl5/site_perl/5.8.0/Mail/SpamAssassin/Dns.pm line 1229. debug: is Net::DNS::Resolver available? yes debug: Net::DNS version: 0.48_03 debug: trying (3) adelphia.net... debug: looking up NS for 'adelphia.net' debug: NS lookup of adelphia.net succeeded => Dns available (set dns_available to hardcode) debug: is DNS available? 1 debug: decoding: no encoding detected debug: URIDNSBL: domains to query: debug: all '*From' addrs: [EMAIL PROTECTED] debug: Running tests for priority: 0 debug: running header regexp tests; score so far=0 debug: registering glue method for check_hashcash_double_spend (Mail::SpamAssassin::Plugin::Hashcash=HASH(0xaaa5644)) debug: registering glue method for check_for_spf_helo_pass (Mail::SpamAssassin::Plugin::SPF=HASH(0xaafbcf4)) debug: SPF: message was delivered entirely via trusted relays, not required debug: registering glue method for check_hashcash_value (Mail::SpamAssassin::Plugin::Hashcash=HASH(0xaaa5644)) debug: all '*To' addrs: debug: registering glue method for check_for_spf_softfail (Mail::SpamAssassin::Plugin::SPF=HASH(0xaafbcf4)) debug: SPF: message was delivered entirely via trusted relays, not required debug: registering glue method for check_for_spf_pass (Mail::SpamAssassin::Plugin::SPF=HASH(0xaafbcf4)) debug: registering glue method for check_for_spf_helo_softfail (Mail::SpamAssassin::Plugin::SPF=HASH(0xaafbcf4)) debug: registering glue method for check_for_spf_fail (Mail::SpamAssassin::Plugin::SPF=HASH(0xaafbcf4)) debug: registering glue method for check_for_spf_helo_fail (Mail::SpamAssassin::Plugin::SPF=HASH(0xaafbcf4)) debug: running body-text per-line regexp tests; score so far=-3.174 debug: running uri tests; score so far=-3.174 debug: bayes corpus size: nspam = 191232, nham = 91100 debug: tokenize: header tokens for *F = "U*ignore D*compiling.spamassassin.taint.org D*spamassassin.taint.org D*taint.org D*org" debug: tokenize: header tokens for *m = " 1144261504 lint_rules " debug: tokenize: header tokens for *RT = " " debug: tokenize: header tokens for *RU = " " debug: bayes token 'H*Ad:D*org' => 0.00654063600211003 debug: bayes token 'somewhat' => 0.036593460020898 debug: bayes: score = 0.0357722073565307 debug: bayes: 23380 untie-ing debug: bayes: 23380 untie-ing db_toks debug: bayes: 23380 untie-ing db_seen debug: registering glue method for check_uridnsbl (Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0xaab8f34)) debug: plugin: Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0xaab8f34) implements 'check_tick' debug: running raw-body-text per-line regexp tests; score so far=-3.587 debug: running full-text regexp tests; score so far=-3.587 debug: Current PATH is: /usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin debug: Pyzor is not available: pyzor not found debug: DCCifd is not available: no r/w dccifd socket found. debug: DCC is not available: no executable dccproc found. debug: Running tests for priority: 500 debug: RBL: success for 1 of 1 queries debug: plugin: Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0xaab8f34) implements 'check_post_dnsbl' debug: running meta tests; score so far=-3.587 debug: running header regexp tests; score so far=-2.361 debug: running body-text per-line regexp tests; score so far=-2.361 debug: running uri tests; score so far=-2.361 debug: running raw-body-text per-line regexp tests; score so far=-2.361 debug: running full-text regexp tests; score so far=-2.361 debug: Running tests for priority: 1000 debug: running meta tests; score so far=-2.361 debug: running header regexp tests; score so far=-2.361 debug: running body-text per-line regexp tests; score so far=-2.361 debug: running uri tests; score so far=-2.361 debug: running raw-body-text per-line regexp tests; score so far=-2.361 debug: running full-text regexp tests; score so far=-2.361 debug: is spam? score=-2.361 required=5 debug: tests=ALL_TRUSTED,BAYES_05,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 lint: 1 issues detected. please rerun with debug enabled for more information.