Hello,

I once had this problem. It was caused by an improper/incomplete upgrade of 
Spamassassin. Perl modules actually, some had been downloaded and added to the 
system via CPAN, which were supposed to go with a new Spamassassin binary. The 
binary was never installed however, and we had lots of problems like the "can't 
locate object method" error. 

Investigating the Perl modules afterwards, it was clear that some were a new 
version, while others were the old version - God only knows how that happened 
(probably misuse of CPAN). Restoring the old perl modules from backup fixed the 
issue. 

HTH
Cheers,
Michael Hutchinson

-----Original Message-----
From: mouss [mailto:mo...@ml.netoyen.net] 
Sent: Thursday, 22 January 2009 9:40 a.m.
To: users@spamassassin.apache.org
Subject: Re: Can't locate object method "new" via package "Net::DNS::RR::TXT"

Brian J. Murrell a écrit :
> I seem to be getting a lot of these in the last 36h:
> 
> 
> 12:02:26 spamd Can't locate object method "new" via package 
> "Net::DNS::RR::TXT" at /usr/lib/perl5/Net/DNS/RR.pm line 305.
> 12:02:26 spamd caught at /usr/share/perl5/Mail/SpamAssassin/DnsResolver.pm 
> line 419
> 
> Any ideas why?
>


probably a bug in one of: Net::DNS or Mail::SPF or Mail::SPF::Query.

Reply via email to