I saw the RFC and the result definitions, however my testing seems to get
'unknown' for names that do not resolve. Names with no SPF records get
'none'. For example:
bash-2.03# perl -MMail::SPF::Query -le 'print for Mail::SPF::Query->new(
helo=>shift, ipv4=>shift, sender=>shift )->result' foobar 198.147.246.95
foobar
unknown
Please see
http://www.openspf.org/why.html?sender=foobar&ip=198.147.246.95&receiver=magorian:
domain of sender foobar does not exist
magorian: error in processing during lookup of foobar
HASH(0x5f0564)
bash-2.03# perl -MMail::SPF::Query -le 'print for Mail::SPF::Query->new(
helo=>shift, ipv4=>shift, sender=>shift )->result' foobar 198.147.246.95
yahoo.com
none
SPF: domain of sender yahoo.com does not designate mailers
magorian: domain of yahoo.com does not designate permitted sender hosts
HASH(0x5f0594)
I will be out of town for a few days, so we can take up this lively (and
very useful, at least for me) discussion then.
Thanks to everyone for their input.
Dan Mitton
Please respond to spf-discuss(_at_)v2(_dot_)listbox(_dot_)com
To: spf-discuss(_at_)v2(_dot_)listbox(_dot_)com
cc: (bcc: Dan Mitton/YD/RWDOE)
Subject: [spf-discuss] Re: libspf2 sample programs
LSN: Not Relevant
User Filed as: Not a Record
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Dan_Mitton(_at_)notes(_dot_)ymp(_dot_)gov wrote:
Yes, I agree. But if the HELO is something like:
HELO xyzzy
doesn't SPF return 'unknown'? There is nothing for it to lookup.
In that case it returns "none". Please have a look at the description of
the SPF result codes in the SPF specification:
http://www.openspf.org/RFC_4408#op-result
So this would "pass" the HELO test
No, not for any useful definition of "pass the HELO test" in the context
of
SPF. It wouldn't fail the HELO SPF check, but it wouldn't pass it either.
The check would rather be inconclusive.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
iD8DBQFFnaKawL7PKlBZWjsRAlBPAKDGtvtSbIeBL2lFqsui43b3wNa6jgCgrRJn
+wo2BdNQXXo95C8IqIBZEG8=
=fghd
-----END PGP SIGNATURE-----
-------
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
-------
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