spamassassin-users December 2011 archive
Main Archive Page > Month Archives  > spamassassin-users archives
spamassassin-users: Re: failed to parse line

Re: failed to parse line

From: Kevin A. McGrail <KMcGrail_at_nospam>
Date: Tue Dec 06 2011 - 15:37:10 GMT
To: Christian Gregoire <cgregoir99@yahoo.com>

On 12/6/2011 10:28 AM, Christian Gregoire wrote:
> Hi,
>
> With the following prefs file (taken from http://wiki.apache.org/spamassassin/WritingRules) :
>
> header LOCAL_DEMONSTRATION_SUBJECT Subject =~ /\btest\b/i
>
> score LOCAL_DEMONSTRATION_SUBJECT 0.1
>
> I get the below error :
>
> Dec 6 14:39:20 webmail-9 spamd[21374]: spamd: using default config for christian@xxxx.fr: /var/atmail/users/christian@xxxx.fr/user_prefs
> Dec 6 14:39:20 webmail-9 spamd[21374]: config: failed to parse line, skipping, in "/var/atmail/users/christian@xxxx.fr/user_prefs": header LOCAL_DEMONSTRATION_SUBJECT Subject =~ /\btest\b/i
> Dec 6 14:39:20 webmail-9 spamd[21374]: spamd: processing message<DFEC289C350AC4489A7C6C433A456AE99FDDDD7B@S-EXC01.ci.lan> for christian@xxxx.fr:99
> Dec 6 14:39:20 webmail-9 spamd[21374]: spamd: clean message (-100.2/6.0) for christian@xxxx.fr:99 in 0.2 seconds, 41321 bytes.
> Dec 6 14:39:20 webmail-9 spamd[21374]: spamd: result: . -100 - ALL_TRUSTED,HTML_IMAGE_ONLY_32,HTML_IMAGE_RATIO_02,HTML_MESSAGE,TVD_SPACE_RATIO,USER_IN_WHITELIST scantime=0.2,size=41321,user=christian@xxxx.fr,uid=99,required_score=6.0,rhost=localhost,raddr=127.0.0.1,rport=/tmp/spamassassin.socket,mid=<DFEC289C350AC4489A7C6C433A456AE99FDDDD7B@S-EXC01.ci.lan>,autolearn=no
>
>
What happens if you put those lines into a local.cf or similar
configuration file rather than a user preference?

What are your command line parameters for spamd and spamc?

Regards,
KAM