Try using full rules, instead of body rules, like the ones included with
SpamAssassin.
Daryl
On 5/29/2006 9:48 AM, Jim Hermann - UUN Hostmaster wrote:
I tried changing the definitions to the new format. I still got the error.
# complete set of ranges - jwh 9/29/05
body RAZOR2_CF_RANGE_00_01 eval:check_razor2_range('','00','01')
tflags RAZOR2_CF_RANGE_00_01 net
describe RAZOR2_CF_RANGE_00_01 Razor2 gives confidence between 00 and 01
body RAZOR2_CF_RANGE_02_10 eval:check_razor2_range('','02','10')
tflags RAZOR2_CF_RANGE_02_10 net
describe RAZOR2_CF_RANGE_02_10 Razor2 gives confidence between 02 and 10
body RAZOR2_CF_RANGE_11_50 eval:check_razor2_range('','11','50')
tflags RAZOR2_CF_RANGE_11_50 net
describe RAZOR2_CF_RANGE_11_50 Razor2 gives confidence level of 10-50%
body RAZOR2_CF_RANGE_51_90 eval:check_razor2_range('','51','90')
tflags RAZOR2_CF_RANGE_51_90 net
describe RAZOR2_CF_RANGE_51_90 Razor2 gives confidence level of 50-90%
body RAZOR2_CF_RANGE_91_100 eval:check_razor2_range('','91','100')
tflags RAZOR2_CF_RANGE_91_100 net
describe RAZOR2_CF_RANGE_91_100 Razor2 gives confidence level above 90%
My local.cf contained
score RAZOR2_CF_RANGE_00_01 0.01
score RAZOR2_CF_RANGE_02_10 0.10
score RAZOR2_CF_RANGE_11_50 0.50
score RAZOR2_CF_RANGE_51_100 0.00
score RAZOR2_CF_RANGE_51_90 3.70
score RAZOR2_CF_RANGE_91_100 7.50
-----Original Message-----
From: Daryl C. W. O'Shea [mailto:[EMAIL PROTECTED]
Sent: Monday, May 29, 2006 02:37 AM
To: Jim Hermann - UUN Hostmaster
Cc: users@spamassassin.apache.org
Subject: Re: Razor2 Error
Jim Hermann - UUN Hostmaster wrote:
I found my problem. I had some custom definitions that used
eval:check_razor2_range. I deleted the custom definitions and the error
went away.
What were the custom rules you had that caused that error? It's likely
that we could add/improve validation of that config.
Daryl