OK, I've worked with this for several days before mailing the list so as not to be an idiot about this. My story is that I've been using SA on a RH 7.2 install for 9 months or so without incident. I've been tracking the releases and staying up to date. Recently I had a disk corruption and needed to reinstall, this time opting for Debian (Woody). I installed Razor2, which works and communicates and does all that good stuff. I installed SpamAssassin 2.52 (started before the new release), and it works fine EXCEPT that the Razor2 integration isn't there. It consistently throws errors saying that the "new method of Razor2::Client::Agent cannot be found". I've checked the @INC path (it's on the same path as Mail::SpamAssassin), I've altered the spamassassin shell script to call perl -d and stepped through and I can't figure out what is happening. It seems like this section of code is protected by an eval of the require for the module so I can't figure out why it is even here if the module is not available. I upgraded to 2.53 via CPAN and the same thing continues.
Here are some of the errors I am seeing: running spamassassin -r -D with blank stdin gives: ... debug: Removing Markup debug: Razor2 is available debug: entering helper-app run mode razor2 report failed: Illegal seek Can't locate object method "new" via package "Razor2::Client::Agent" (perhaps you forgot to load "Razor2::Client::Agent"?) at /usr/local/share/perl/5.6.1/Mail/SpamAssassin/Reporter.pm line 127. debug: leaving helper-app run mode ... but it is there, rooted in the same directory as Mail::SpamAssassin, /usr/local/share/perl/5.6.1 S:5 [EMAIL PROTECTED] 5.6.1> locate Razor2/Client/Agent.pm /usr/local/share/perl/5.6.1/Razor2/Client/Agent.pm running razor-check -d with a blank stdin gives: S:5 [EMAIL PROTECTED] SpamAssassin> razor-check -d Razor-Log: Computed razorhome from env: /home/dave/.razor Razor-Log: Found razorhome: /home/dave/.razor Razor-Log: No /home/dave/.razor/razor-agent.conf found, skipping. Razor-Log: No razor-agent.conf found, using defaults. Apr 05 09:40:41.589162 check[15801]: [ 1] [bootup] Logging initiated LogDebugLevel=9 to stdout Apr 05 09:40:41.591361 check[15801]: [ 5] computed razorhome=/home/dave/.razor, conf=, ident=/home/dave/.razor/[EMAIL PROTECTED] Apr 05 09:40:41.592249 check[15801]: [ 2] Razor-Agents v2.22 starting razor-check -d Apr 05 09:40:41.612071 check[15801]: [ 9] uname -a: Linux ylum 2.2.20-idepci #1 Sat Apr 20 12:45:19 EST 2002 i686 unknown Apr 05 09:40:45.223099 check[15801]: [ 6] read 0 mail Apr 05 09:40:45.224442 check[15801]: [ 8] Client supported_engines: 1 2 3 4 .... So Razor2 is there and working. I'm at a loss. It seems to be something in the Perl search path not finding this, but if I run the same module directly via this Perl one-liner, I get this: S:5 [EMAIL PROTECTED] SpamAssassin> perl -e 'use Data::Dumper; use Razor2::Client::Agent; $r = new Razor2::Client::Agent("razor-report"); print Dumper($r);' $VAR1 = bless( { 'global_razorhome' => '/etc/razor', 'preproc' => bless( { 'deHTML' => bless( do{\(my $o = 135264912)}, 'Razor2::Preproc::deHTMLxs' ), 'deQP' => bless( {}, 'Razor2::Preproc::deQP' ), 'deBase64' => bless( {}, 'Razor2::Preproc::deBase64' ), 'rm' => undef, 'deNewline' => bless( {}, 'Razor2::Preproc::deNewline' ) }, 'Razor2::Preproc::Manager' ), 'preproc_vr1' => bless( {}, 'Razor2::Preproc::VR1' ), 'breed' => 'report', 'name_version' => 'Razor-Agents v2.22' }, 'Razor2::Client::Agent' ); I'm at wits end with this one. Does anyone have any suggestions as to what could be the issue here? d ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Spamassassin-talk mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/spamassassin-talk