-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Am Wednesday, 27. February 2002 18:38 schrieb Timothy Demarest:
> >> So I tried adding Razor support to SpamAssassin which - unfortunately -
> >> razor check skipped: undefined Razor::Client
> There definitely seems to be a problem with Razor 1.20 and SpmAssassin 2.1.

No, it did happen to me with SA 2.01, too.

> I'm having the same problem under Solaris 8 with perl 5.6.1. Note that
> Razor::Client is found on my system:

On mine it is, too.

> 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

The "No such file or directory" is caused by razor not finding 
"~/razor.conf". (I traced SA with strace, no idea why razor does not look for 
that file if ran stand-alone. Maybe the problem has something to do with that 
file or its contents?)

If you created an empty ~/razor.conf file (eg. using "touch") the error 
message just says

razor-<insert your action here> failed: undefined Razor::Client

> I don't this is the problem. My installation of SpamAssassin 2.01 and Razor
> 1.19 worked fine.

I experienced the problem first with razor-agents 1.20 and SA 2.01. I did 
never try older versions, I'm only using SA since yesterday. :-) (Guys, why 
did you decide to release a new stable version one day AFTER I started using 
SA? ;)

> 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

- -- 
+-+-+-+-+-+-+ PDEPP Webserver:  http://pdepp.SourceForge.net/ +-+-+-+-+-+-+
He nodded to the troll which was employed by the Drum as a splatter. 
[footnote: Like a bouncer, but trolls use more force]        -- (Terry 
Pratchett, Guards! Guards!)
+-+-+-+-+-+-+-+-+-+-+-+-+- http://www.lspace.org -+-+-+-+-+-+-+-+-+-+-+-+-+
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE8fSvE0ORHvREo8l8RAiMKAJ4kRW61NcygvDwWxxYznxSjSYLO2QCeLA43
lIVIv2BLlANEduNOgXkoQos=
=iugH
-----END PGP SIGNATURE-----

_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to