spf-discuss
[Top] [All Lists]

Re: [spf-discuss] "Last Call" pending exp= (empty) erratum

2007-05-23 15:51:38
On Wed, 23 May 2007, Scott Kitterman wrote:

| or if there are syntax errors in the explanation string, then
| proceed as if no exp modifier was given.

So a bad exp is a bad exp, but it doesn't raise an error, you just ignore the 
exp.

Unless I misunderstood what Frank was after.

You misunderstood.

"syntax errors in the explanation string" means *after* fetching it from
the domain.  E.g.  

example.com     IN TXT "v=spf1 exp=foo.example.com -all"
foo.example.com IN TXT "%{q}"

'q' is not a valid macro letter, so the explanation string has a syntax
error and should be ignored (by all three options).

However, 
example2.com    IN TXT "v=spf1 exp= -all"

option 1        ignored    (ignore empty domain spec)
option 2        permerror  (doesn't match domain-spec)
option 3        permerror  (doesn't match domain-spec)

and
example3.com    IN TXT "v=spf1 exp=%h -all"
                HELO ''

option 1        ignored    (target-name is not a valid domain name)
option 2        ignored    (target-name is not a valid domain name)
option 2        ignored    (target-name is empty)

Options 2 and 3 should have the same result, but differ in whether
empty target-name is explicitly ignored.

-- 
              Stuart D. Gathman <stuart(_at_)bmsi(_dot_)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.

-------------------------------------------
-----------------------------------------------------------------------
Sender Policy Framework: http://www.openspf.org/
Archives at http://archives.listbox.com/spf-discuss/current/
To unsubscribe, change your address, or temporarily deactivate your
subscription,
please go to http://v2.listbox.com/member/?list_id=735
Powered by Listbox: http://www.listbox.com