Help on ruleset for Required SpamAssassin Score

George Edwards georgelist at CONPOINT.COM
Thu May 6 22:58:00 IST 2004


I am trying to configure MS to apply different SA scores for different users.  I created a ruleset that I thought would work but I get syntax errors when I attempt to run it.  I am sure it is something simple.  But I do not know what it is.  Thanks for any help you can folks can give me on this.

 

I created---

 

/etc/MailScanner/rules/spamscore.rules

To:                   *@usersdomain1.com              Required SpamAssassin Score = 5

To:                   *@usersdomain2.com              Required SpamAssassin Score = 5

FromOrTo:      default                                       Required SpamAssassin Score = 4

 

 

I changed MailScanner.conf SA score rule to---

 

Required SpamAssassin Score = %rules-dir%/spamscore.rules

 

 

I reload and I get this

 

May  6 16:27:22 nabu MailScanner[18784]: Syntax error in line 1 of ruleset file /etc/MailScanner/rules/spamscore.rules

May  6 16:27:22 nabu MailScanner[18784]: Syntax error in line 2 of ruleset file /etc/MailScanner/rules/spamscore.rules

May  6 16:27:22 nabu MailScanner[18784]: Syntax error in line 3 of ruleset file /etc/MailScanner/rules/spamscore.rules

May  6 16:27:22 nabu MailScanner[18784]: Aborting due to syntax errors in /etc/MailScanner/rules/spamscore.rules.

-------------------------- MailScanner list ----------------------
To leave, send    leave mailscanner    to jiscmail at jiscmail.ac.uk
Before posting, please see the Most Asked Questions at
http://www.mailscanner.biz/maq/     and the archives at
http://www.jiscmail.ac.uk/lists/mailscanner.html
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.mailscanner.info/pipermail/mailscanner/attachments/20040506/a13bac33/attachment.html


More information about the MailScanner mailing list