Thanks Craig,
I've reran against the later bits and have come up with results consistent
with Kitterman's page (below). There's one exception for test5.spam.co.nz
which
http://stashsoft/spf/test.aspx results in fail, and
http://www.kitterman.com/spf/validate.htm results in permerror. Our's
behaves as designed according to our interpretation of the RFC. I had
planned on raising this and other questions when the final test suite comes
out.
I appreciate the pointers. Please feel free to point them out to me if you
discover others.
Monte Hansen
Result: permerror
Reason: Unknown mechanism found 'moo'.
v=spf1 ip4:219.88.242.0/27 -all moo
Processing Domain: test1.spam.co.nz SPF record: v=spf1
ip4:219.88.242.0/27 -all moo
-----------------------------------------------------
Result: permerror
Reason: Command depth exceeded (10).
v=spf1 ip4:219.88.242.0/27 include:test2.spam.co.nz -all
Processing Domain: test2.spam.co.nz SPF record: v=spf1 ip4:219.88.242.0/27
include:test2.spam.co.nz -all
-----------------------------------------------------
Result: permerror
Reason: Recurse depth exceeded.
v=spf1 redirect:test3.spam.co.nz -all
Processing Domain: test3.spam.co.nz SPF record: v=spf1
redirect:test3.spam.co.nz -all
-----------------------------------------------------
Result: permerror
Reason: Recurse depth exceeded.
v=spf1 redirect=test4.spam.co.nz -all
Processing Domain: test4.spam.co.nz SPF record: v=spf1
redirect=test4.spam.co.nz -all
-----------------------------------------------------
Result: fail ***********
---------------------------------------------
Kitterman: Results - Permanent Error SPF Permanent Error: Invalid IP4
address: ip4:1.1.1.1/0
---------------------------------------------
v=spf1 ip4:1.1.1.1/0 -all
Processing Domain: test5.spam.co.nz SPF record: v=spf1 ip4:1.1.1.1/0 -all
Testing Command=ip4:1.1.1.1/0 IP=192.0.34.166 Domain=test5.spam.co.nz
HostName=test5.spam.co.nz Result=NEUTRAL
Testing Command=-all IP=192.0.34.166 Domain=test5.spam.co.nz
HostName=test5.spam.co.nz Result=FAIL
-----------------------------------------------------
Result: fail
v=spf1 ip4:1.1.1.0/31 -all
Processing Domain: test6.spam.co.nz SPF record: v=spf1 ip4:1.1.1.0/31 -all
Testing Command=ip4:1.1.1.0/31 IP=192.0.34.166 Domain=test6.spam.co.nz
HostName=test6.spam.co.nz Result=NEUTRAL
Testing Command=-all IP=192.0.34.166 Domain=test6.spam.co.nz
HostName=test6.spam.co.nz Result=FAIL
-----------------------------------------------------
Result: permerror
Reason: Invalid CIDR length.
v=spf1 ip4:1.1.1.0/34 -all
Processing Domain: test7.spam.co.nz SPF record: v=spf1 ip4:1.1.1.0/34 -all
-----------------------------------------------------
Result: fail
v=spf1 ip4:1.1.1.255/16 -all
Processing Domain: test8.spam.co.nz SPF record: v=spf1 ip4:1.1.1.255/16 -all
Testing Command=ip4:1.1.1.255/16 IP=192.0.34.166 Domain=test8.spam.co.nz
HostName=test8.spam.co.nz Result=NEUTRAL
Testing Command=-all IP=192.0.34.166 Domain=test8.spam.co.nz
HostName=test8.spam.co.nz Result=FAIL
-----------------------------------------------------
Result: neutral
v=spf1 ip4:1.1.1.255/16
Processing Domain: test9.spam.co.nz SPF record: v=spf1 ip4:1.1.1.255/16
Testing Command=ip4:1.1.1.255/16 IP=192.0.34.166 Domain=test9.spam.co.nz
HostName=test9.spam.co.nz Result=NEUTRAL
-----------------------------------------------------
Result: fail
v=spf1 ip4:1.1.1.0/2 -all
Processing Domain: test10.spam.co.nz SPF record: v=spf1 ip4:1.1.1.0/2 -all
Testing Command=ip4:1.1.1.0/2 IP=192.0.34.166 Domain=test10.spam.co.nz
HostName=test10.spam.co.nz Result=NEUTRAL
Testing Command=-all IP=192.0.34.166 Domain=test10.spam.co.nz
HostName=test10.spam.co.nz Result=FAIL
-----------------------------------------------------
Result: permerror
Reason: Unknown mechanism found '1.1.1.0/24'.
v=spf1 ip4 1.1.1.0/24 -all
Processing Domain: test11.spam.co.nz SPF record: v=spf1 ip4 1.1.1.0/24 -all
-----------------------------------------------------
Result: permerror
Reason: Incorrect usage of 'ip4' mechanism. Expected suffix.
v=spf1 ip4: 1.1.1.0/24 -all
Processing Domain: test12.spam.co.nz SPF record: v=spf1 ip4: 1.1.1.0/24 -all
-----------------------------------------------------
Result: permerror
Reason: Incorrect usage of 'a' mechanism. Expected (domain-spec).
v=spf1 a:219.88.242.0/27 -all
Processing Domain: test13.spam.co.nz SPF record: v=spf1
a:219.88.242.0/27 -all
-----------------------------------------------------
Result: fail
v=spf1 a:219.88.242.com -all
Processing Domain: test14.spam.co.nz SPF record: v=spf1
a:219.88.242.com -all
Testing Command=a:219.88.242.com IP=192.0.34.166 Domain=test14.spam.co.nz
HostName=test14.spam.co.nz Result=NEUTRAL
Testing Command=-all IP=192.0.34.166 Domain=test14.spam.co.nz
HostName=test14.spam.co.nz Result=FAIL
-----------------------------------------------------
Result: permerror
Reason: Incorrect usage of 'a' mechanism. Expected fully qualified domain
name.
v=spf1 a:spam.co.nz.255 -all
Processing Domain: test15.spam.co.nz SPF record: v=spf1
a:spam.co.nz.255 -all
-----------------------------------------------------
</SnipFromOutterThread>
"Craig Whitmore" <lennon@orcon.net.nz> wrote in message
news:015b01c6c7e4$db2fed60$de0dea3c@office.orcon.net.nz...
>
> Its not very good in picking up common errors that people make. Compare
> Scott's SPF results against yours for
> testX.spam.co.nz (X=1->15)
>
> But I guess this is why we need a "common" test.
>
> Thanks
> Craig
<SnipFromOutterThread>
-------
To unsubscribe, change your address, or temporarily deactivate your subscription,
please go to
http://v2.listbox.com/member/?listname=spf-devel@v2.listbox.com