You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is an extensive list of tests for every SPF implementation to follow. These tests suites can be found here: http://www.openspf.org/Test_Suite
A sample of this file:
---
description: Initial processingtests:
toolonglabel:
description: >- DNS labels limited to 63 chars.comment: >- For initial processing, a long label results in None, not TempErrorspec: 4.3/1helo: mail.example.nethost: 1.2.3.5mailfrom: lyme.eater@A123456789012345678901234567890123456789012345678901234567890123.example.comresult: nonelonglabel:
description: >- DNS labels limited to 63 chars.spec: 4.3/1helo: mail.example.nethost: 1.2.3.5mailfrom: lyme.eater@A12345678901234567890123456789012345678901234567890123456789012.example.comresult: failzonedata:
example.com:
- TIMEOUTexample.net:
- SPF: v=spf1 -all exp=exp.example.neta.example.net:
- SPF: v=spf1 -all exp=exp.example.netexp.example.net:
- TXT: '%{l}'a12345678901234567890123456789012345678901234567890123456789012.example.com:
- SPF: v=spf1 -allhosed.example.com:
- SPF: "v=spf1 a:\xEF\xBB\xBFgarbage.example.net -all"hosed2.example.com:
- SPF: "v=spf1 \x80a:example.net -all"hosed3.example.com:
- SPF: "v=spf1 a:example.net \x96all"nothosed.example.com:
- SPF: "v=spf1 a:example.net -all"
- SPF: "\x96"fine.example.com:
- TXT: "v=spf1 a -all"
Ideally, we parse the YAML and generate Elixir tests from this. Although that might not be easy, especially considering it almost requires a complete DNS server to function with the timeouts and all that stuff.
Going to get started and give it a shot.
The text was updated successfully, but these errors were encountered:
There is an extensive list of tests for every SPF implementation to follow. These tests suites can be found here: http://www.openspf.org/Test_Suite
A sample of this file:
Ideally, we parse the YAML and generate Elixir tests from this. Although that might not be easy, especially considering it almost requires a complete DNS server to function with the timeouts and all that stuff.
Going to get started and give it a shot.
The text was updated successfully, but these errors were encountered: