Re: empty quoted strings and other oddities

Jacob Palme <jpalme@dsv.su.se> Mon, 07 October 2002 12:19 UTC

Received: (from majordomo@localhost) by above.proper.com (8.11.6/8.11.3) id g97CJ8G27080 for ietf-822-bks; Mon, 7 Oct 2002 05:19:08 -0700 (PDT)
Received: from unni.dsv.su.se (unni.dsv.su.se [130.237.161.27]) by above.proper.com (8.11.6/8.11.3) with ESMTP id g97CJ6v27072 for <IETF-822@imc.org>; Mon, 7 Oct 2002 05:19:06 -0700 (PDT)
Received: from [130.237.161.114] (dhcp-161-114.dsv.su.se [130.237.161.114]) by unni.dsv.su.se (8.9.3/8.9.3) with ESMTP id OAA22054 for <IETF-822@imc.org>; Mon, 7 Oct 2002 14:19:02 +0200 (MET DST)
Mime-Version: 1.0
X-Sender: jpalme@mail.dsv.su.se
Message-Id: <p0510030bb9c72a08220a@[130.237.161.114]>
In-Reply-To: <H3Lux8.9BK@clw.cs.man.ac.uk>
References: <200210011513.g91FDk027592@astro.cs.utk.edu> <002001c26a0f$f05437a0$b7880fce@alice> <20021002163610.C1650@melkebalanse.gulbrandsen.priv.no> <3D9CCC8B.4010904@alex.blilly.com> <p0510031db9c2ed7c528f@[130.237.161.114]> <H3Lux8.9BK@clw.cs.man.ac.uk>
Date: Mon, 7 Oct 2002 14:17:16 +0200
To: IETF mailing list on MIME and e-mail <IETF-822@imc.org>
From: Jacob Palme <jpalme@dsv.su.se>
Subject: Re: empty quoted strings and other oddities
Content-Type: text/plain; charset="us-ascii" ; format="flowed"
Sender: owner-ietf-822@mail.imc.org
Precedence: bulk
List-Archive: <http://www.imc.org/ietf-822/mail-archive/>
List-ID: <ietf-822.imc.org>
List-Unsubscribe: <mailto:ietf-822-request@imc.org?body=unsubscribe>

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@dsv.su.se> (Stockholm University and KTH)
for more info see URL: http://www.dsv.su.se/jpalme/