ietf-smtp
[Top] [All Lists]

Re: 2821bis ABNF diff

2005-09-08 17:34:35

On Fri, Sep 09, 2005 at 01:41:11AM +0200, Frank Ellermann wrote:

That's more like John's original idea when I asked him about
"bug or feature" last year.  The -00 draft got this wrong, no
square brackets in the second line.  What he really wanted
was probably...

  Domain         = 1*(sub-domain ".") [sub-domain]

I probably understand what you're trying to describe here.
However, when speaking DNS, a sub-domain is a fqdn!

smtp.example.com is a subdomain of example.com, which in
itself is a subdomain of com.

Where you write "sub-domain", you mean "label".

Maybe:

   Domain = *63(label ".") label ["."]
   Label  = Let-dig [Ldh-str]

(note: "*63(" may be wrong. Need to find the exact limit, it's
somewhere near 63).

or

   Domain = *63(label ".") tld ["."]
   Label  = Let-dig [Ldh-str]

   (and define "tld")


But why should there be at least one dot?
Rfc2821bis repairs Rfc2821. Rfc2821 tries to implement Rfc821 again but
fails to do this properly.  Rfc821 does not have this restriction, thus
rfc2821bis shouldn't either.

Software that implemented the broken rfc will need an update.

Alex

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