Re: Proposed test cases (%_, %%. %-)

"Stuart D. Gathman" <[email protected]> Mon, 28 Jul 2008 17:45:53 -0400 (EDT)
Newsgroups gmane.mail.spam.spf.devel
Message-ID <[email protected]>
On Sat, 28 Jun 2008, Frank Ellermann wrote:

> 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

I think Frank was in a hurry, and meant to use A: instead of include:
(Unless I'm missing something.) Here is the revised zonedata:

zonedata:
  outer-space.test:
    - SPF: "v=spf1 a:inner%_space.test -all"
  "inner space.test":
    - A: 1.2.3.4
  outer-space.xn--zckzah:
    - SPF: "v=spf1 a:inner%%space.xn--zckzah -all"
  inner%space.xn--zckzah:
    - A: 1.2.3.4
    - SPF: "v=spf1 a:inner%-space.xn--zckzah -all"
  "inner%20space.xn--zckzah":
    - A: 1.2.3.5

-- 
	      Stuart D. Gathman <[email protected]>
    Business Management Systems Inc.  Phone: 703 591-0911 Fax: 703 591-6154
"Confutatis maledictis, flammis acribus addictis" - background song for
a Microsoft sponsored "Where do you want to go from here?" commercial.