You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Tim Litwiller <ti...@litwiller.net> on 2004/11/02 00:17:34 UTC
since 3.0.0 I've been getting these
Nov 1 17:38:42 mailhost spamd[15700]: Use of uninitialized value in
numeric lt (<) at
/usr/lib/perl5/site_perl/5.6.1/Mail/SpamAssassin/Plugin/SPF.pm line 204,
<GEN362> line 52.
Nov 1 17:38:42 mailhost spamd[15700]: Use of uninitialized value in
concatenation (.) or string at
/usr/lib/perl5/site_perl/5.6.1/Mail/SpamAssassin/Plugin/SPF.pm line 205,
<GEN362> line 52.
which is
$self->register_eval_rule ("check_for_spf_helo_softfail");
and now with 3.0.1 I still am - Do I have to configure something for
SPF to make these errors go away?
Or should I just turn off spf in init.pre?
Re: since 3.0.0 I've been getting these
Posted by Theo Van Dinter <fe...@kluge.net>.
On Mon, Nov 01, 2004 at 11:04:39PM -0600, Tim Litwiller wrote:
> I really have no idea as it wasn't something I installed seperately ...
> I just checked and it is 1.997
1.997 works fine (it's what I have installed on my box), are you sure
you don't have an old version hanging out somewhere?
Just to verify: perl -e 'use Mail::SPF::Query; print $Mail::SPF::Query::VERSION,"\n"'
--
Randomly Generated Tagline:
Dijkstra probably hates me
(Linus Torvalds, in kernel/sched.c)
Re: since 3.0.0 I've been getting these
Posted by Tim Litwiller <ti...@litwiller.net>.
Theo Van Dinter wrote:
> On Mon, Nov 01, 2004 at 05:17:34PM -0600, Tim Litwiller wrote:
>
>>Nov 1 17:38:42 mailhost spamd[15700]: Use of uninitialized value in
>>numeric lt (<) at
>>/usr/lib/perl5/site_perl/5.6.1/Mail/SpamAssassin/Plugin/SPF.pm line 204,
>><GEN362> line 52.
>>Nov 1 17:38:42 mailhost spamd[15700]: Use of uninitialized value in
>>concatenation (.) or string at
>>/usr/lib/perl5/site_perl/5.6.1/Mail/SpamAssassin/Plugin/SPF.pm line 205,
>><GEN362> line 52.
>>
>>which is
>>$self->register_eval_rule ("check_for_spf_helo_softfail");
>
>
> You don't want line 52, you want lines 204 and 205:
>
> if ($Mail::SPF::Query::VERSION < 1.996) {
> die "Mail::SPF::Query 1.996 or later required, this is $Mail::SPF::Query::VERSION\n";
>
> What version of Mail::SPF::Query do you have installed? My guess is
> something < 1.996.
>
I really have no idea as it wasn't something I installed seperately ...
I just checked and it is 1.997
Re: since 3.0.0 I've been getting these
Posted by Theo Van Dinter <fe...@kluge.net>.
On Mon, Nov 01, 2004 at 05:17:34PM -0600, Tim Litwiller wrote:
> Nov 1 17:38:42 mailhost spamd[15700]: Use of uninitialized value in
> numeric lt (<) at
> /usr/lib/perl5/site_perl/5.6.1/Mail/SpamAssassin/Plugin/SPF.pm line 204,
> <GEN362> line 52.
> Nov 1 17:38:42 mailhost spamd[15700]: Use of uninitialized value in
> concatenation (.) or string at
> /usr/lib/perl5/site_perl/5.6.1/Mail/SpamAssassin/Plugin/SPF.pm line 205,
> <GEN362> line 52.
>
> which is
> $self->register_eval_rule ("check_for_spf_helo_softfail");
You don't want line 52, you want lines 204 and 205:
if ($Mail::SPF::Query::VERSION < 1.996) {
die "Mail::SPF::Query 1.996 or later required, this is $Mail::SPF::Query::VERSION\n";
What version of Mail::SPF::Query do you have installed? My guess is
something < 1.996.
--
Randomly Generated Tagline:
A boy without mischief is like a bowling ball without a liquid center.
-- Homer Simpson
Lisa the Greek