> config: SpamAssassin failed to parse line, skipping: )

You have something slightly broken in one of your config files near the
URIDSBL stuff, from the looks of it.

> debug: running meta tests; score so far=-2.623
> Failed to run meta SpamAssassin tests, skipping some: syntax error at
(eval
> 53) line 295, near ") {"
> syntax error at (eval 53) line 382, near ";
> }"



You also seem to have a major problem with broken code in some not well at
all identified eval someplace.  However, this is probably the result of a
mis-formatted meta rule in one of your rule files.

It is unlikely that any of the standard SA config files are broken if you
did a normal install.  SO it is likely in some config file that you added.
I seem to remember that someone reported a similar problem a few days ago,
but I don't recall any of the details.

Try looking for 'meta' tests in the config files, and check for anything
obvious liek mismatched parends in the rule expressions of the tests.

        Loren


----- Original Message ----- 
From: "Lisa Casey" <[EMAIL PROTECTED]>
To: <users@spamassassin.apache.org>
Sent: Thursday, November 03, 2005 12:05 PM
Subject: MimeDefang/spamassassin problem


> Hi,
>
> I'm running MimeDefang/Spamassassin on Redhat Linux. I have noticed the
> following in my maillog (not sure when this started):
>
> Nov  3 14:21:27 Raydeus-Dee mimedefang-multiplexor[935]: Slave 8
> stderr: Failed to run meta SpamAssassin tests, skipping some: syntax
> error at (eval 1206) line 295, near ") {" syntax error at (eval 1206)
> line 382, near "; }"
>
> I posted about this on the Mimedefang list and was told to run
> spamassassin --lint. I did, but still don't really see the problem. Since
I
> think this is a spamassassin problem anyway, I'ld like to post my
> spamassassin --lint --debug here to see if someone can help.
>
> Thanks,
>
> Lisa Casey
>
> [EMAIL PROTECTED] spamassassin]# spamassassin --lint --debug
> 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 '/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 '/home/lisa/bin', which doesn't exist, dropping.
> debug: PATH included '/usr/sbin', keeping.
> debug: PATH included '/sbin', keeping.
> debug: Final PATH set to:
> /usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/sbin:/sbin
> 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.21
> debug: diag: module installed: MIME::Base64, version 3.05
> debug: diag: module installed: Net::DNS, version 0.48
> 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.13
> debug: diag: module not installed: URI ('require' failed)
> 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/local/share/spamassassin" for default rules dir
> debug: config: read file /usr/local/share/spamassassin/10_misc.cf
> debug: config: read file /usr/local/share/spamassassin/20_anti_ratware.cf
> debug: config: read file /usr/local/share/spamassassin/20_body_tests.cf
> debug: config: read file /usr/local/share/spamassassin/20_compensate.cf
> debug: config: read file /usr/local/share/spamassassin/20_dnsbl_tests.cf
> debug: config: read file /usr/local/share/spamassassin/20_drugs.cf
> debug: config: read file
/usr/local/share/spamassassin/20_fake_helo_tests.cf
> debug: config: read file /usr/local/share/spamassassin/20_head_tests.cf
> debug: config: read file /usr/local/share/spamassassin/20_html_tests.cf
> debug: config: read file /usr/local/share/spamassassin/20_meta_tests.cf
> debug: config: read file /usr/local/share/spamassassin/20_phrases.cf
> debug: config: read file /usr/local/share/spamassassin/20_porn.cf
> debug: config: read file /usr/local/share/spamassassin/20_ratware.cf
> debug: config: read file /usr/local/share/spamassassin/20_uri_tests.cf
> debug: config: read file /usr/local/share/spamassassin/23_bayes.cf
> debug: config: read file /usr/local/share/spamassassin/25_body_tests_es.cf
> debug: config: read file /usr/local/share/spamassassin/25_hashcash.cf
> debug: config: read file /usr/local/share/spamassassin/25_spf.cf
> debug: config: read file /usr/local/share/spamassassin/25_uribl.cf
> debug: config: read file /usr/local/share/spamassassin/30_text_de.cf
> debug: config: read file /usr/local/share/spamassassin/30_text_fr.cf
> debug: config: read file /usr/local/share/spamassassin/30_text_nl.cf
> debug: config: read file /usr/local/share/spamassassin/30_text_pl.cf
> debug: config: read file /usr/local/share/spamassassin/50_scores.cf
> debug: config: read file /usr/local/share/spamassassin/60_whitelist.cf
> debug: using "/etc/mail/spamassassin" for site rules dir
> debug: config: read file /etc/mail/spamassassin/antidrug.cf
> debug: config: read file /etc/mail/spamassassin/l_porn.cf
> debug: config: read file /etc/mail/spamassassin/local.cf
> debug: using "/root/.spamassassin" for user state dir
> debug: using "/root/.spamassassin/user_prefs" for user prefs file
> debug: config: read file /root/.spamassassin/user_prefs
> debug: plugin: loading Mail::SpamAssassin::Plugin::URIDNSBL from @INC
> debug: plugin: registered
> Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0x84d933c)
> debug: plugin: loading Mail::SpamAssassin::Plugin::Hashcash from @INC
> debug: plugin: registered
> Mail::SpamAssassin::Plugin::Hashcash=HASH(0x8a822d0)
> debug: plugin: loading Mail::SpamAssassin::Plugin::SPF from @INC
> debug: plugin: registered Mail::SpamAssassin::Plugin::SPF=HASH(0x8a61fe4)
> debug: plugin: Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0x84d933c)
> implements 'parse_config'
> debug: plugin: Mail::SpamAssassin::Plugin::Hashcash=HASH(0x8a822d0)
> implements 'parse_config'
> debug: plugin: Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0x84d933c)
> inhibited further callbacks
> debug: plugin: Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0x84d933c)
> inhibited further callbacks
> debug: plugin: Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0x84d933c)
> inhibited further callbacks
> debug: plugin: Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0x84d933c)
> inhibited further callbacks
> debug: plugin: Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0x84d933c)
> inhibited further callbacks
> debug: plugin: Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0x84d933c)
> inhibited further callbacks
> debug: plugin: Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0x84d933c)
> inhibited further callbacks
> debug: plugin: Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0x84d933c)
> inhibited further callbacks
> debug: plugin: Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0x84d933c)
> inhibited further callbacks
> debug: plugin: Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0x84d933c)
> inhibited further callbacks
> debug: plugin: Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0x84d933c)
> inhibited further callbacks
> debug: plugin: Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0x84d933c)
> inhibited further callbacks
> debug: plugin: Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0x84d933c)
> inhibited further callbacks
> debug: plugin: Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0x84d933c)
> inhibited further callbacks
> debug: plugin: Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0x84d933c)
> inhibited further callbacks
> debug: plugin: Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0x84d933c)
> inhibited further callbacks
> debug: plugin: Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0x84d933c)
> inhibited further callbacks
> debug: plugin: Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0x84d933c)
> inhibited further callbacks
> debug: plugin: Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0x84d933c)
> inhibited further callbacks
> debug: plugin: Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0x84d933c)
> inhibited further callbacks
> debug: plugin: Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0x84d933c)
> inhibited further callbacks
> debug: plugin: Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0x84d933c)
> inhibited further callbacks
> debug: plugin: Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0x84d933c)
> inhibited further callbacks
> debug: plugin: Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0x84d933c)
> inhibited further callbacks
> debug: plugin: Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0x84d933c)
> inhibited further callbacks
> debug: plugin: Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0x84d933c)
> inhibited further callbacks
> debug: plugin: Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0x84d933c)
> inhibited further callbacks
> debug: plugin: Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0x84d933c)
> inhibited further callbacks
> debug: plugin: Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0x84d933c)
> inhibited further callbacks
> debug: plugin: Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0x84d933c)
> inhibited further callbacks
> debug: plugin: Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0x84d933c)
> inhibited further callbacks
> debug: plugin: Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0x84d933c)
> inhibited further callbacks
> config: SpamAssassin failed to parse line, skipping: )
> debug: bayes: 1580 tie-ing to DB file R/O /var/spool/spamassassin/_toks
> debug: bayes: 1580 tie-ing to DB file R/O /var/spool/spamassassin/_seen
> debug: bayes: found bayes db version 3
> debug: bayes: Not available for scanning, only 1 ham(s) in Bayes DB < 200
> debug: bayes: 1580 untie-ing
> debug: bayes: 1580 untie-ing db_toks
> debug: bayes: 1580 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: 1580 tie-ing to DB file R/O /var/spool/spamassassin/_toks
> debug: bayes: 1580 tie-ing to DB file R/O /var/spool/spamassassin/_seen
> debug: bayes: found bayes db version 3
> debug: bayes: Not available for scanning, only 1 ham(s) in Bayes DB < 200
> debug: bayes: 1580 untie-ing
> debug: bayes: 1580 untie-ing db_toks
> debug: bayes: 1580 untie-ing db_seen
> debug: metadata: X-Spam-Relays-Trusted:
> debug: metadata: X-Spam-Relays-Untrusted:
> debug: plugin: Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0x84d933c)
> implements 'parsed_metadata'
> debug: is Net::DNS::Resolver available? yes
> debug: Net::DNS version: 0.48
> debug: trying (3) linux.org...
> debug: looking up NS for 'linux.org'
> debug: NS lookup of linux.org 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(0x8a822d0))
> debug: registering glue method for check_for_spf_helo_pass
> (Mail::SpamAssassin::Plugin::SPF=HASH(0x8a61fe4))
> debug: SPF: message was delivered entirely via trusted relays, not
required
> debug: registering glue method for check_hashcash_value
> (Mail::SpamAssassin::Plugin::Hashcash=HASH(0x8a822d0))
> debug: all '*To' addrs:
> debug: registering glue method for check_for_spf_softfail
> (Mail::SpamAssassin::Plugin::SPF=HASH(0x8a61fe4))
> 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(0x8a61fe4))
> debug: registering glue method for check_for_spf_helo_softfail
> (Mail::SpamAssassin::Plugin::SPF=HASH(0x8a61fe4))
> debug: registering glue method for check_for_spf_helo_fail
> (Mail::SpamAssassin::Plugin::SPF=HASH(0x8a61fe4))
> 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(0x84d933c))
> debug: Razor2 is not available
> debug: plugin: Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0x84d933c)
> 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: Current PATH is:
> /usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/sbin:/sbin
> 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(0x84d933c)
> implements 'check_post_dnsbl'
> debug: running meta tests; score so far=-2.623
> Failed to run meta SpamAssassin tests, skipping some: syntax error at
(eval
> 53) line 295, near ") {"
> syntax error at (eval 53) line 382, near ";
> }"
>
> debug: running header regexp tests; score so far=-2.623
> debug: running body-text per-line regexp tests; score so far=-2.623
> debug: running uri tests; score so far=-2.623
> 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: Running tests for priority: 1000
> debug: running meta tests; score so far=-2.623
> debug: running header regexp tests; score so far=-2.623
> debug: using "/root/.spamassassin" for user state dir
> debug: lock: 1580 created
> /root/.spamassassin/auto-whitelist.lock.Raydeus-Dee.1580
> debug: lock: 1580 trying to get lock on /root/.spamassassin/auto-whitelist
> with 0 retries
> debug: lock: 1580 link to /root/.spamassassin/auto-whitelist.lock: link ok
> debug: Tie-ing to DB file R/W in /root/.spamassassin/auto-whitelist
> debug: auto-whitelist (db-based):
> [EMAIL PROTECTED]|ip=none scores 0/0
> debug: AWL active, pre-score: -2.623, autolearn score: -2.623, mean:
undef,
> IP: undef
> debug: DB addr list: untie-ing and unlocking.
> debug: DB addr list: file locked, breaking lock.
> debug: unlock: 1580 unlink /root/.spamassassin/auto-whitelist.lock
> debug: Post AWL score: -2.623
> debug: running body-text per-line regexp tests; score so far=-2.623
> debug: running uri tests; score so far=-2.623
> 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: is spam? score=-2.623 required=5
> debug: tests=ALL_TRUSTED,MISSING_DATE,NO_REAL_NAME
> debug:
>
subtests=__HAS_MSGID,__MSGID_OK_DIGITS,__MSGID_OK_HOST,__SANE_MSGID,__UNUSAB
LE_MSGID
> lint: 2 issues detected.  please rerun with debug enabled for more
> information.
>
>
>
>
> -- 
> No virus found in this outgoing message.
> Checked by AVG Free Edition.
> Version: 7.1.362 / Virus Database: 267.12.7/160 - Release Date: 11/3/2005

Reply via email to