You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by "Rosenbaum, Larry M." <ro...@ornl.gov> on 2005/06/23 21:20:48 UTC

Problem with 3.1.0pre and Razor - solved

I was able to solve the problem I reported on Monday.  The problem was
with this line in our local configuration:

body    RAZOR2_CF_RANGE_96_100  eval:check_razor2_range('96','100')

When I changed it to this:

full    RAZOR2_CF_RANGE_96_100  eval:check_razor2_range('','96','100')

the error went away.  Apparently the check_razor2_range eval has changed
to where it uses an additional argument, and needs to be a "full" rule
rather than "body".


  +++++++++++++++++++++++

I have installed SpamAssassin v3.1.0pre on a test system running Solaris
8, Perl 5.8.5, and Razor 2.67.  I got the following message when I lint:


# spamassassin --lint

[15182] warn: razor2: razor2 check failed: No such file or directory
Can't use an undefined value as a SCALAR reference at
/usr/local/lib/perl5/site_perl/5.8.5/sun4-solaris/Razor2/Client/Agent.pm
line 828. at
/usr/local/lib/perl5/site_perl/5.8.5/Mail/SpamAssassin/Plugin/Razor2.pm
line 317.

I also see this error in the log file when I run spamd.  I have the
following razor entries in local.cf:

use_razor2              1
razor_config      /etc/mail/spamassassin/.razor/razor-agent.conf

Contents of razor-agent.conf:

#
# Razor2 config file
# 
# Autogenerated by Razor-Agents v2.61 
# Mon Sep 13 11:48:50 2004
# Created with all default values 
# 
# see razor-agent.conf(5) man page 
#

debuglevel             = 2
identity               = identity
ignorelist             = 0
listfile_catalogue     = servers.catalogue.lst
listfile_discovery     = servers.discovery.lst
listfile_nomination    = servers.nomination.lst
logfile                = razor-agent.log
logic_method           = 4
min_cf                 = ac
razorzone              = razor2.cloudmark.com
rediscovery_wait       = 172800
report_headers         = 1
sort_by_distance       = 0
turn_off_discovery     = 0
use_engines            = 4,8
whitelist              = razor-whitelist
razorhome = /etc/mail/spamassassin/.razor/

What do I need to fix?

Larry Rosenbaum
ORNL