On 2/27/02 12:22, "Craig R Hughes" <[EMAIL PROTECTED]> wrote:
> How about SA 2.01 with razor 1.20? AFAIK nothing changed on the SA side -- > they > must have moved/changed something in Razor. > > C > > Timothy Demarest wrote: > >> Date: Wed, 27 Feb 2002 09:38:16 -0800 >> From: Timothy Demarest <[EMAIL PROTECTED]> >> To: [EMAIL PROTECTED] >> Cc: Timothy Demarest <[EMAIL PROTECTED]> >> Subject: [SAtalk] Re: problems with SpamAssassin's Razor-integration >> >>>> So I tried adding Razor support to SpamAssassin which - unfortunately - >>>> did not work. Vipul's Razor by itself seems to be fully functional >>>> (tested with razor-check) but if invoked by SpamAssassin I just get >>>> >>>> razor check skipped: undefined Razor::Client >>> >>> First, make sure that Perl really can load Razor::Client: >>> >>> perl -MRazor::Client -e 1 >>> >> >> There definitely seems to be a problem with Razor 1.20 and SpmAssassin 2.1. >> I'm having the same problem under Solaris 8 with perl 5.6.1. Note that >> Razor::Client is found on my system: >> >> lester<.../home/demarest>perl -MRazor::Client -e 1 >> lester<.../home/demarest> >> >> razor-client (1.20) works fine by itself: >> >> lester<.../home/demarest>razor-report -d spam1.txt >> debug: Razor Agents 1.20, protocol version 2. >> debug: Read server list from /home/demarest/.razor-report.lst >> debug: 161712 seconds before closest server discovery >> debug: Closest server is 64.90.187.2 >> debug: Agent terminated >> debug: Connecting to 64.90.187.2... >> lester<.../home/demarest>debug: Connection established >> debug: Signature: 52101cd7b750d42a5fccb10f54dfe2c2fa168625 >> debug: Server version: 1.11, protocol version 2 >> debug: Server response: Accepted 52101cd7b750d42a5fccb10f54dfe2c2fa168625 >> debug: 64.90.187.2 accepted the report. >> debug: Agent terminated >> >> >> But with spamassassin -r (2.1) it fails: >> >> lester<.../home/demarest>spamassassin -r < spam2.txt >> razor-report failed: No such file or directory undefined Razor::Client >> >>> If that exits silently, then your Razor installation is (probably) fine. >>> >>> ISTR hearing somewhere that SpamAssassin only enables Razor support if >>> Razor is there when you build/install SA. You might try rebuilding/ >>> reinstalling SA. >> >> I don't this is the problem. My installation of SpamAssassin 2.01 and Razor >> 1.19 worked fine. I upgraded Razor to 1.20 first, them SA to 2.1 and now >> have the problem. Here are some intersting things from make test from SA >> 2.1 with razor 1.20: >> >> PERL_DL_NONLAZY=1 /opt/local/gnu/perl/bin/perl -Iblib/arch -Iblib/lib >> -I/opt/local/gnu/perl/lib/5.6.1/sun4-solaris-thread-multi >> -I/opt/local/gnu/perl/lib/5.6.1 -e 'use Test::Harness qw(&runtests >> $verbose); $verbose=0; runtests @ARGV;' t/*.t >> t/db_based_whitelist.ok >> >> t/forged_rcvd.......razor check skipped: No such file or directory >> undefined Razor::Client >> t/forged_rcvd.......ok >> >> t/nonspam...........razor check skipped: No such file or directory >> undefined Razor::Client >> t/nonspam...........ok >> >> t/reportheader......razor check skipped: No such file or directory >> undefined Razor::Client >> razor-report failed: No such file or directory undefined Razor::Client >> t/reportheader......ok >> >> t/spam..............razor check skipped: No such file or directory >> undefined Razor::Client >> razor-report failed: No such file or directory undefined Razor::Client >> t/spam..............ok >> >> t/spamd.............NOK 8 Not found: subj = Subject: *****SPAM***** >> There yours for FREE! >> t/spamd.............FAILED tests 8-9 >> >> Failed 2/15 tests, 86.67% okay >> t/spamd_maxsize.....ok >> >> t/spamd_port........NOK 8 Not found: subj = Subject: *****SPAM***** >> There yours for FREE! >> t/spamd_port........FAILED tests 8-9 >> >> Failed 2/15 tests, 86.67% okay >> t/strip2............ok >> >> t/stripmarkup.......ok >> >> Failed Test Status Wstat Total Fail Failed List of Failed >> --------------------------------------------------------------------------- >> ----- >> t/spamd.t 15 2 13.33% 8-9 >> t/spamd_port.t 15 2 13.33% 8-9 >> Failed 2/10 test scripts, 80.00% okay. 4/129 subtests failed, 96.90% okay. >> gmake: *** [test_dynamic] Error 29 >> >> >> >> Reverting to razor-agent 1.19 works fine: >> >> SA 2.1 with razor 1.19: >> >> PERL_DL_NONLAZY=1 /opt/local/gnu/perl/bin/perl -Iblib/arch -Iblib/lib >> -I/opt/local/gnu/perl/lib/5.6.1/sun4-solaris-thread-multi >> -I/opt/local/gnu/perl/lib/5.6.1 -e 'use Test::Harness qw(&runtests >> $verbose); $verbose=0; runtests @ARGV;' t/*.t >> t/db_based_whitelist.ok >> >> t/forged_rcvd.......ok >> >> t/nonspam...........ok >> >> t/reportheader......ok >> >> t/spam..............ok >> >> t/spamd............. Not found: subj = Subject: *****SPAM***** There >> yours for FREE! >> t/spamd.............FAILED tests 8-9 >> >> Failed 2/15 tests, 86.67% okay >> t/spamd_maxsize.....ok >> >> t/spamd_port........NOK 8 Not found: subj = Subject: *****SPAM***** >> There yours for FREE! >> t/spamd_port........FAILED tests 8-9 >> >> Failed 2/15 tests, 86.67% okay >> t/strip2............ok >> >> t/stripmarkup.......ok >> >> Failed Test Status Wstat Total Fail Failed List of Failed >> --------------------------------------------------------------------------- >> ----- >> t/spamd.t 15 2 13.33% 8-9 >> t/spamd_port.t 15 2 13.33% 8-9 >> Failed 2/10 test scripts, 80.00% okay. 4/129 subtests failed, 96.90% okay. >> gmake: *** [test_dynamic] Error 29 >> >> >> >> -- >> Timothy Demarest ArrayComm, Inc. >> [EMAIL PROTECTED] 2480 North 1st Street, Suite 200 >> http://www.arraycomm.com San Jose, CA 95131 >> >> _______________________________________________ >> Spamassassin-talk mailing list >> [EMAIL PROTECTED] >> https://lists.sourceforge.net/lists/listinfo/spamassassin-talk >> >> >> > > > _______________________________________________ > Spamassassin-talk mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/spamassassin-talk > So, would the suggestion in the mean time be to go back to 1.19? I'm having the same exact issues with Razor 1.20 -- Michael C. Hanson Quicksilver Software, Inc. mailto:[EMAIL PROTECTED] _______________________________________________ Spamassassin-talk mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/spamassassin-talk