I am trying to use the SPF test suite (http://www.schlitt.net/spf/tests/) to
verify that a program I wrote that uses SPF works correctly.
However, I am not sure the test suite itself is correct, or that spfquery's
results are correct.
Here is one specific test I am worried about:
spfquery -ip=192.0.2.1 -sender=05.spf1-test.mailzone.com
-helo=05.spf1-test.mailzone.com
result /.*/ fail
smtp-comment /.*/ explanation
header-comment /.*/ spfquery: domain of 05.spf1-test.mailzone.com does not
designate 192.0.2.1 as permitted sender
received-spf /.*/ Received-SPF: fail (spfquery: domain of
05.spf1-test.mailzone.com does not designate 192.0.2.1 as permitted sender)
client-ip=192.0.2.1;
envelope-from=postmaster(_at_)05(_dot_)spf1-test(_dot_)mailzone(_dot_)com;
helo=05.spf1-test.mailzone.com;
As far as I can see, this should return a neutral, not a fail!
[ralsina(_at_)monty build]$ host -t txt 05.spf1-test.mailzone.com
05.spf1-test.mailzone.com descriptive text "v=spf1
default=deny "
Am I missing something? The "default" modifier is not in the latest spec, so
it should be ignored, right?
--
("\''/").__..-''"`-. . Roberto Alsina
`9_ 9 ) `-. ( ).`-._.`) ralsina(_at_)kde(_dot_)org
(_Y_.)' ._ ) `._`. " -.-' KDE Developer (MFCH)
_..`-'_..-_/ /-'_.'
(l)-'' ((i).' ((!.' Buenos Aires - Argentina
Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are,
by definition, not smart enough to debug it. --Brian W. Kernighan
-------
Sender Policy Framework: http://www.openspf.org/
Archives at http://archives.listbox.com/spf-discuss/current/
To unsubscribe, change your address, or temporarily deactivate your
subscription,
please go to http://v2.listbox.com/member/?list_id=735