You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Micah Anderson <mi...@riseup.net> on 2007/09/21 16:59:23 UTC

config: failed to parse line

Occasionally I am seeing the following log lines, they don't seem to be
fatal, but I'd like to know what they are so I can decide if I need to
fix something:

Sep 21 07:24:07 spamd2 spamd[7749]: config: failed to parse line, skipping, in "(no file)": x-train 
Sep 21 07:24:07 spamd2 spamd[7749]: config: failed to parse line, skipping, in "(no file)": x-days 7 

I can't find these config variables set in /etc/spamassassin/*

This line also come along at the same time:

Sep 21 07:24:07 spamd2 spamd[7749]: config: SpamAssassin failed to parse line, no value provided for "use_bayes", skipping: use_bayes 

An odd line because my bayes is working, autolearning and classifying
fine and my 'use_bayes' line has a '1' after it:

local.cf:use_bayes 1
local.cf:bayes_auto_learn 1
local.cf:bayes_ignore_header Message-Id
local.cf:bayes_ignore_header Delivered-To
local.cf:bayes_ignore_header User-Agent
local.cf:bayes_ignore_header In-Reply-To
local.cf:bayes_ignore_header ReSent-Date
local.cf:bayes_ignore_header ReSent-From
local.cf:bayes_ignore_header ReSent-Message-ID
local.cf:bayes_ignore_header ReSent-Subject
local.cf:bayes_ignore_header ReSent-To
local.cf:bayes_ignore_header Resent-Date
local.cf:bayes_ignore_header Resent-From
local.cf:bayes_ignore_header Resent-Message-ID
local.cf:bayes_ignore_header Resent-Subject
local.cf:bayes_ignore_header Resent-To
local.cf:bayes_ignore_header X-Bogosity
local.cf:bayes_ignore_header X-CRM114
local.cf:bayes_ignore_header X-Enigmail-Version
local.cf:bayes_ignore_header X-Mailer
local.cf:bayes_ignore_header X-MailScanner
local.cf:bayes_ignore_header X-MailScanner-Information
local.cf:bayes_ignore_header X-MailScanner-SpamCheck
local.cf:bayes_ignore_header X-Mozilla-Status
local.cf:bayes_ignore_header X-Mozilla-Status2
local.cf:bayes_ignore_header X-no-archive
local.cf:bayes_ignore_header X-Original-To
local.cf:bayes_ignore_header X-PerlMX-Spam
local.cf:bayes_ignore_header X-Received-From-IP
local.cf:bayes_ignore_header X-Sanitizer
local.cf:bayes_ignore_header X-SA-Exim
local.cf:bayes_ignore_header X-Scanned-By
local.cf:bayes_ignore_header X-Sender
local.cf:bayes_ignore_header X-Sequence
local.cf:bayes_ignore_header X-Spam-Flags
local.cf:bayes_ignore_header X-Spam-Level
local.cf:bayes_ignore_header X-Spam-Score
local.cf:bayes_ignore_header X-Spam-Status
local.cf:bayes_ignore_header X-s.logic-spamassas-bar
local.cf:bayes_ignore_header X-s.logic-spamassas
local.cf:bayes_ignore_header X-Virus-Scanned
local.cf:bayes_ignore_header X-Virus-Status
local.cf:bayes_ignore_header X-Warning
local.cf:bayes_store_module Mail::SpamAssassin::BayesStore::MySQL
local.cf:bayes_sql_dsn                      DBI:mysql:bayes:dbw-pn
local.cf:bayes_sql_username                 spamass
local.cf:bayes_sql_password                 assmanspam
local.cf:bayes_sql_override_username       @GLOBAL
local.cf:bayes_expiry_max_db_size           1000000
local.cf:bayes_learn_to_journal            0

Thanks,
micah


Re: config: failed to parse line

Posted by "Daryl C. W. O'Shea" <sp...@dostech.ca>.
Micah Anderson wrote:
> Occasionally I am seeing the following log lines, they don't seem to be
> fatal, but I'd like to know what they are so I can decide if I need to
> fix something:
> 
> Sep 21 07:24:07 spamd2 spamd[7749]: config: failed to parse line, skipping, in "(no file)": x-train 
> Sep 21 07:24:07 spamd2 spamd[7749]: config: failed to parse line, skipping, in "(no file)": x-days 7 
> 
> I can't find these config variables set in /etc/spamassassin/*
> 
> This line also come along at the same time:
> 
> Sep 21 07:24:07 spamd2 spamd[7749]: config: SpamAssassin failed to parse line, no value provided for "use_bayes", skipping: use_bayes 

SQL userprefs?

Daryl