Meng Weng Wong wrote:
Anyone who would like to add stuff to SPF should please
speak up now, but also speak up in awareness of the Unified
drafts posted at http://spf.pobox.com/unified/
If SPF1 includes theUnified SPF, then the 'scope' modifier should be added.
My suggestion:
The syntax is:
scope = "scope" "=" [ [ "-" ] scope-element *( "," scope-element ) ]
scope-element = ("m" / "h" / "s" / "p")
"m", "h", "s", "p" mean the "mail-from", "helo", "pra", "ptr" scopes.
If there is no 'scope' modifier, then all mechanisms are tested for all
scopes.
The 'scope' modifiers is place-dependent and immediately takes effect for
all following mechanisms. Any mechanism is skipped if the scope is not
listed in the 'scope' modifier.
"scope=" means "all scopes".
"scope=m" means "only 'mail-from' scope".
"scope=-h" means "all scopes except 'helo' scope".
"scope=m,h" means "only 'mail-from' and 'helo' scopes".
Note that the 'all' mechanism is also ignore if it is the wrong scope.
So for example testing "v=spf1 scope=-h mx -all" in the 'helo' scope is
equvalent to testing "v=spf1" (without "-all).
In order to make the SPF records shorter we could use "s=" instead of
"scope=".
Roger