Re: Last Call: draft-klensin-rfc2821bis (Simple Mail Transfer Protocol) to Draft Standard (3)

"Frank Ellermann" <nobody@xyzzy.claranet.de> Sun, 09 December 2007 08:33 UTC

Return-path: <ietf-bounces@ietf.org>
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com) by megatron.ietf.org with esmtp (Exim 4.43) id 1J1Hb5-0002d0-Ft; Sun, 09 Dec 2007 03:33:11 -0500
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org) by megatron.ietf.org with esmtp (Exim 4.43) id 1J1Hb4-0002W2-8m for ietf@ietf.org; Sun, 09 Dec 2007 03:33:10 -0500
Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1J1Hb2-0002bE-4b for ietf@ietf.org; Sun, 09 Dec 2007 03:33:10 -0500
Received: from list by ciao.gmane.org with local (Exim 4.43) id 1J1Haz-00043k-LD for ietf@ietf.org; Sun, 09 Dec 2007 08:33:05 +0000
Received: from c-180-160-168.hh.dial.de.ignite.net ([62.180.160.168]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for <ietf@ietf.org>; Sun, 09 Dec 2007 08:33:05 +0000
Received: from nobody by c-180-160-168.hh.dial.de.ignite.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for <ietf@ietf.org>; Sun, 09 Dec 2007 08:33:05 +0000
X-Injected-Via-Gmane: http://gmane.org/
To: ietf@ietf.org
From: Frank Ellermann <nobody@xyzzy.claranet.de>
Date: Sun, 09 Dec 2007 09:33:20 +0100
Organization: <http://purl.net/xyzzy>
Lines: 76
Message-ID: <fjg97m$d2$1@ger.gmane.org>
References: <E1IwpJr-0007aa-OQ@stiedprstage1.ietf.org>
Mime-Version: 1.0
Content-Type: text/plain; charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable
X-Complaints-To: usenet@ger.gmane.org
X-Gmane-NNTP-Posting-Host: c-180-160-168.hh.dial.de.ignite.net
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1914
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1914
X-Spam-Score: 4.2 (++++)
X-Scan-Signature: 0fa76816851382eb71b0a882ccdc29ac
Subject: Re: Last Call: draft-klensin-rfc2821bis (Simple Mail Transfer Protocol) to Draft Standard (3)
X-BeenThere: ietf@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: Frank Ellermann <hmdmhdfmhdjmzdtjmzdtzktdkztdjz@gmail.com>
List-Id: IETF-Discussion <ietf.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/ietf>, <mailto:ietf-request@ietf.org?subject=unsubscribe>
List-Post: <mailto:ietf@ietf.org>
List-Help: <mailto:ietf-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/ietf>, <mailto:ietf-request@ietf.org?subject=subscribe>
Errors-To: ietf-bounces@ietf.org

The IESG wrote:

> <draft-klensin-rfc2821bis-06.txt> as a Draft Standard
 
> The IESG plans to make a decision in the next few weeks,
> and solicits final comments on this action.

To validate the syntax I've extracted all ABNF constructs
to a file, converting various 'Syntax: "verb" param CRLF'
contructs into 'verb = "verb" param CRLF' ABNF.  

Then I added all direct and indirect imports from 4234bis
and 2822upd.  There are three collisions where 2821bis
terms use the same name as similar 2822upd terms, I added
an "U" to these terms:  local-part-U, domain-U, atom-U.

After that the output of Bill's parser started to make
sense, I canonicalized the spelling of some terms to get
rid of all warning, arriving at two ABNF syntax errors in
http://hmdmhdfmhdjmzdtjmzdtzktdkztdjz.googlepages.com/2821bis.ABNF.2
(2821bis.ABNF.1 is the version with different spellings)

Other issues (apart from two typos reported as errors):

1 - <ehlo-greet> permits any character other than CR and
    LF.  That covers NUL and NO-WS-CTL, I'm curious what
    the interoperabilty test results will be for this 
    feature.  Bill's parser is also unhappy with %d0, but
    I didn't count this as error (it would be the third)

2 - <ehlo-param> excludes %d0-32 (NUL..SP), but permits
    %d127, it's not obvious why DEL is no problem here.

3 - <A-d-l> contains 2119 keywords in an ABNF comment.
    It's not obvious why source routes SHOULD NOT be
    generated and SHOULD be ignored, 18 years after
    they were deprecated.  A MUST would be clearer if
    the implementation report doesn't identify a 2821
    MTA with a good reason to violate these SHOULDs.

4 - <esmtp-value> permits DEL for no obvious reason.

5 - <Argument> is by definition an 2821bis <Atom>.  It
    would be clearer to avoid this conflict with the
    different 2822upd <atom> by using 1*atext directly:
    <Dot-string>, <String>, <ID> , <Addtl-Link>, and
    <Attdl-Protocol> are the 5 other <Atom> occurences.

6 - <Attdl-Protocol> and <Addtl-Link> are inconsistent,
    I can imagine cases where keeping a "typo" could be
    a good idea, but I don't see the necessity here.

7 - <Quoted-string> (not the same as the 2822upd term)
    uses 2822upd <qcontent>.  That pulls <qtext> with
    <NO-WS-CTL>, a known 2822upd issue.  It also pulls
    <quoted-pair> with <obs-qp> =  "\" (%d0 / LF / CR)

    NUL, bare LF, bare CR, permitted whereever 2821bis
    uses its <Quoted-string>.  The interoperability
    tests should explore if that really works anywhere.

8 - <General-address-literal> uses <dcontent> again with
    <NO-WS-CTL>, and a quick and dirty test some months
    ago published on the SMTP list already demonstrated
    that this does not work.  It's obscure why 2821bis 
    needs its own syntax for IPv6- and IPvFuture domain
    literals, different from the full Internet STD 66.
    <IPv6-addr> is impenetrable.

9 - <ID> permits a 2822upd <msg-id>, that pulls 2822upd
    <obs-id-left> and <obs-id-right>.  The reason why
    2822upd obsoleted these constructs was that they're
    not used in practice.  Maybe 2821bis needs a general
    "no 2822upd obs" clause, like the Netnews format RFC.

 Frank


_______________________________________________
Ietf mailing list
Ietf@ietf.org
https://www1.ietf.org/mailman/listinfo/ietf