Re: razor warning

"Allan P. Magmanlac" <[email protected]> Thu, 07 Dec 2006 11:23:42 -0500
Newsgroups gmane.mail.spam.razor.user
Message-ID <[email protected]>
Ooops. Info are the following...
OS:  Linux XXX 2.6.15-1.2054_FC5 #1 Tue Mar 14 15:48:33 EST 2006 i686 
i686 i386 GNU/Linux
I installed amavisd, spamassassin, razor using yum.
RAZOR:   Module Razor2::Client::Version 2.77
SPAMASSASSIN: SpamAssassin version 3.1.3
  running on Perl version 5.8.8

I have these on my local.cf for a while now.

body    RAZOR2_CF_RANGE_95_100   eval:check_razor2_range('95','100')
tflags  RAZOR2_CF_RANGE_95_100  net
describe RAZOR2_CF_RANGE_95_100 Razor2 gives confidence between 95 and 100

score RAZOR2_CHECK 2.500
score RAZOR2_CF_RANGE_51_100 2.600
score RAZOR2_CF_RANGE_95_100 1.20

AFTER commenting out the the above lines except the line "score 
RAZOR2_CHECK 2.500", the problem went
away.

Thanks
Allan

Matt Kettler wrote:

>Allan P. Magmanlac wrote:
>  
>
>><mailto:[email protected]>
>>
>>Hello,
>>   When I attempt to run the following command, I receive the error below.
>>
>># /usr/bin/spamassassin --lint -D
>>[14502] warn: razor2: razor2 check failed: No such file or directory Can't use an undefined value as a SCALAR reference at /usr/lib/perl5/vendor_perl/5.8.8/Razor2/Client/Agent.pm line 861. at /usr/lib/perl5/vendor_perl/5.8.8/Mail/SpamAssassin/Plugin/Razor2.pm line 317.
>>
>>Does anyone have a fix for that?
>>    
>>
>
>This might be related
>http://mail-archives.apache.org/mod_mbox/spamassassin-users/200605.mbox/%3C06b401c682c5$06cf3990$9801a8c0@Dual%3E
>
>If that doesn't help, could you at least tell us what versions of Razor and SA
>you're using? The line numbers in the warning message are meaningless without
>knowing what version to look at.
>
>ie: line 861 of "Agent.pm" in Razor 2.81 and 2.82 (the latest) is a line with
>just a single } on it. Clearly that's NOT the problem.
>
>However, in Razor version 2.77 line 861 is the same split command as line 896 in
>2.82, which is what's mentioned in that sa-users post..
>
>In razor 2.71 line 861 is " $self->{no_whitelist} = 1;".. probably not related..
>
>This could go on ad-nauseum, but you get the point, it's tough to relate a line
>number to a problem without a version number..
>
>
>  
>

-- 
Allan P. Magmanlac
[email protected]
NRNS Incorporated
Defense Research Establishment Network (DREnet)
DREnet Network Coordination Centre (DREnet NCC)
Tel: (613) 599-7860 ext 107




-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV