Koozali.org: home of the SME Server

Spamassassin questions ?

Offline steve288

  • *
  • 336
  • +0/-0
Spamassassin questions ?
« on: May 30, 2007, 02:28:59 PM »
I have been testing out the spamassassin.

I put the following in the /var/qmail/.spamassassin/user_prefs file

header   CM_SUB_TESTOR_BEGINNING8 Subject =~ /\btestsub\b/i
describe CM_SUB_TESTOR_BEGINNING8 Testor in subject at beginning of Local Scores
score    CM_SUB_TESTOR_BEGINNING8 0.1

This works, however I get the following message in the maillog
May 29 01:13:01 mail spamd[1834]: config: not parsing, 'allow_user_rules' is 0: header CM_SUB_TESTOR_BEGINNING8 Subject =~ /\btestsub\b/i
May 29 01:13:01 mail spamd[1834]: config: failed to parse line, skipping: header CM_SUB_TESTOR_BEGINNING8 Subject =~ /\btestsub\b/i

When I run spamassassin --lint I get the following message

[10802] warn: config: failed to parse line, skipping: auto_delete 15
[10802] warn: lint: 1 issues detected, please rerun with debug enabled for more information

Im not sure why Im getting the error message, is my spam script wrong ?? or what??

Thanks.

Offline Knuddi

  • *
  • 540
  • +0/-0
    • http://www.scanmailx.com
Spamassassin questions ?
« Reply #1 on: May 30, 2007, 07:58:05 PM »
The answer to the lint error is described here:

http://forums.contribs.org/index.php?topic=31250.0

Offline steve288

  • *
  • 336
  • +0/-0
Spamassassin questions ?
« Reply #2 on: May 30, 2007, 10:13:19 PM »
Thanks I will take a look.
regards