Proposed test cases (%_, %%. %-)
"Frank Ellermann" <[email protected]> Sat, 28 Jun 2008 18:50:07 +0200
| Newsgroups | gmane.mail.spam.spf.devel |
|---|---|
| Organization | <URL:http://purl.net/xyzzy> |
| Message-ID | <[email protected]> |
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: [email protected]
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