Mailing List Archive

Revised mx-limit and ptr-limit tests
tests:
mx-limit:
description: >-
there MUST be a limit of no more than 10 MX looked up and checked.
comment: >-
The required result for this test was the subject of much
controversy. Many felt that the RFC *should* have specified
permerror, but the concensus was that it failed to actually do so.
The preferred result reflects evaluating the 10 allowed MX records in the
order returned by the test data - or sorted via priority.
If testing with live DNS, the MX order may be random, and a pass
result would still be compliant. The SPF result is effectively
random.
spec: 10.1/7
helo: mail.example.com
host: 1.2.3.5
mailfrom: foo@e4.example.com
result: [neutral, pass]
ptr-limit:
description: >-
there MUST be a limit of no more than 10 PTR looked up and checked.
comment: >-
The result of this test cannot be permerror not only because the
RFC doesn't specify it, but because the sender has no control over
the PTR records of spammers.
The preferred result reflects evaluating the 10 allowed PTR records in
the order provided by the test data.
If testing with live DNS, the PTR order may be random, and a pass
result would still be compliant. The SPF result is effectively
random.
spec: 10.1/7
helo: mail.example.com
host: 1.2.3.5
mailfrom: foo@e5.example.com
result: [neutral, pass]
zonedata:
mail.example.com:
- A: 1.2.3.4
e4.example.com:
- SPF: v=spf1 mx
- MX: [0, mail.example.com]
- MX: [1, mail.example.com]
- MX: [2, mail.example.com]
- MX: [3, mail.example.com]
- MX: [4, mail.example.com]
- MX: [5, mail.example.com]
- MX: [6, mail.example.com]
- MX: [7, mail.example.com]
- MX: [8, mail.example.com]
- MX: [9, mail.example.com]
- MX: [10, e4.example.com]
- A: 1.2.3.5
e5.example.com:
- SPF: v=spf1 ptr
- A: 1.2.3.5
5.3.2.1.in-addr.arpa:
- PTR: e1.example.com.
- PTR: e2.example.com.
- PTR: e3.example.com.
- PTR: e4.example.com.
- PTR: example.com.
- PTR: e6.example.com.
- PTR: e7.example.com.
- PTR: e8.example.com.
- PTR: e9.example.com.
- PTR: e10.example.com.
- PTR: e5.example.com.

--
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