spf-discuss
[Top] [All Lists]

Re: what to do upon syntax error?

2003-10-24 18:18:07

I'll introduce concatenation:

   "v=spf1 a"
   "v=spf1 mx"
   "v=spf1 default=deny"

would be equivalent to

   "v=spf1 a mx default=deny"

Now the only remaining question is:

What do we do if we see

   "v=spf1 a mx default=deny default=allow"

?

Should SPF parsers:
1) declare a syntax error and abort returning unknown?
2) use the first value?
3) use the last value?

An argument against last-value: If it's the result of concatenation, the
order of records is undefined. DNS zones don't have an implied order to
the records at all (and some servers rotate them.  Imagine the
consequences if half of the mail to a domain bounced, according to DNS
caching.  Nightmares.)

-------
Sender Permitted From: http://spf.pobox.com/
Archives at http://archives.listbox.com/spf-discuss/current/
Latest draft at http://spf.pobox.com/draft-mengwong-spf-02.txt
To unsubscribe, change your address, or temporarily deactivate your 
subscription, 
please go to 
http://v2.listbox.com/member/?listname(_at_)½§Åv¼ð¦¾Øß´ëù1Ií-»Fqx(_dot_)com

Attachment: signature.asc
Description: This is a digitally signed message part

<Prev in Thread] Current Thread [Next in Thread>