FW: Razor2 check fails with Can't locate object method "new"

Stephen Swaney steve.swaney at fsl.com
Sun Jul 17 15:24:40 IST 2005

Please excuse this cross-post from the razor-users list but I betting that
some MailScanner user has hit this problem - and hopefully solved it.



Stephen Swaney
Fort Systems Ltd.
stephen.swaney at fsl.com

-----Original Message-----
From: Stephen Swaney [mailto:steve.swaney at fsl.com] 
Sent: Sunday, July 17, 2005 10:15 AM
To: 'razor-users at lists.sourceforge.net'
Subject: Razor2 check fails with Can't locate object method "new"

I'm having a problem after upgrading to Razor 2.75 on a Red Hat ES 3.0
x86_64system. All was working normally for version 2.72.

After the update, when SpamAssassin attempts to call razor, the following
error occurs:

debug: Razor2 is available
debug: entering helper-app run mode
razor2 check skipped:  Can't locate object method "new" via package
"Razor2::Client::Agent" at
/usr/lib/perl5/site_perl/5.8.0/Mail/SpamAssassin/Dns.pm line 430.
debug: leaving helper-app run mode
debug: Razor2 results: spam? 0  highest cf score: 0

I belive I've followed the instructions from The SpamAssassin Wiki:

Razor2 check fails with Can't locate object method "new"


And the test shown on that page passes without error. Still razor is not
used by SpamAssassin.

Applications / Modules / Versions installed:

Running on
Linux xxx.xxx.net 2.4.21-20.ELsmp #1 SMP Wed Aug 18 20:34:58 EDT 2004 x86_64
x86_64 x86_64 GNU/Linux This is Red Hat Enterprise Linux ES release 3
(Taroon Update 5) This is Perl version 5.008000 (5.8.0)

This is MailScanner version 4.43.8
Module versions are:
1.00	AnyDBM_File
1.14	Archive::Zip
1.01	Carp
1.119 	Convert::BinHex
1.00	DirHandle
1.04	Fcntl
2.71	File::Basename
2.05	File::Copy
2.01	FileHandle
1.05	File::Path
0.13	File::Temp
1.29	HTML::Entities
3.45	HTML::Parser
2.30	HTML::TokeParser
1.20	IO
1.09	IO::File
1.122	IO::Pipe
1.50	Mail::Header
3.05	MIME::Base64
5.417	MIME::Decoder
5.417	MIME::Decoder::UU
5.417	MIME::Head
5.417	MIME::Parser
3.03	MIME::QuotedPrint
5.417	MIME::Tools
0.10	Net::CIDR
1.05	POSIX
1.75	Socket
0.03	Sys::Syslog
1.02	Time::localtime

Optional module versions are:
1.806	DB_File
1.10	Digest
1.01	Digest::HMAC
2.33	Digest::MD5
2.10	Digest::SHA1
0.44	Inline
0.17	Mail::ClamAV
3.000004	Mail::SpamAssassin
1.997	Mail::SPF::Query
0.15	Net::CIDR::Lite
0.51	Net::DNS
missing	Net::LDAP
1.94	Parse::RecDescent
missing	SAVI
1.2	Sys::Hostname::Long
2.48	Test::Harness
0.6	Test::Simple
1.89	Text::Balanced
1.35	URI

Any help very much appreciated.


Stephen Swaney
Fort Systems Ltd.
stephen.swaney at fsl.com

------------------------ MailScanner list ------------------------
To unsubscribe, email jiscmail at jiscmail.ac.uk with the words:
'leave mailscanner' in the body of the email.
Before posting, read the Wiki (http://wiki.mailscanner.info/) and
the archives (http://www.jiscmail.ac.uk/lists/mailscanner.html).

Support MailScanner development - buy the book off the website!

More information about the MailScanner mailing list