You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Federico Giannici <gi...@neomedia.it> on 2006/03/12 12:19:26 UTC

Error upgrading to 3.1.1

We have SA 3.1.0 running on OpenBSD 3.7 i386.

After upgrading to 3.1.1 I issued the command "spamassassin --lint" and 
the following warning appeared:

[25042] warn: rules: failed to run RAZOR2_CF_RANGE_E8_51_100 test, skipping:
[25042] warn: _(Can't locate object method "new" via package 
"Mail::SpamAssassin::Timeout" (perhaps you forgot to load 
"Mail::SpamAssassin::Timeout"?) at 
/usr/local/libdata/perl5/site_perl/Mail/SpamAssassin/Plugin/Razor2.pm 
line 147.
[25042] warn: )

What could be the problem?


Thanks.

-- 
___________________________________________________
     __
    |-                      giannici@neomedia.it
    |ederico Giannici      http://www.neomedia.it
___________________________________________________

Re: Error upgrading to 3.1.1

Posted by Theo Van Dinter <fe...@apache.org>.
On Sun, Mar 12, 2006 at 12:19:26PM +0100, Federico Giannici wrote:
> After upgrading to 3.1.1 I issued the command "spamassassin --lint" and 
> the following warning appeared:
> 
> [25042] warn: _(Can't locate object method "new" via package 
> "Mail::SpamAssassin::Timeout" (perhaps you forgot to load 
> "Mail::SpamAssassin::Timeout"?) at 
> 
> What could be the problem?

Hrm.  You found a bug in 3.1.1!  :(

The Razor plugin ought to be loading that module, but it doesn't seem to by
default.  However, if you have any of the other plugins that use the module
loaded, you won't see the error, which is why it wasn't caught in testing.
D'oh!

So as a work-around for the time being, you can enable any of these
plugins (some are enabled by default but seem to have been disabled in
your setup):

DCC
DomainKeys
Pyzor
SPF

If you really do want those services disabled, I'd probably choose either
DCC or Pyzor -- if you don't have the client software installed no tests
will run, but you'll get the module loading.

Alternately, if you don't mind applying a
patch/editing a perl module, check out the patch in
http://issues.apache.org/SpamAssassin/show_bug.cgi?id=4826

-- 
Randomly Generated Tagline:
If there is no wind, row.
 		-- Polish proverb