You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by am...@sbgit.com on 2006/06/14 12:11:21 UTC

Spamassassin Lint detects errors

Hi there,

i have a big problem with my spamassassin.

I have checked everything, and for me everything
is ok.

May someone can take a look, but at first some system
informations:
OS: Debian Linux 3.1 sarge
SA: Spamassassin 3.10

Additional Programms:
Maia Mailguard
mysql  Ver 12.22 Distrib 4.0.24

ERRORS :

..
[11208] warn: config: failed to parse line, skipping: rewrite_header_subject *****SPAM*****
[11208] warn: config: failed to parse line, skipping: bayes_autolearn 1
[11208] warn: config: failed to parse line, skipping: bayes_autolearn_threshold_nonspam 0.1
[11208] warn: config: failed to parse line, skipping: bayes_autolearn_threshold_spam 10.0
[11208] warn: config: failed to parse line, skipping: bayes_use_hapxes 1
[11208] warn: config: failed to parse line, skipping: bayes_use_chi2_combining 1
[11208] warn: config: failed to parse line, skipping: use_razor2 1
[11208] warn: config: failed to parse line, skipping: use_dcc 1
..
[11208] warn: lint: 8 issues detected, please rerun with debug enabled for more information



LOCAL.CF :
# This is the right place to customize your installation of SpamAssassin.
#
# See 'perldoc Mail::SpamAssassin::Conf' for details of what can be
# tweaked.
#
###########################################################################
#
# rewrite_header Subject *****SPAM*****
# report_safe 1
# trusted_networks 212.17.35.
# lock_method flock
required_score 5.0
rewrite_header_subject *****SPAM*****
report_safe 1
use_bayes 1
bayes_store_module Mail::SpamAssassin::BayesStore::SQL
bayes_sql_dsn DBI:mysql:maiadb
bayes_sql_username xxxxxxxx
bayes_sql_password xxxxxxxx
bayes_sql_override_username xxxxxxxx
bayes_autolearn 1
bayes_autolearn_threshold_nonspam 0.1
bayes_autolearn_threshold_spam 10.0
bayes_use_hapxes 1
bayes_use_chi2_combining 1
bayes_ignore_header ReSent-Date
bayes_ignore_header ReSent-From
bayes_ignore_header ReSent-Message-ID
bayes_ignore_header ReSent-Subject
bayes_ignore_header ReSent-To
bayes_ignore_header ReSent-Date
bayes_ignore_header ReSent-Message-ID
bayes_ignore_header ReSent-Subject
bayes_ignore_header ReSent-To
bayes_ignore_header X-Received-From-IP
bayes_ignore_header X-Virus-Scanned
bayes_ignore_header X-Spam-Status
bayes_ignore_header X-Spam-Level
bayes_ignore_header X-Sender
bayes_ignore_header X-Mailer

#Auto-Whitelist Config
auto_whitelist_factory Mail::SpamAssassin::SQLBasedAddrList
user_awl_dsn DBI:mysql:maiadb
user_awl_sql_username xxxxxxxx
user_awl_sql_password xxxxxxxx

skip_rbl_checks 0
use_razor2 1
use_dcc 1
use_pyzor 1


Thanks Peter



RE: Spamassassin Lint detects errors

Posted by Sietse van Zanen <si...@wizdom.nu>.
Have you loaded all of the respected plugins in init.pre?
 
If so, run spamassassin -D --lint and post output here. It'ss give you the reasons for not being able to parse the config lines.
 
-Sietse

________________________________

From: amavis@sbgit.com [mailto:amavis@sbgit.com]
Sent: Wed 14-Jun-06 12:11
To: users@spamassassin.apache.org
Subject: Spamassassin Lint detects errors



Hi there,

i have a big problem with my spamassassin.

I have checked everything, and for me everything
is ok.

May someone can take a look, but at first some system
informations:
OS: Debian Linux 3.1 sarge
SA: Spamassassin 3.10

Additional Programms:
Maia Mailguard
mysql  Ver 12.22 Distrib 4.0.24

ERRORS :

..
[11208] warn: config: failed to parse line, skipping: rewrite_header_subject *****SPAM*****
[11208] warn: config: failed to parse line, skipping: bayes_autolearn 1
[11208] warn: config: failed to parse line, skipping: bayes_autolearn_threshold_nonspam 0.1
[11208] warn: config: failed to parse line, skipping: bayes_autolearn_threshold_spam 10.0
[11208] warn: config: failed to parse line, skipping: bayes_use_hapxes 1
[11208] warn: config: failed to parse line, skipping: bayes_use_chi2_combining 1
[11208] warn: config: failed to parse line, skipping: use_razor2 1
[11208] warn: config: failed to parse line, skipping: use_dcc 1
..
[11208] warn: lint: 8 issues detected, please rerun with debug enabled for more information



