You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by John Andersen <js...@pen.homeip.net> on 2006/08/21 08:28:00 UTC

Can't locate object method "type"

On one of my machines, my logs are getting a fair amount of the following
message:  Any clue would be welcome.


Aug 20 21:55:26 norcomix spamd[12046]: Can't locate object method "type" via 
package "Net::DNS::RR::MX" 
at /usr/lib/perl5/site_perl/5.8.0/Mail/SpamAssassin/Dns.pm line 212.
Aug 20 21:55:50 norcomix spamd[12046]: Can't locate object method "type" via 
package "Net::DNS::RR::MX" 
at /usr/lib/perl5/site_perl/5.8.0/Mail/SpamAssassin/Dns.pm line 212.
Aug 20 22:18:42 norcomix spamd[12046]: Can't locate object method "type" via 
package "Net::DNS::RR::MX" 
at /usr/lib/perl5/site_perl/5.8.0/Mail/SpamAssassin/Dns.pm line 212.


In /usr/lib/perl5/site_perl/5.8.0/Mail/SpamAssassin/Dns.pm
Line 212 looks like
    next if ($answer->type ne 'A' && $answer->type ne 'TXT');
    # skip any A record that isn't on 127/8
    next if ($answer->type eq 'A' && $answer->rdatastr !~ /^127\./);



-- 
_____________________________________
John Andersen

Re: Can't locate object method "type"

Posted by John Andersen <js...@pen.homeip.net>.
On Sunday 20 August 2006 23:50, Loren Wilton wrote:
> Old version of Net::DNS?
>
>         Loren

Not according to cpan.  That was the first thing I checked.
I wonder what low-level stuff Net::DNS is trying to use?
Its running on an older SuSE Distro, and the newer boxes
don't seem to show this message.


-- 
_____________________________________
John Andersen

Re: Can't locate object method "type"

Posted by Loren Wilton <lw...@earthlink.net>.
Old version of Net::DNS?

        Loren