https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6528

--- Comment #1 from Mark Martinec <[email protected]> 2010-12-29 11:53:28 
UTC ---
> I have the following errors in my logs.
> I think it is a bug (SVN At revision 1053556)

> Dec 29 08:07:47 server spamd[14519]: plugin: eval failed: Can't call method
> "is_dns_available" on unblessed reference at
> /usr/lib/perl5/site_perl/5.12.1/Mail/SpamAssassin/Plugin/AskDNS.pm line 343,
> <GEN49> line 747.

I cannot reproduce this, even with spamd.

Are you sure you have a complete SVN r1053556, or did you only
pick the AskDNS plugin from there and have an older code elsewhere,
or perhaps a mix of two versions installed?

Please check a file Mail/SpamAssassin/Message/Metadata.pm,
it should have the following code close to its end:

  $permsgstatus->{main}->call_plugins("extract_metadata",
                       { msg => $msg, permsgstatus => $permsgstatus,
                         conf => $permsgstatus->{main}->{conf} });

(pay attention to:  permsgstatus => $permsgstatus, which is new)

-- 
Configure bugmail: 
https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

Reply via email to