Hi Everyone,
I'm in the midst of writing an SPF implementation and toolkit in Ruby. You
can find the source code here - https://github.com/petergoldstein/coppertone
I've implemented a runner for the RFC 7208 OpenSPF test suite as defined
here - http://www.openspf.org/svn/project/test-suite/ - and I've got all
but two of the specs passing. You can find the RSpec version of the test
suite in the repository referenced above, under the spec/open_spf directory.
Two of the specs, both related to subdomain resolution in 'p' macro
expansion are not passing, and I can't figure out why the results specified
in the suite are correct. The two specs are p-macro-ip4-valid on line 2110
and p-macro-ip6-valid on line 2132.
In both cases, I get the expected 'fail' result, but the p macro does not
resolve, because the current domain (e6.example.com) is not a subdomain of
any of the PTR records returned by 41.218.168.192.in-addr.arpa or
3.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.E.B.A.B.E.F.A.C.ip6.arpa
respectively.
The only returned PTR record in each case in 'mx.example.com', which is not
a subdomain of e6.example.com and thus, according to my reading of the
spec, should not be used. So my explanation is 'connect from unknown' as
opposed to the 'connect from mx.example.com'
Am I misunderstanding the RFC here? If not, why is this value correct?
Any help is appreciated. Thanks.
Best,
Peter
-------------------------------------------
Sender Policy Framework: http://www.openspf.net [http://www.openspf.net]
Modify Your Subscription: http://www.listbox.com/member/ [http://www.listbox.com/member/]
Archives: https://www.listbox.com/member/archive/1007/=now
RSS Feed: https://www.listbox.com/member/archive/rss/1007/1311533-9e42a648
Modify Your Subscription: https://www.listbox.com/member/?member_id=1311533&id_secret=1311533-d322f1f1
Unsubscribe Now: https://www.listbox.com/unsubscribe/?member_id=1311533&id_secret=1311533-d59c80a0&post_id=20140923170356:20F9F84A-4365-11E4-B69E-A0FB298D6111
Powered by Listbox: http://www.listbox.com
I'm in the midst of writing an SPF implementation and toolkit in Ruby. You
can find the source code here - https://github.com/petergoldstein/coppertone
I've implemented a runner for the RFC 7208 OpenSPF test suite as defined
here - http://www.openspf.org/svn/project/test-suite/ - and I've got all
but two of the specs passing. You can find the RSpec version of the test
suite in the repository referenced above, under the spec/open_spf directory.
Two of the specs, both related to subdomain resolution in 'p' macro
expansion are not passing, and I can't figure out why the results specified
in the suite are correct. The two specs are p-macro-ip4-valid on line 2110
and p-macro-ip6-valid on line 2132.
In both cases, I get the expected 'fail' result, but the p macro does not
resolve, because the current domain (e6.example.com) is not a subdomain of
any of the PTR records returned by 41.218.168.192.in-addr.arpa or
3.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.E.B.A.B.E.F.A.C.ip6.arpa
respectively.
The only returned PTR record in each case in 'mx.example.com', which is not
a subdomain of e6.example.com and thus, according to my reading of the
spec, should not be used. So my explanation is 'connect from unknown' as
opposed to the 'connect from mx.example.com'
Am I misunderstanding the RFC here? If not, why is this value correct?
Any help is appreciated. Thanks.
Best,
Peter
-------------------------------------------
Sender Policy Framework: http://www.openspf.net [http://www.openspf.net]
Modify Your Subscription: http://www.listbox.com/member/ [http://www.listbox.com/member/]
Archives: https://www.listbox.com/member/archive/1007/=now
RSS Feed: https://www.listbox.com/member/archive/rss/1007/1311533-9e42a648
Modify Your Subscription: https://www.listbox.com/member/?member_id=1311533&id_secret=1311533-d322f1f1
Unsubscribe Now: https://www.listbox.com/unsubscribe/?member_id=1311533&id_secret=1311533-d59c80a0&post_id=20140923170356:20F9F84A-4365-11E4-B69E-A0FB298D6111
Powered by Listbox: http://www.listbox.com