You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@spamassassin.apache.org by Justin Mason <jm...@jmason.org> on 2005/12/02 04:43:12 UTC
Re: SA 3.0.5 SPF error when building
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Doc Schneider writes:
> I grabbed the tarball for 3.0.5 and when I do 'make test' it gets one
> error having to do with SPF.
>
> I've got the latest Net::DNS and Net::SPF::Query
>
> Perl 5.8.6
Yeah, I've been seeing similar in "make test" here, too; I suspect
something's up with the server-side DNS records but haven't had a chance
to check yet.
here's output from "make test TEST_FILES=t/spf.t TEST_VERBOSE=1":
/usr/bin/perl "-MExtUtils::MY" -e "MY->fixin(shift)" blib/script/sa-update
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(1, 'blib/lib', 'blib/arch')" t/spf.t
t/spf....1..8
# Running under perl version 5.008007 for linux
# Current time local: Thu Dec 1 19:42:52 2005
# Current time GMT: Fri Dec 2 03:42:52 2005
# Using Test.pm version 1.25
/usr/bin/perl -T -w ../spamassassin -C log/test_rules_copy --siteconfigpath log/localrules.tmp -p log/test_default.cf -t < data/nice/spf1
Not found: helo_pass = SPF_HELO_PASS
# Failed test 1 in t/SATest.pm at line 592
Checking helo_pass
not ok 1
Checking pass
ok 2
/usr/bin/perl -T -w ../spamassassin -C log/test_rules_copy --siteconfigpath log/localrules.tmp -p log/test_default.cf -t < data/spam/spf1
Not found: helo_neutral = SPF_HELO_NEUTRAL
# Failed test 3 in t/SATest.pm at line 592 fail #2
Checking helo_neutral
not ok 3
Checking neutral
ok 4
/usr/bin/perl -T -w ../spamassassin -C log/test_rules_copy --siteconfigpath log/localrules.tmp -p log/test_default.cf -t < data/spam/spf2
Not found: helo_softfail = SPF_HELO_SOFTFAIL
# Failed test 5 in t/SATest.pm at line 592 fail #3
Checking helo_softfail
not ok 5
Checking softfail
ok 6
/usr/bin/perl -T -w ../spamassassin -C log/test_rules_copy --siteconfigpath log/localrules.tmp -p log/test_default.cf -t < data/spam/spf3
Not found: helo_fail = SPF_HELO_FAIL
# Failed test 8 in t/SATest.pm at line 592 fail #4
Checking fail
ok 7
Checking helo_fail
not ok 8
FAILED tests 1, 3, 5, 8
Failed 4/8 tests, 50.00% okay
Failed Test Stat Wstat Total Fail Failed List of Failed
- -------------------------------------------------------------------------------
t/spf.t 8 4 50.00% 1 3 5 8
Failed 1/1 test scripts, 0.00% okay. 4/8 subtests failed, 50.00% okay.
make: *** [test_dynamic] Error 255
- --j.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Exmh CVS
iD8DBQFDj8LQMJF5cimLx9ARApxQAJ0Zmw/2QEWm/OCi5sAu1HWr9A/bUwCeJ4CP
4NjZPCuIdhn89FPlR88N/uU=
=Umy6
-----END PGP SIGNATURE-----
Re: SA 3.0.5 SPF error when building
Posted by Doc Schneider <ma...@maddoc.net>.
Justin Mason wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
>
> Doc Schneider writes:
>
>>I grabbed the tarball for 3.0.5 and when I do 'make test' it gets one
>>error having to do with SPF.
>>
>>I've got the latest Net::DNS and Net::SPF::Query
>>
>>Perl 5.8.6
>
>
> Yeah, I've been seeing similar in "make test" here, too; I suspect
> something's up with the server-side DNS records but haven't had a chance
> to check yet.
>
> here's output from "make test TEST_FILES=t/spf.t TEST_VERBOSE=1":
Hmm... is it trying to test some domains SPF txt records and just not
getting them or ??
I have SPF setup on one domain I run from here. Maybe I'll try it.
Also FWIW I get the same error actually none of the SPF tests work in
3.1.0 for me.
-Doc
Re: SA 3.0.5 SPF error when building
Posted by "Daryl C. W. O'Shea" <sp...@dostech.ca>.
On 01/12/2005 10:43 PM, Justin Mason wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
>
> Doc Schneider writes:
>
>>I grabbed the tarball for 3.0.5 and when I do 'make test' it gets one
>>error having to do with SPF.
>>
>>I've got the latest Net::DNS and Net::SPF::Query
>>
>>Perl 5.8.6
>
>
> Yeah, I've been seeing similar in "make test" here, too; I suspect
> something's up with the server-side DNS records but haven't had a chance
> to check yet.
That'd be http://issues.apache.org/SpamAssassin/show_bug.cgi?id=4685
which needs to be fixed by someone who has access to that zone. It
needs the HELO strings in each of the test messages changed to match up
with the DNS records (which may or may not exist... I can't see them).
It shouldn't affect 3.0 though as the bug was caused by changing to
querying the entire hostname (and not just the domain name) for HELO
checks in 3.1.
Daryl