Re: [EAI] I-D Action: draft-ietf-eai-rfc5336bis-11.txt

Chris Newman <chris.newman@oracle.com> Mon, 25 July 2011 16:09 UTC

Return-Path: <chris.newman@oracle.com>
X-Original-To: ima@ietfa.amsl.com
Delivered-To: ima@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 2277321F861A for <ima@ietfa.amsl.com>; Mon, 25 Jul 2011 09:09:18 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -106.046
X-Spam-Level:
X-Spam-Status: No, score=-106.046 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HELO_MISMATCH_COM=0.553, RCVD_IN_DNSWL_MED=-4, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id lTuOaSufRTWB for <ima@ietfa.amsl.com>; Mon, 25 Jul 2011 09:09:14 -0700 (PDT)
Received: from sca-ea-mail-3.sun.com (sca-ea-mail-3.Sun.COM [192.18.43.21]) by ietfa.amsl.com (Postfix) with ESMTP id 1E78F21F85F5 for <ima@ietf.org>; Mon, 25 Jul 2011 07:16:46 -0700 (PDT)
Received: from brmsunmail2-sfbay.uk.sun.com ([10.79.11.101]) by sca-ea-mail-3.sun.com (8.13.6+Sun/8.12.9) with ESMTP id p6PEGjkO012094 for <ima@ietf.org>; Mon, 25 Jul 2011 14:16:45 GMT
Received: from gotmail.us.oracle.com (gotmail.us.oracle.com [10.133.152.174]) by brmsunmail2-sfbay.uk.sun.com (8.14.4+Sun/8.14.4/ENSMAIL, v2.4) with ESMTP id p6PEGiha031125 for <ima@ietf.org>; Mon, 25 Jul 2011 14:16:44 GMT
MIME-version: 1.0
Content-type: multipart/mixed; boundary="Boundary_(ID_6JKL8bneiHTH3Vhy1ptAxQ)"
Received: from [10.159.40.53] (dhcp-rmdc-twvpn-2-vpnpool-10-159-40-53.vpn.oracle.com [10.159.40.53]) by gotmail.us.oracle.com (Oracle Communications Messaging Exchange Server 7u5-4.01 64bit (built May 4 2011)) with ESMTPA id <0LOW00F1X7NTZ700@gotmail.us.oracle.com> for ima@ietf.org; Mon, 25 Jul 2011 07:16:43 -0700 (PDT)
Date: Mon, 25 Jul 2011 10:16:41 -0400
From: Chris Newman <chris.newman@oracle.com>
To: ima@ietf.org
Message-id: <39219EF2FDAFC35947168EBC@96B2F16665FF96BAE59E9B90>
In-reply-to: <20110708012352.14365.62590.idtracker@ietfa.amsl.com>
References: <20110708012352.14365.62590.idtracker@ietfa.amsl.com>
X-Mailer: Mulberry/4.0.8 (Mac OS X)
Subject: Re: [EAI] I-D Action: draft-ietf-eai-rfc5336bis-11.txt
X-BeenThere: ima@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: "EAI \(Email Address Internationalization\)" <ima.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ima>, <mailto:ima-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ima>
List-Post: <mailto:ima@ietf.org>
List-Help: <mailto:ima-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ima>, <mailto:ima-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 25 Jul 2011 16:09:18 -0000

--On July 7, 2011 18:23:52 -0700 internet-drafts@ietf.org wrote:
> 	Title           : SMTP Extension for Internationalized Email
> 	Author(s)       : Jiankang Yao
>                           W. Mao
> 	Filename        : draft-ietf-eai-rfc5336bis-11.txt
> 	Pages           : 20
> 	Date            : 2011-07-07

I've done an extensive "clean slate" review on this document. I found a 
number of issues I consider largely editorial and some I consider 
substantive (in that the decision has technical impact). I've attached my 
full review with editorial notes embedded in the text. Here are the 
substantive issues:

1. Somewhere this needs to say: If a server advertises both UTF8SMTPbis and 
DSN, then that server MUST support UTF-8 in the ORCPT parameter. This also 
has ABNF impact. We need to add:

   ehlo-param  =/ UTF8-non-ascii

to allow UTF-8 in mail, rcpt and data parameters.

2. I would prefer this ABNF rule be removed:

   quoted-pairSMTP  =/ %d92 UTF8-non-ascii
    ; extend the definition of quoted-pairSMTP in RFC5321, section 4.1.2

This is an unnecessary change and makes 5336bis quoting even less 
consistent with 5335bis quoting. Conservative generators should never emit 
\ followed by anything other than \ or double-quote anyway, so adding 
complexity to explicitly allow generation of useless forms is not helpful.

3. I suggest adding a statement to the end of section 3.5:

      SMTP servers are encouraged to detect that recipients can not
      accept internationalized email headers and return an error
      earlier in the transaction whenever possible.

4. In section 3.5, I suggest adding an enhanced status code for the case 
where a U-label can not be converted to an A-label. This is semantically 
quite different from X.6.7 and X.6.9

5. Section 3.7 says the A-label form SHOULD be used. While I don't object 
to that for relay, I believe it should also say that submission clients MAY 
use U-labels.

6. Section 3.7.3:

>   If the messages that include trace fields are sent by an UTF8SMTPbis-
>   aware SMTP client or relay server with the UTF8SMTPbis parameter at
>   MAIL commands, trace field values SHOULD use the U-label form for the
>   internationalized domain name.

      This wording suggests servers need to convert from A-label to
      U-label if a previous server did the wrong thing. I don't think
      that's reasonable. I suggest rewording:

    When an SMTP server adds a trace field to a message that was or
    will be transmitted with the UTF8SMTPbis MAIL FROM parameter, that
    server SHOULD use the U-label form for internationalized domain
    names in that new trace field.

7. Section 3.7.3 needs to say (given the current ABNF):

   The Atom form of the ID clause can contain non-ASCII characters.