description: Macro mania
comment: >-
DNS supports any octet. SPF directly supports printable ASCII
and space, indirectly any octet, but no dots within labels.
tests:
outer-space:
description: >-
SPF supports spaces in DNS labels with a macro.
spec: 8.1/6
helo: you get mail from my pc
host: 1.2.3.4
mailfrom: "don't panic"@outer-space.test
result: pass
percent-hack:
description: >-
SPF supports percent in DNS labels with a macro.
spec: 8.1/6
helo: this is no IDNA or SMTP test
host: 1.2.3.4
mailfrom: yamamoto@outer-space.xn--zckzah
result: pass
inner-space:
description: >-
There is also a percent-encode space, go figure.
spec: 8.1/6
helo: inner%space.xn--zckzah
host: 1.2.3.5
mailfrom: ""
result: pass
zonedata:
outer-space.test:
- SPF: v=spf1 include:inner%_space.test -all
inner space.test:
- A: 1.2.3.4
outer-space.xn--zckzah:
- SPF: v=spf1 include:inner%%space.xn--zckzah -all
inner%space.xn--zckzah:
- A: 1.2.3.4
- SPF: v=spf1 include:inner%-space.xn--zckzah -all
inner%20space.xn--zckzah:
- A: 1.2.3.5
-------------------------------------------
Sender Policy Framework: http://www.openspf.org
Modify Your Subscription: http://www.listbox.com/member/
Archives: http://www.listbox.com/member/archive/1007/=now
RSS Feed: http://www.listbox.com/member/archive/rss/1007/
Powered by Listbox: http://www.listbox.com
comment: >-
DNS supports any octet. SPF directly supports printable ASCII
and space, indirectly any octet, but no dots within labels.
tests:
outer-space:
description: >-
SPF supports spaces in DNS labels with a macro.
spec: 8.1/6
helo: you get mail from my pc
host: 1.2.3.4
mailfrom: "don't panic"@outer-space.test
result: pass
percent-hack:
description: >-
SPF supports percent in DNS labels with a macro.
spec: 8.1/6
helo: this is no IDNA or SMTP test
host: 1.2.3.4
mailfrom: yamamoto@outer-space.xn--zckzah
result: pass
inner-space:
description: >-
There is also a percent-encode space, go figure.
spec: 8.1/6
helo: inner%space.xn--zckzah
host: 1.2.3.5
mailfrom: ""
result: pass
zonedata:
outer-space.test:
- SPF: v=spf1 include:inner%_space.test -all
inner space.test:
- A: 1.2.3.4
outer-space.xn--zckzah:
- SPF: v=spf1 include:inner%%space.xn--zckzah -all
inner%space.xn--zckzah:
- A: 1.2.3.4
- SPF: v=spf1 include:inner%-space.xn--zckzah -all
inner%20space.xn--zckzah:
- A: 1.2.3.5
-------------------------------------------
Sender Policy Framework: http://www.openspf.org
Modify Your Subscription: http://www.listbox.com/member/
Archives: http://www.listbox.com/member/archive/1007/=now
RSS Feed: http://www.listbox.com/member/archive/rss/1007/
Powered by Listbox: http://www.listbox.com