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