You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Asif Iqbal <iq...@qwestip.net> on 2005/05/24 22:43:54 UTC

SA lint error on parse config

Hi All

I need a clue on where to look to fix this error

debug: plugin: Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0xf397ac)
implements 'parse_config'
config: SpamAssassin failed to parse line, skipping: <html>
config: SpamAssassin failed to parse line, skipping: <head>
config: SpamAssassin failed to parse line, skipping: <title>Error 500
Internal Server Error [timj.co.uk]</title>
config: SpamAssassin failed to parse line, skipping: <link
rel="stylesheet" type="text/css" href="/main.css">
config: SpamAssassin failed to parse line, skipping: </head>
config: SpamAssassin failed to parse line, skipping: <body>
config: SpamAssassin failed to parse line, skipping: <div id="header">
config: SpamAssassin failed to parse line, skipping: <img
src="/images/logo.jpg" alt="timj.co.uk - some semblance of sanity in a
digital world gon
e mad" />
[...]
lint: 58 issues detected.  please rerun with debug enabled for more information

Anyone has seen this before? I get this errror when running 
	spamassassin --lint
Also with "line: 58 ..." what file is it referring to?

I am using SA 3.0.3 on Solaris 8


-- 
Asif Iqbal
PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu
"..there are two kinds of people: those who work and those who take the credit...try
 to be in the first group;...less competition there."  - Indira Gandhi

Re: SA lint error on parse config

Posted by jdow <jd...@earthlink.net>.
From: "Asif Iqbal" <iq...@qwestip.net>

> Hi All
>
> I need a clue on where to look to fix this error
>
> debug: plugin: Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0xf397ac)
> implements 'parse_config'
> config: SpamAssassin failed to parse line, skipping: <html>
> config: SpamAssassin failed to parse line, skipping: <head>
> config: SpamAssassin failed to parse line, skipping: <title>Error 500
> Internal Server Error [timj.co.uk]</title>
> config: SpamAssassin failed to parse line, skipping: <link
> rel="stylesheet" type="text/css" href="/main.css">
> config: SpamAssassin failed to parse line, skipping: </head>
> config: SpamAssassin failed to parse line, skipping: <body>
> config: SpamAssassin failed to parse line, skipping: <div id="header">
> config: SpamAssassin failed to parse line, skipping: <img
> src="/images/logo.jpg" alt="timj.co.uk - some semblance of sanity in a
> digital world gon
> e mad" />
> [...]
> lint: 58 issues detected.  please rerun with debug enabled for more
information
>
> Anyone has seen this before? I get this errror when running
> spamassassin --lint
> Also with "line: 58 ..." what file is it referring to?
>
> I am using SA 3.0.3 on Solaris 8

Presuming (like I'm an idiot so I presume) that you run "spamassassin
--lint" every time you make a change to your rules, "What was the last
line or set of lines that you edited?"

It looks like a large selection of lines that need "\<" sort of
constructs added for multiple characters that need such escaping.

"spamassassin -D --lint" provides an absurd amount of information.
Maybe it will tell you which rule and file triggered the mess.

{^_-}



Re: SA lint error on parse config

Posted by Matt Kettler <mk...@evi-inc.com>.
Asif Iqbal wrote:
> Hi All
> 
> I need a clue on where to look to fix this error
> 
> debug: plugin: Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0xf397ac)
> implements 'parse_config'
> config: SpamAssassin failed to parse line, skipping: <html>
> config: SpamAssassin failed to parse line, skipping: <head>
> config: SpamAssassin failed to parse line, skipping: <title>Error 500
> Internal Server Error [timj.co.uk]</title>
> config: SpamAssassin failed to parse line, skipping: <link
> rel="stylesheet" type="text/css" href="/main.css">
> config: SpamAssassin failed to parse line, skipping: </head>
> config: SpamAssassin failed to parse line, skipping: <body>
> config: SpamAssassin failed to parse line, skipping: <div id="header">
> config: SpamAssassin failed to parse line, skipping: <img
> src="/images/logo.jpg" alt="timj.co.uk - some semblance of sanity in a
> digital world gon
> e mad" />
> [...]
> lint: 58 issues detected.  please rerun with debug enabled for more information
> 
> Anyone has seen this before? 

No, but it looks like you somehow have a web site HTML error document being used
as a config file.

It would appear a download of bogus-virus-warnings.cf failed, as it is hosted by
timj.co.uk, which appears in the messages above.


