Bug#461709: /usr/sbin/spamd: spf: lookup failed: Can't locate object method new via package Net::DNS::RR::SOA

2008-06-27 Thread Julian Mehnle
Michael(tm) Smith wrote:
 Not happening any longer. But up to March 13, I was getting a
 different but similar message:

   Can't locate object method new via package Net::DNS::RR::TXT
   at /usr/lib/perl5/Net/DNS/RR.pm line 305

 Since March 13, that seems to have disappeared (I assume because
 when I did an apt-get upgrade, the Net::DNS::RR and/or
 Mail::SPF::Server package got upgraded).

That was most likely a bug in Net::DNS, and certainly not one in 
Mail::SPF, because before you upgraded your system, SpamAssassin was 
using Mail::SPF::Query, which is an obsolete module different from 
Mail::SPF.

 But I'm now seeing another error in the SPF stuff:

   spf: lookup failed: Can't locate object method
   qualifier_pattern via package Mail::SPF::Mech at
   usr/share/perl5/Mail/SPF/Record.pm line 212

 So it almost seems like sort of a push-me-pull-you going on with
 those packages -- one bug gets fixed, another bug gets
 introduced...

Are you still experiencing this problem?  If so, does it go away if you 
apply the attached patch to /usr/share/perl5/Mail/SPF/Record.pm?

Julian.
--- /usr/share/perl5/Mail/SPF/Record.pm	2007-06-23 21:14:18.0 +
+++ Record.pm	2008-06-27 18:19:56.0 +
@@ -206,6 +206,7 @@
 
 sub parse_term {
 my ($self) = @_;
+require Mail::SPF::Mech;
 if (
 $self-{parse_text} =~ s/
 ^


signature.asc
Description: This is a digitally signed message part.


Bug#461709: /usr/sbin/spamd: spf: lookup failed: Can't locate object method new via package Net::DNS::RR::SOA

2008-03-20 Thread Michael(tm) Smith
Noah Meyerhans [EMAIL PROTECTED], 2008-03-04 08:28 -0500:

 On Sun, Jan 20, 2008 at 07:08:56PM +0900, Michael(tm) Smith wrote:
  
spamd[8033]: spf: lookup failed: Can't locate object method new via 
  package Net::DNS::RR::SOA at /usr/lib/perl5/Net/DNS/RR.pm line 312
 
 This bug is almost certainly in Net::DNS::RR from the libnet-dns-perl or
 Mail::SPF::Server from the libmail-spf-perl package.  I'm not sure which
 yet, but spamassassin doesn't directly call the function that is
 generating this warning.
 
 Is this still happening on a (presumably) more up-to-date system?

Not happening any longer. But up to March 13, I was getting a
different but similar message:

  Can't locate object method new via package Net::DNS::RR::TXT
  at /usr/lib/perl5/Net/DNS/RR.pm line 305

Since March 13, that seems to have disappeared (I assume because
when I did an apt-get upgrade, the Net::DNS::RR and/or
Mail::SPF::Server package got upgraded).

But I'm now seeing another error in the SPF stuff:

  spf: lookup failed: Can't locate object method
  qualifier_pattern via package Mail::SPF::Mech at
  usr/share/perl5/Mail/SPF/Record.pm line 212

So it almost seems like sort of a push-me-pull-you going on with
those packages -- one bug gets fixed, another bug gets
introduced...

Anyway, I guess this particular bug can now be closed.

  --Mike

-- 
Michael(tm) Smith
http://people.w3.org/mike/
http://sideshowbarker.net/


smime.p7s
Description: S/MIME cryptographic signature


Bug#461709: /usr/sbin/spamd: spf: lookup failed: Can't locate object method new via package Net::DNS::RR::SOA

2008-03-04 Thread Noah Meyerhans
On Sun, Jan 20, 2008 at 07:08:56PM +0900, Michael(tm) Smith wrote:
  I'm seeing the following message getting logged several times a
  day on my system.
  
spf: lookup failed: Can't locate object method new via package 
  Net::DNS::RR::SOA
 
 To be clear, I'm seeing that message being logged by spamd, and
 the full message being logged is:
 
   spamd[8033]: spf: lookup failed: Can't locate object method new via 
 package Net::DNS::RR::SOA at /usr/lib/perl5/Net/DNS/RR.pm line 312

This bug is almost certainly in Net::DNS::RR from the libnet-dns-perl or
Mail::SPF::Server from the libmail-spf-perl package.  I'm not sure which
yet, but spamassassin doesn't directly call the function that is
generating this warning.

Is this still happening on a (presumably) more up-to-date system?

noah



signature.asc
Description: Digital signature


Bug#461709: /usr/sbin/spamd: spf: lookup failed: Can't locate object method new via package Net::DNS::RR::SOA

2008-01-20 Thread Michael Smith
Package: spamassassin
Version: 3.2.3-1
Severity: normal
File: /usr/sbin/spamd


Hi,

I'm seeing the following message getting logged several times a
day on my system.

  spf: lookup failed: Can't locate object method new via package 
Net::DNS::RR::SOA

Any guidance on what I can do to eliminate it would be much
appreciated.

  --Mike Smith http://people.w3.org/mike/

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'stable'), (70, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.20.3-bytemark-uml-2
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash

Versions of packages spamassassin depends on:
ii  libarchive-tar-perl   1.38-1 Archive::Tar - manipulate tar file
ii  libdigest-sha1-perl   2.11-2 NIST SHA-1 message digest algorith
ii  libhtml-parser-perl   3.56-1 A collection of modules that parse
ii  libio-zlib-perl   1.08-1 IO:: style interface to Compress::
ii  libnet-dns-perl   0.60-1 Perform DNS queries from a Perl sc
ii  libsocket6-perl   0.19-1 Perl extensions for IPv6
ii  libsys-hostname-long-perl 1.4-1  Figure out the long (fully-qualifi
ii  libwww-perl   5.808-1WWW client/server library for Perl
ii  perl  5.8.8-12   Larry Wall's Practical Extraction 

Versions of packages spamassassin recommends:
ii  gcc  4:4.2.1-6   The GNU C compiler
ii  gnupg1.4.6-2 GNU privacy guard - a free PGP rep
ii  libc6-dev2.7-5   GNU C Library: Development Librari
ii  libmail-spf-query-perl   1:1.999.1-3 query SPF (Sender Policy Framework
pn  libsys-syslog-perl   none  (no description available)
ii  make 3.81-3  The GNU version of the make util
ii  re2c 0.12.1-1tool for generating fast C-based r
ii  spamc3.2.3-1 Client for SpamAssassin spam filte

-- debconf information:
  spamassassin/upgrade/2.40:
  spamassassin/upgrade/2.40w:
  spamassassin/upgrade/cancel: Continue
  spamassassin/upgrade/2.42m: No
  spamassassin/upgrade/2.42u: No



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Bug#461709: /usr/sbin/spamd: spf: lookup failed: Can't locate object method new via package Net::DNS::RR::SOA

2008-01-20 Thread Michael(tm) Smith
Michael Smith [EMAIL PROTECTED], 2008-01-20 18:55 +0900:

 I'm seeing the following message getting logged several times a
 day on my system.
 
   spf: lookup failed: Can't locate object method new via package 
 Net::DNS::RR::SOA

To be clear, I'm seeing that message being logged by spamd, and
the full message being logged is:

  spamd[8033]: spf: lookup failed: Can't locate object method new via package 
Net::DNS::RR::SOA at /usr/lib/perl5/Net/DNS/RR.pm line 312

:wq

  --Mike



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]