
vesely at tana
Aug 20, 2008, 2:30 AM
Post #6 of 18
(6272 views)
Permalink
|
|
Re: Implementation certification procedure
[In reply to]
|
|
Stuart D. Gathman wrote: > Maybe any implementation that passes the test suite should be > conditionally certified - with the person(s) or organization doing > the test listed as part of the certification. For actually running the tests, one still needs to know the tuples required for each test. Those fields have to be in some order, e.g. mailfrom, tcpremoteip, helodomain, mydomain. SPF implementations integrated in an MTA may take "tcpremotehost" as a parameter, in case the origin has been validated already when the SPF check starts. In that case the test function should link with the relevant function in order to obtain the validation for test cases. (It is not _exactly_ as it would be in real life, but acceptable.) I'm thinking about Courier. BTW, it has its own testsuite, see e.g. http://www.koders.com/cpp/fidAF68AE4ACFB883D5D3585D26D35899C84E7502AA.aspx?s=md5 To add a --dnsserver|-s <IP>[:PORT] option to the test function is even easier. > That is probably > good enough. There are already lots of ways to screw up SPF even > if you get all the ip,mfrom,helo + DNS -> result mappings correct. > (Like the every popular "check behind an MX".) Agreed, the real concern is to discover actual bugs. IMHO, the best thing would be to have those tuples published on a web page. If it were also possible to post the results in order to have a response, much like html validation pages, that would be great! In the latter case, if the submitter authenticates and specifies name and version of the implementation, it will be trivial to build a database of verified implementations, along with the date and test suite version. Stefano Bagnara wrote: > I'd happily complete the live dns tester tool but in order to check > implementations they have to return an "spfquery" like result, 4 > lines where the 1st is the result, the 2nd is the explanation, the > 4th is the Received-SPF: What's the 3rd line? Validating Received-SPF can be slightly more difficult, since order and indentation may vary. An empty line to separate one test from the next might suffice; however, repeating the tuple as a key is more robust and allows results to be reviewed even after new tests have been inserted, provided the DNS won't vary. ------------------------------------------- Sender Policy Framework: http://www.openspf.org Modify Your Subscription: http://www.listbox.com/member/ Archives: https://www.listbox.com/member/archive/1007/=now RSS Feed: https://www.listbox.com/member/archive/rss/1007/ Powered by Listbox: http://www.listbox.com
|