I get this errror when running
> 	spamassassin --lint
> Also with "line: 58 ..." what file is it referring to?

That's not line: 58... that's "lint: 58"

It's telling you lint found 58 problems while parsing the file.

> 
> I am using SA 3.0.3 on Solaris 8
> 
> 


Re: SA lint error on parse config

Posted by Asif Iqbal <iq...@qwestip.net>.
On Tue, May 24, 2005 at 04:49:51PM, Fred wrote:
> You have a .cf file with HTML code in it.  Most likely Rules-du-jour or
> something went bad on you recently and downloaded a webpage insted of a
> rulefile.  Search for the <html> string in your rules and see if you find
> one that's obviously wrong.

Thank you very much. My bogus-virus-warnings.cf was html file. Fixed and
working like a champ now.

Thanks a lot again.

> Frederic Tarasevicius
> Internet Information Services, Inc.
> http://www.i-is.com/
> 810-794-4400
> 

-- 
Asif Iqbal
PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu
"..there are two kinds of people: those who work and those who take the credit...try
 to be in the first group;...less competition there."  - Indira Gandhi

Re: SA lint error on parse config

Posted by Fred <sp...@freddyt.com>.
You have a .cf file with HTML code in it.  Most likely Rules-du-jour or
something went bad on you recently and downloaded a webpage insted of a
rulefile.  Search for the <html> string in your rules and see if you find
one that's obviously wrong.
Frederic Tarasevicius
Internet Information Services, Inc.
http://www.i-is.com/
810-794-4400

Asif Iqbal wrote:
> Hi All
>
> I need a clue on where to look to fix this error
>
> debug: plugin: Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0xf397ac)
> implements 'parse_config'
> config: SpamAssassin failed to parse line, skipping: <html>
> config: SpamAssassin failed to parse line, skipping: <head>
> config: SpamAssassin failed to parse line, skipping: <title>Error 500
> Internal Server Error [timj.co.uk]</title>
> config: SpamAssassin failed to parse line, skipping: <link
> rel="stylesheet" type="text/css" href="/main.css">
> config: SpamAssassin failed to parse line, skipping: </head>
> config: SpamAssassin failed to parse line, skipping: <body>
> config: SpamAssassin failed to parse line, skipping: <div id="header">
> config: SpamAssassin failed to parse line, skipping: <img
> src="/images/logo.jpg" alt="timj.co.uk - some semblance of sanity in a
> digital world gon
> e mad" />
> [...]
> lint: 58 issues detected.  please rerun with debug enabled for more
> information
>
> Anyone has seen this before? I get this errror when running
> spamassassin --lint
> Also with "line: 58 ..." what file is it referring to?
>
> I am using SA 3.0.3 on Solaris 8


Re: SA lint error on parse config

Posted by Dimitri Yioulos <dy...@firstbhph.com>.
I've seen it.  Are you using RDJ?  I posted a similar message on this list not 
long ago.  I was told I needed to upgrade to the latest version of RDJ, which 
I did.  However, it didn't fix the problem for me, so now I periodically use 
wget to download the Bogus Virus Warning rule.

I hope someone can shed more light on the problem for you (and for me, for 
that matter).


On Tuesday May 24 2005 4:43 pm, Asif Iqbal wrote:
> Hi All
>
> I need a clue on where to look to fix this error
>
> debug: plugin: Mail::SpamAssassin::Plugin::URIDNSBL=HASH(0xf397ac)
> implements 'parse_config'
> config: SpamAssassin failed to parse line, skipping: <html>
> config: SpamAssassin failed to parse line, skipping: <head>
> config: SpamAssassin failed to parse line, skipping: <title>Error 500
> Internal Server Error [timj.co.uk]</title>
> config: SpamAssassin failed to parse line, skipping: <link
> rel="stylesheet" type="text/css" href="/main.css">
> config: SpamAssassin failed to parse line, skipping: </head>
> config: SpamAssassin failed to parse line, skipping: <body>
> config: SpamAssassin failed to parse line, skipping: <div id="header">
> config: SpamAssassin failed to parse line, skipping: <img
> src="/images/logo.jpg" alt="timj.co.uk - some semblance of sanity in a
> digital world gon
> e mad" />
> [...]
> lint: 58 issues detected.  please rerun with debug enabled for more
> information
>
> Anyone has seen this before? I get this errror when running
> 	spamassassin --lint
> Also with "line: 58 ..." what file is it referring to?
>
> I am using SA 3.0.3 on Solaris 8