nmh-workers
[Top] [All Lists]

Re: [Nmh-workers] repl doesn't like return address

2015-09-02 07:26:13
Ralph Corderoy <ralph(_at_)inputplus(_dot_)co(_dot_)uk> writes:

I think it's more complex than that?  David pointed us at
https://tools.ietf.org/html/rfc5322 and that says

    name-addr     =  [display-name] angle-addr
    display-name  =  phrase
    phrase        =  1*word / obs-phrase
    obs-phrase    =  word *(word / "." / CFWS)
    word          =  atom / quoted-string
    atom          =  [CFWS] 1*atext [CFWS]
    atext         =  # One of A-Z, a-z, 0-9, or "!#$%&'*+-/=?^_`{|}~".

Given atext doesn't include a `.', the one or more words that make up
phrase can't be `Dr. Seuss', or `foo.bar'.  But they are allowed by
obs-phrase as long as they're not at the beginning.  So those two
examples are both parsed as obs-phrase with `.' being the middle token.

`obs' means `obsolete', and is explained in section 4.  It's mostly to
cover old syntax that's no longer welcome;  it MUST be accepted as I may
have old emails or old software that follows earlier RFCs, but it MUST
NOT be generated any more.

That means your From: (and my From:...) should not have been generated
anymore, because we have two unquoted words in front of the angle-addr?

-- 
Christian Neukirchen  <chneukirchen(_at_)gmail(_dot_)com>  
http://chneukirchen.org


_______________________________________________
Nmh-workers mailing list
Nmh-workers(_at_)nongnu(_dot_)org
https://lists.nongnu.org/mailman/listinfo/nmh-workers

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