ietf-smtp
[Top] [All Lists]

Re: [ietf-smtp] Valid RFC5322 address

2020-05-04 14:13:12


On May 3, 2020, at 11:57 AM, John C Klensin <john-ietf(_at_)jck(_dot_)com> 
wrote:

You also need to be very careful with the "." following the
colon.  I haven't looked carefully enough at the syntax today to
have any confidence how that would be handled with the
Dot-string production -- you might have to quote the whole
business to make it valid.

Unquoted "." is only valid in a dot-atom, and so:

        first(_dot_)last(_at_)example(_dot_)org
        /////.////@example.org

are both OK, but

        "/../"@example.org
        ".///"@example.org
        "///."@example.org

all need quoting.  So long as both characters around the "." are "atext",
the "." does not force quoting of a local-part that would not otherwise
require quoting.

In this case, given that the ":" forces quoting, the "." requirements are moot.

-- 
        Viktor.

_______________________________________________
ietf-smtp mailing list
ietf-smtp(_at_)ietf(_dot_)org
https://www.ietf.org/mailman/listinfo/ietf-smtp