ietf-822
[Top] [All Lists]

Re: empty quoted strings and other oddities

2002-10-07 05:19:08

At 09:41 +0000 02-10-07, Charles Lindsey wrote:
The incomplete form never gets seen on any "wire". So is any standard
violated in that case?

Well, the communication between a client and the first
MTA also goes over some kind of wire. Standards are
needed so that products of different manufacture
can co-work, and since client and the first MTA are
often of different manufacture, this should be clarified
in the standard.

I quote the RFC 2822 syntax below, it does not seem
to allow a local-part without a domain ("obs-addr-list"
does not add this format either):

address         =       mailbox / group

mailbox         =       name-addr / addr-spec

name-addr       =       [display-name] angle-addr

angle-addr      =       [CFWS] "<" addr-spec ">" [CFWS] / obs-angle-addr

group           =       display-name ":" [mailbox-list / CFWS] ";"
                        [CFWS]

display-name    =       phrase

mailbox-list    =       (mailbox *("," mailbox)) / obs-mbox-list

address-list    =       (address *("," address)) / obs-addr-list

to              =       "To:" address-list CRLF

addr-spec       =       local-part "@" domain

local-part      =       dot-atom / quoted-string / obs-local-part

domain          =       dot-atom / domain-literal / obs-domain

--
Jacob Palme <jpalme(_at_)dsv(_dot_)su(_dot_)se> (Stockholm University and KTH)
for more info see URL: http://www.dsv.su.se/jpalme/