Here is another test that pyspf flunks. Does your implementation pass?
tests:
a-dual-cidr:
description: |
A = "a" [ ":" domain-spec ] [ dual-cidr-length ]
dual-cidr-length = [ ip4-cidr-length ] [ "/" ip6-cidr-length ]
comment: >-
Although /33 is invalid for ip4, it is perfectly valid for A and MX
mechanisms when used with ip6. Even when not supporting ip6, an
implementation must not report permerror for a/33 (or a/128).
spec: 5.3/2
helo: mail.example.com
host: 1.2.3.4
mailfrom: foo@e6.example.com
result: fail
zonedata:
mail.example.com:
- A: 1.2.3.4
e6.example.com:
- SPF: v=spf1 a/33 -all
Or should a/33 give permerror if no AAAA record is present?
--
Stuart D. Gathman <stuart@bmsi.com>
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.
-------
To unsubscribe, change your address, or temporarily deactivate your subscription,
please go to http://v2.listbox.com/member/?listname=spf-devel@v2.listbox.com
tests:
a-dual-cidr:
description: |
A = "a" [ ":" domain-spec ] [ dual-cidr-length ]
dual-cidr-length = [ ip4-cidr-length ] [ "/" ip6-cidr-length ]
comment: >-
Although /33 is invalid for ip4, it is perfectly valid for A and MX
mechanisms when used with ip6. Even when not supporting ip6, an
implementation must not report permerror for a/33 (or a/128).
spec: 5.3/2
helo: mail.example.com
host: 1.2.3.4
mailfrom: foo@e6.example.com
result: fail
zonedata:
mail.example.com:
- A: 1.2.3.4
e6.example.com:
- SPF: v=spf1 a/33 -all
Or should a/33 give permerror if no AAAA record is present?
--
Stuart D. Gathman <stuart@bmsi.com>
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.
-------
To unsubscribe, change your address, or temporarily deactivate your subscription,
please go to http://v2.listbox.com/member/?listname=spf-devel@v2.listbox.com