Re: [sa-list] Re: [sa-list] Re: Error Message -- uninitialized value

2004-12-15 Thread Dan Mahoney, System Admin
On Wed, 15 Dec 2004, Theo Van Dinter wrote:
On Wed, Dec 15, 2004 at 12:48:19PM -0500, Dan Mahoney, System Admin wrote:
prime# perl -MCPAN -e shell
prime# grep VERSION /usr/local/lib/perl5/site_perl/5.6.1/Mail/SPF/Query.pm
$VERSION = "1.997";
So I'm a little baffled.
Perhaps you have multiple versions installed that SA is finding?  I was just
guessing based on the code.
Nope, that was why I pasted in my "locate".  That's pretty definitely the 
only version installed.

-Dan
--
Pika Pika Pika!
-Pikachu, of Pokemon fame.
Dan Mahoney
Techie,  Sysadmin,  WebGeek
Gushi on efnet/undernet IRC
ICQ: 13735144   AIM: LarpGM
Site:  http://www.gushi.org
---


Re: [sa-list] Re: Error Message -- uninitialized value

2004-12-15 Thread Theo Van Dinter
On Wed, Dec 15, 2004 at 12:48:19PM -0500, Dan Mahoney, System Admin wrote:
> prime# perl -MCPAN -e shell
> prime# grep VERSION /usr/local/lib/perl5/site_perl/5.6.1/Mail/SPF/Query.pm
> $VERSION = "1.997";
> 
> So I'm a little baffled.

Perhaps you have multiple versions installed that SA is finding?  I was just
guessing based on the code.

-- 
Randomly Generated Tagline:
"The quickest way to double your money is to fold it in half and put it
 back in your pocket." - Zen Musings


pgpkYCp09Sh1f.pgp
Description: PGP signature


Re: [sa-list] Re: Error Message -- uninitialized value

2004-12-15 Thread Dan Mahoney, System Admin
On Wed, 15 Dec 2004, Theo Van Dinter wrote:
On Wed, Dec 15, 2004 at 03:10:09AM -0500, Dan Mahoney, System Admin wrote:
Dec 15 03:05:14 prime spamd[57032]: Use of uninitialized value in numeric
lt (<) at
/usr/local/lib/perl5/site_perl/5.6.1/Mail/SpamAssassin/Plugin/SPF.pm line
204,  line 333.
Any one else get this?
It looks like the problem is that you have an out of date Mail::SPF::Query
module installed.  SpamAssassin requires 1.996 or later.  Line 204,
BTW, is:
   if ($Mail::SPF::Query::VERSION < 1.996) {
prime# perl -MCPAN -e shell
cpan shell -- CPAN exploration and modules installation (v1.76)
ReadLine support enabled
cpan> install Mail::SPF::Query 
CPAN: Storable loaded ok
Going to read /root/.cpan/Metadata
  Database was generated on Tue, 14 Dec 2004 08:50:48 GMT
Mail::SPF::Query is up to date.

And then...
prime# locate Query.pm
/usr/local/lib/perl5/site_perl/5.6.1/Mail/SPF/Query.pm
/usr/local/lib/perl5/site_perl/5.6.1/Text/Query.pm
prime# grep VERSION /usr/local/lib/perl5/site_perl/5.6.1/Mail/SPF/Query.pm
use vars qw($VERSION $CACHE_TIMEOUT $DNS_RESOLVER_TIMEOUT);
$VERSION = "1.997";
prime#
So I'm a little baffled.
If you want a shell to poke around please let me know.  It's not reporting 
this on every mail, only sporadically.

-Dan
--
"She's been getting attacked by these leeches, they're leaving these marks
all over her neck. You gotta keep her out of those woods.  If one more
leech gets her, she's gonna get a smack."
-Someone's Mother, December 18th, 1998
Dan Mahoney
Techie,  Sysadmin,  WebGeek
Gushi on efnet/undernet IRC
ICQ: 13735144   AIM: LarpGM
Site:  http://www.gushi.org
---