LOCAL.CF :
# This is the right place to customize your installation of SpamAssassin.
#
# See 'perldoc Mail::SpamAssassin::Conf' for details of what can be
# tweaked.
#
###########################################################################
#
# rewrite_header Subject *****SPAM*****
# report_safe 1
# trusted_networks 212.17.35.
# lock_method flock
required_score 5.0
rewrite_header_subject *****SPAM*****
report_safe 1
use_bayes 1
bayes_store_module Mail::SpamAssassin::BayesStore::SQL
bayes_sql_dsn DBI:mysql:maiadb
bayes_sql_username xxxxxxxx
bayes_sql_password xxxxxxxx
bayes_sql_override_username xxxxxxxx
bayes_autolearn 1
bayes_autolearn_threshold_nonspam 0.1
bayes_autolearn_threshold_spam 10.0
bayes_use_hapxes 1
bayes_use_chi2_combining 1
bayes_ignore_header ReSent-Date
bayes_ignore_header ReSent-From
bayes_ignore_header ReSent-Message-ID
bayes_ignore_header ReSent-Subject
bayes_ignore_header ReSent-To
bayes_ignore_header ReSent-Date
bayes_ignore_header ReSent-Message-ID
bayes_ignore_header ReSent-Subject
bayes_ignore_header ReSent-To
bayes_ignore_header X-Received-From-IP
bayes_ignore_header X-Virus-Scanned
bayes_ignore_header X-Spam-Status
bayes_ignore_header X-Spam-Level
bayes_ignore_header X-Sender
bayes_ignore_header X-Mailer

#Auto-Whitelist Config
auto_whitelist_factory Mail::SpamAssassin::SQLBasedAddrList
user_awl_dsn DBI:mysql:maiadb
user_awl_sql_username xxxxxxxx
user_awl_sql_password xxxxxxxx

skip_rbl_checks 0
use_razor2 1
use_dcc 1
use_pyzor 1


Thanks Peter





Re: Spamassassin Lint detects errors

Posted by Scott Tarlton <sc...@pfeiffer.edu>.
If I'm not mistaken, bayes_autolearn 1 should actually be

bayes_auto_learn 1

anyone please feel free to correct me if I'm wrong.  adieu

Scott

Loren Wilton wrote:
>> [11208] warn: config: failed to parse line, skipping:
> rewrite_header_subject *****SPAM*****
> 
> rewrite_header Subject ****SPAM****
> 
>> [11208] warn: config: failed to parse line, skipping: bayes_autolearn 1
> 
> probably is bayes_autolearn Yes
> 
>> [11208] warn: config: failed to parse line, skipping: bayes_use_hapxes 1
>> [11208] warn: config: failed to parse line, skipping:
> bayes_use_chi2_combining 1
> 
> Don't know why those are complaining, but I think they are the defaults so
> there is no need to set them.
> 
>> [11208] warn: config: failed to parse line, skipping: use_razor2 1
>> [11208] warn: config: failed to parse line, skipping: use_dcc 1
> 
> Razor and DCC are now plugins.  You need to uncomment the plugin lines in
> init.pre or init.310 or wherever they are.
> 
>         Loren
> 

Re: Spamassassin Lint detects errors

Posted by Loren Wilton <lw...@earthlink.net>.
> [11208] warn: config: failed to parse line, skipping:
rewrite_header_subject *****SPAM*****

rewrite_header Subject ****SPAM****

> [11208] warn: config: failed to parse line, skipping: bayes_autolearn 1

probably is bayes_autolearn Yes

> [11208] warn: config: failed to parse line, skipping: bayes_use_hapxes 1
> [11208] warn: config: failed to parse line, skipping:
bayes_use_chi2_combining 1

Don't know why those are complaining, but I think they are the defaults so
there is no need to set them.

> [11208] warn: config: failed to parse line, skipping: use_razor2 1
> [11208] warn: config: failed to parse line, skipping: use_dcc 1

Razor and DCC are now plugins.  You need to uncomment the plugin lines in
init.pre or init.310 or wherever they are.

        Loren