spf-discuss
[Top] [All Lists]

RE: [spf-discuss] Re: RFC 4408 <draft-schlitt-spf-classic-02.txt> -- AUTH48 changes

2006-03-31 09:36:01
Julian Mehnle wrote:
Frank Ellermann wrote:
   domain-end       = ( "." toplabel [ "." ] ) / macro-expand
...
   toplabel         = ALPHA / ALPHA *[ alphanum / "-" ] alphanum
                      ; LDH rule (See [RFC3696])
If someone can come up with a TERSE and NOT OVERLY COMPLEX definition
of "toplabel" 
...
then perhaps we can include it.

Well, let's see.

* Cannot be wholly numeric
* dashes, if present, must be interior

The easy way: note the not-all-numeric requirement in a comment

toplabel =
        alphanum [ *( alphanum / "-" ) alphanum ]
        ; except that 1*num is disallowed

The pedantic way:

toplabel =
        ( 1*alphanum "-" *( alphanum / "-" ) 1*alphanum ) /
        ( [ alphanum *( alphanum / "-" ) ] alpha [ *( alphanum / "-" ) alphanum 
] )
        ; gotta have a hyphen or an alpha...

-- 
Matthew.van.Eerde (at) hbinc.com               805.964.4554 x902
Hispanic Business Inc./HireDiversity.com       Software Engineer

-------
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/?listname=spf-discuss(_at_)v2(_dot_)listbox(_dot_)com

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