config: SpamAssassin failed to parse line, skipping: report_header 1
config: SpamAssassin failed to parse line, skipping: detailed_phrase_score 1
config: SpamAssassin failed to parse line, skipping: spam_level_stars 1
warning: score set for non-existent rule MICROSOFT_EXECUTABLE

So what these lines are telling you is that:
1) report_header is not a valid 3.0.4 configuration item.
2) detailed_phrase_score is not a valid 3.0.4 configuration item.
3) spam_level_stars is not a valid 3.0.4 cnfiguration item.
4) That somewhere in your rules you set a score for MICROSOFT_EXECUTABLE
   without defining such a rule.

I presume you updated from something very old and did not fix your
local.cf?

{^_^}
----- Original Message ----- 
From: "liyas_m m" <[EMAIL PROTECTED]>


> running spamassassin --lint -D < /dev/null gives me these
> i m calling SA with this spamc or rather spamd daemon...
>
>
> 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 '/bin', keeping.
> debug: PATH included '/sbin', keeping.
> debug: PATH included '/usr/bin', keeping.
> debug: PATH included '/usr/sbin', keeping.
> debug: Final PATH set to: /bin:/sbin:/usr/bin:/usr/sbin
> debug: diag: module installed: DBI, version 1.47
> debug: diag: module installed: DB_File, version 1.806
> debug: diag: module installed: Digest::SHA1, version 2.07
> debug: diag: module installed: IO::Socket::UNIX, version 1.2
> debug: diag: module installed: MIME::Base64, version 2.20
> debug: diag: module installed: Net::DNS, version 0.48
> debug: diag: module installed: Net::LDAP, version 0.32
> debug: diag: module not installed: Razor2::Client::Agent ('require'
failed)
> debug: diag: module installed: Storable, version 2.08
> debug: diag: module installed: URI, version 1.34
> 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 "//share/spamassassin" for default rules dir
> debug: config: read file //share/spamassassin/10_misc.cf
> debug: config: read file //share/spamassassin/20_anti_ratware.cf
> debug: config: read file //share/spamassassin/20_body_tests.cf
> debug: config: read file //share/spamassassin/20_compensate.cf
> debug: config: read file //share/spamassassin/20_dnsbl_tests.cf
> debug: config: read file //share/spamassassin/20_drugs.cf
> debug: config: read file //share/spamassassin/20_fake_helo_tests.cf
> debug: config: read file //share/spamassassin/20_head_tests.cf
> debug: config: read file //share/spamassassin/20_html_tests.cf
> debug: config: read file //share/spamassassin/20_meta_tests.cf
> debug: config: read file //share/spamassassin/20_phrases.cf
> debug: config: read file //share/spamassassin/20_porn.cf
> debug: config: read file //share/spamassassin/20_ratware.cf
> debug: config: read file //share/spamassassin/20_uri_tests.cf
> debug: config: read file //share/spamassassin/23_bayes.cf
> debug: config: read file //share/spamassassin/25_body_tests_es.cf
> debug: config: read file //share/spamassassin/25_hashcash.cf
> debug: config: read file //share/spamassassin/25_spf.cf
> debug: config: read file //share/spamassassin/25_uribl.cf
> debug: config: read file //share/spamassassin/30_text_de.cf
> debug: config: read file //share/spamassassin/30_text_fr.cf
> debug: config: read file //share/spamassassin/30_text_nl.cf
> debug: config: read file //share/spamassassin/30_text_pl.cf
> debug: config: read file //share/spamassassin/50_scores.cf
> debug: config: read file //share/spamassassin/60_whitelist.cf
> debug: using "//etc/mail/spamassassin" for site rules dir
> debug: config: read file //etc/mail/spamassassin/local.cf
> debug: using "/var/root/.spamassassin" for user state dir
> debug: using "/var/root/.spamassassin/user_prefs" for user prefs file
> debug: config: read file /var/root/.spamassassin/user_prefs
> debug: plugin: loading Mail::SpamAssassin::Plugin::URIDNSBL from @INC
> debug: plugin: registered
Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0x925500)
> debug: plugin: loading Mail::SpamAssassin::Plugin::Hashcash from @INC
> debug: plugin: registered
Mail::SpamAssassin::Plugin::Hashcash=HASH(0xb037cc)
> debug: plugin: loading Mail::SpamAssassin::Plugin::SPF from @INC
> debug: plugin: registered Mail::SpamAssassin::Plugin::SPF=HASH(0xb072d8)
> debug: plugin: Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0x925500)
> implements 'parse_config'
> debug: plugin: Mail::SpamAssassin::Plugin::Hashcash=HASH(0xb037cc)
> implements 'parse_config'
> debug: Not allowing user rules!
> config: SpamAssassin failed to parse line, skipping: report_header 1
> config: SpamAssassin failed to parse line, skipping: detailed_phrase_score
1
> config: SpamAssassin failed to parse line, skipping: spam_level_stars 1
> warning: score set for non-existent rule MICROSOFT_EXECUTABLE
> debug: using "/var/root/.spamassassin" for user state dir
> debug: bayes: 5646 tie-ing to DB file R/O
/var/root/.spamassassin/bayes_toks
> debug: bayes: 5646 tie-ing to DB file R/O
/var/root/.spamassassin/bayes_seen
> debug: bayes: found bayes db version 3
> debug: using "/var/root/.spamassassin" for user state dir
> debug: bayes: Not available for scanning, only 0 spam(s) in Bayes DB < 200
> debug: bayes: 5646 untie-ing
> debug: bayes: 5646 untie-ing db_toks
> debug: bayes: 5646 untie-ing db_seen
> debug: Score set 1 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: bayes: 5646 tie-ing to DB file R/O
/var/root/.spamassassin/bayes_toks
> debug: bayes: 5646 tie-ing to DB file R/O
/var/root/.spamassassin/bayes_seen
> debug: bayes: found bayes db version 3
> debug: bayes: Not available for scanning, only 0 spam(s) in Bayes DB < 200
> debug: bayes: 5646 untie-ing
> debug: bayes: 5646 untie-ing db_toks
> debug: bayes: 5646 untie-ing db_seen
> debug: metadata: X-Spam-Relays-Trusted:
> debug: metadata: X-Spam-Relays-Untrusted:
> debug: plugin: Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0x925500)
> implements 'parsed_metadata'
> debug: is Net::DNS::Resolver available? yes
> debug: Net::DNS version: 0.48
> debug: trying (3) sourceforge.net...
> debug: looking up NS for 'sourceforge.net'
> debug: NS lookup of sourceforge.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_value
> (Mail::SpamAssassin::Plugin::Hashcash=HASH(0xb037cc))
> debug: registering glue method for check_for_spf_softfail
> (Mail::SpamAssassin::Plugin::SPF=HASH(0xb072d8))
> debug: SPF: message was delivered entirely via trusted relays, not
required
> debug: all '*To' addrs:
> debug: registering glue method for check_for_spf_fail
> (Mail::SpamAssassin::Plugin::SPF=HASH(0xb072d8))
> debug: registering glue method for check_hashcash_double_spend
> (Mail::SpamAssassin::Plugin::Hashcash=HASH(0xb037cc))
> debug: registering glue method for check_for_spf_helo_softfail
> (Mail::SpamAssassin::Plugin::SPF=HASH(0xb072d8))
> 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(0xb072d8))
> debug: registering glue method for check_for_spf_helo_fail
> (Mail::SpamAssassin::Plugin::SPF=HASH(0xb072d8))
> debug: registering glue method for check_for_spf_helo_pass
> (Mail::SpamAssassin::Plugin::SPF=HASH(0xb072d8))
> debug: running body-text per-line regexp tests; score so far=-2.623
> debug: running uri tests; score so far=-2.623
> debug: registering glue method for check_uridnsbl
> (Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0x925500))
> debug: Razor2 is not available
> debug: plugin: Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0x925500)
> implements 'check_tick'
> debug: running raw-body-text per-line regexp tests; score so far=-2.623
> debug: running full-text regexp tests; score so far=-2.623
> debug: Razor2 is not available
> debug: DCCifd is not available: no r/w dccifd socket found.
> debug: Current PATH is: /bin:/sbin:/usr/bin:/usr/sbin
> debug: DCC is not available: no executable dccproc found.
> debug: Pyzor is not available: pyzor not found
> debug: Running tests for priority: 500
> debug: RBL: success for 1 of 1 queries
> debug: plugin: Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0x925500)
> implements 'check_post_dnsbl'
> debug: running meta tests; score so far=-2.623
> debug: running header regexp tests; score so far=-1.053
> debug: running body-text per-line regexp tests; score so far=-1.053
> debug: running uri tests; score so far=-1.053
> debug: running raw-body-text per-line regexp tests; score so far=-1.053
> debug: running full-text regexp tests; score so far=-1.053
> debug: Running tests for priority: 1000
> debug: running meta tests; score so far=-1.053
> debug: running header regexp tests; score so far=-1.053
> debug: using "/var/root/.spamassassin" for user state dir
> debug: lock: 5646 created /var/root/.spamassassin/auto-whitelist.mutex
> debug: lock: 5646 trying to get lock on
> /var/root/.spamassassin/auto-whitelist with 30 timeout
> debug: lock: 5646 link to /var/root/.spamassassin/auto-whitelist.mutex:
link ok
> debug: Tie-ing to DB file R/W in /var/root/.spamassassin/auto-whitelist
> debug: auto-whitelist (db-based):
> [EMAIL PROTECTED]|ip=none scores 0/0
> debug: AWL active, pre-score: -1.053, autolearn score: -1.053, mean:
> undef, IP: undef
> debug: DB addr list: untie-ing and unlocking.
> debug: DB addr list: file locked, breaking lock.
> debug: unlock: 5646 unlocked /var/root/.spamassassin/auto-whitelist.mutex
> debug: Post AWL score: -1.053
> debug: running body-text per-line regexp tests; score so far=-1.053
> debug: running uri tests; score so far=-1.053
> debug: running raw-body-text per-line regexp tests; score so far=-1.053
> debug: running full-text regexp tests; score so far=-1.053
> debug: is spam? score=-1.053 required=5
> debug: tests=ALL_TRUSTED,MISSING_DATE,MISSING_SUBJECT,NO_REAL_NAME
> debug:
subtests=__HAS_MSGID,__MSGID_OK_DIGITS,__MSGID_OK_HOST,__SANE_MSGID,__UNUSAB
LE_MSGID
> lint: 4 issues detected.  please rerun with debug enabled for more
information.
>
>
> On 7/1/05, Theo Van Dinter <[EMAIL PROTECTED]> wrote:
> > On Fri, Jul 01, 2005 at 10:59:37AM +0800, liyas_m m wrote:
> > > blacklist_from 161.139.100.0/24 218.111.166.74 218.111.177.103
> >
> > blacklist_from is for from addresses, not IPs or IP ranges.  See
"perldoc
> > Mail::SpamAssassin::Conf".
> >
> > > detailed_phrase_score 1
> >
> > I've never seen that as an option.
> >
> > > spam_level_stars 1
> >
> > ??   What version are you running?
> >
> > > What should i do...why is it so difficult to configure SA?
> >
> > If you're not seeing the header at all, you're probably not running the
> > message through SA.  Your config has numerous errors in it, I'd run
> > "spamassassin --lint -D < /dev/null" and see what errors turn up.
> >
> > Otherwise, you'd have to give us more details about what version you're
using,
> > how you're calling SA, etc.
> >
> > --
> > Randomly Generated Tagline:
> >  Zapp: The spirit is willing but the flesh is spongey and bruised.
> >
> >
> >


Reply via email to