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 christ...@xxxx.fr: /var/atmail/users/christ...@xxxx.fr/user_prefs Dec 6 14:39:20 webmail-9 spamd[21374]: config: failed to parse line, skipping, in "/var/atmail/users/christ...@xxxx.fr/user_prefs": header LOCAL_DEMONSTRATION_SUBJECT Subject =~ /\btest\b/i Dec 6 14:39:20 webmail-9 spamd[21374]: spamd: processing message<dfec289c350ac4489a7c6c433a456ae99fddd...@s-exc01.ci.lan> for christ...@xxxx.fr:99 Dec 6 14:39:20 webmail-9 spamd[21374]: spamd: clean message (-100.2/6.0) for christ...@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=christ...@xxxx.fr,uid=99,required_score=6.0,rhost=localhost,raddr=127.0.0.1,rport=/tmp/spamassassin.socket,mid=<dfec289c350ac4489a7c6c433a456ae99fddd...@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

Reply via email to