SOLVED -- Re: Error Message -- uninitialized value
On Wed, 15 Dec 2004, Dan Mahoney, System Admin wrote: Well, a quick perl script solved it for me: #!/usr/bin/perl use Mail::SPF::Query; if ($Mail::SPF::Query::VERSION < 1.996) { print "version is lower"; } elsif ($Mail::SPF::Query::VERSION > 1.996) { print "version $Mail::SPF::Query::VERSION is higher"; } The issue? It bombed on line 2 because it couldn't locate Net::CIDR::Lite. Ah well, fixed now. -Dan 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 --- -- "Don't be so depressed dear." "I have no endorphins, what am I supposed to do?" -DM and SK, February 10th, 1999 Dan Mahoney Techie, Sysadmin, WebGeek Gushi on efnet/undernet IRC ICQ: 13735144 AIM: LarpGM Site: http://www.gushi.org ---
Re: [sa-list] Re: [sa-list] Re: Error Message -- uninitialized value
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
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
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 ---
Re: Error Message -- uninitialized value
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) { -- Randomly Generated Tagline: "And 1.1.81 is officially BugFree(tm), so if you receive any bug-reports on it, you know they are just evil lies." - Linus Torvalds pgpVHHkAuQ7UP.pgp Description: PGP signature
Error Message -- uninitialized value
I just upgraded to 3.0.1 and I periodically see this in my logs: 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. Dec 15 03:05:14 prime spamd[57032]: Use of uninitialized value in concatenation (.) or string at /usr/local/lib/perl5/site_perl/5.6.1/Mail/SpamAssassin/Plugin/SPF.pm line 205, line 333. 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. Dec 15 03:05:14 prime spamd[57032]: Use of uninitialized value in concatenation (.) or string at /usr/local/lib/perl5/site_perl/5.6.1/Mail/SpamAssassin/Plugin/SPF.pm line 205, line 333. D Any one else get this? -Dan -- "Let me tell you something about regrowing your dead wife Lucy, Harry. It's probably illegal, potentially dangerous, and definitely crazy." -Harry nods- Vincent Spano, as Boris in "Creator". Dan Mahoney Techie, Sysadmin, WebGeek Gushi on efnet/undernet IRC ICQ: 13735144 AIM: LarpGM Site: http://www.gushi.org ---