Shwetar (sent by Nabble.com) wrote:
> Hi all,
> 
> I am a newbie to SA... but the place where I am workin at wants me to
> help eliminate spam for them. I have been trying this for the past 6
> months... but cant figure out what I am missin out on...
> PLEASE HELP PLEASE HELP PLEASE HELP!
> 
> when I run spamassassin --lint I get the foll. output...

Looks like you have a lot of garbage that pertains to old versions of
SpamAssassin in your config file, and some general typos.

> config: SpamAssassin failed to parse line, skipping: rewrite_subject 1

rewrite_subject was replaced with the more general rewrite_header as of SA 
3.0.0.

> config: SpamAssassin failed to parse line, skipping: report_header 1
> config: SpamAssassin failed to parse line, skipping: use_terse_report 1
> config: SpamAssassin failed to parse line, skipping: defang_mime 1


defang_mime, use_terse_report, defang_mime, and report_header have all been
obsolete since SA 2.50 introduced report_safe and report_template. Delete all of
these and use the current commands instead.

(note: you cannot report_header and defang_mime at the same time. They're
mutually exclusive. report_safe 0 will get you report_header behavior, but no
mime defanging. )


> config: SpamAssassin failed to parse line, skipping: dcc_add_header 1

This option was dropped in SA 3.0.0


> Argument "1 (Only if you have installed pyzor)" isn't numeric in numeric
> eq (==) at /usr/share/perl5/Mail/SpamAssassin/Conf/Parser.pm line 578.
> Argument "1score BAYES_99 15.000" isn't numeric in numeric eq (==) at
> /usr/share/perl5/Mail/SpamAssassin/Conf/Parser.pm line 578.

You appear to have a typo in your config file. Instead of "score BAYES_99" you
have "1score BAYES_99".. delete the 1.

> 
>> config: SpamAssassin failed to parse line, skipping: auto_blacklist
>> [EMAIL PROTECTED]

Erm.. auto_blacklist? What the heck is that? That's never been a spamassassin
option, or at least it's not in any version of SA newer than 2.0 (I did a grep
on my archive collection).

Perhaps you meant blacklist_from?

Reply via email to