Re: [EAI] I-D Action: draft-ietf-eai-5738bis-02.txt

Joseph Yee <jyee@afilias.info> Tue, 20 December 2011 05:34 UTC

Return-Path: <jyee@afilias.info>
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 72ED311E80CB for <ima@ietfa.amsl.com>; Mon, 19 Dec 2011 21:34:33 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.115
X-Spam-Level:
X-Spam-Status: No, score=-6.115 tagged_above=-999 required=5 tests=[AWL=0.150, BAYES_00=-2.599, IP_NOT_FRIENDLY=0.334, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Kdx58YjHgFn6 for <ima@ietfa.amsl.com>; Mon, 19 Dec 2011 21:34:32 -0800 (PST)
Received: from outbound.afilias.info (outbound.afilias.info [69.46.124.26]) by ietfa.amsl.com (Postfix) with ESMTP id 9680611E80C6 for <ima@ietf.org>; Mon, 19 Dec 2011 21:34:32 -0800 (PST)
Received: from ms5.yyz2.afilias-ops.info ([10.50.129.111] helo=smtp.afilias.info) by outbound.afilias.info with esmtp (Exim 4.69) (envelope-from <jyee@afilias.info>) id 1Rcs9p-0008Li-6c for ima@ietf.org; Tue, 20 Dec 2011 05:22:33 +0000
Received: from mail-qw0-f43.google.com ([209.85.216.43]) by smtp.afilias.info with esmtps (TLSv1:RC4-SHA:128) (Exim 4.72) (envelope-from <jyee@afilias.info>) id 1Rcs9o-0002sC-5w for ima@ietf.org; Tue, 20 Dec 2011 05:22:32 +0000
Received: by mail-qw0-f43.google.com with SMTP id g27so21105868qab.9 for <ima@ietf.org>; Mon, 19 Dec 2011 21:22:32 -0800 (PST)
Received: by 10.224.10.14 with SMTP id n14mr594918qan.64.1324358552569; Mon, 19 Dec 2011 21:22:32 -0800 (PST)
Received: from [192.168.0.107] (75-119-229-252.dsl.teksavvy.com. [75.119.229.252]) by mx.google.com with ESMTPS id dk9sm1385643qab.0.2011.12.19.21.22.31 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 19 Dec 2011 21:22:31 -0800 (PST)
Mime-Version: 1.0 (Apple Message framework v1084)
Content-Type: text/plain; charset="utf-8"
From: Joseph Yee <jyee@afilias.info>
In-Reply-To: <4EDFC9E2.7050809@isode.com>
Date: Tue, 20 Dec 2011 00:22:25 -0500
Content-Transfer-Encoding: quoted-printable
Message-Id: <118C10E8-200A-4976-B263-50BE1DBCAE85@afilias.info>
References: <20111205070204.18545.30525.idtracker@ietfa.amsl.com> <007701ccb3c0$d1b2caf0$751860d0$@cn> <4EDFC9E2.7050809@isode.com>
To: Alexey Melnikov <alexey.melnikov@isode.com>
X-Mailer: Apple Mail (2.1084)
Cc: ima@ietf.org
Subject: Re: [EAI] I-D Action: draft-ietf-eai-5738bis-02.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: Tue, 20 Dec 2011 05:34:33 -0000

On 2011-12-07, at 3:17 PM, Alexey Melnikov wrote:

> On 06/12/2011 02:43, Sean Shen 沈烁 wrote:
>> Dear EAIers,
>> The revised draft tries to reflect the following decisions in last eai meeting:
>> 
>> "    - Tentative agreement not to extend LOGIN.
>>     - Tentative agreement to remove up-conversion as a requirement.
>>     - Apparent agreement to solve issue in section 3.3 by including
>>       literals.
>> "
>> 
>> Your comments will be helpful!
> Hi Sean,
> I think you've updated the section about LOGIN and a couple of other sections incorrectly.
> Here are the detailed comments on -02 that try to correct that:
> 
> 3.3.  UTF-8 LIST and LSUB Responses
> 
>   After an IMAP client successfully issues an "ENABLE UTF8=ACCEPT"
>   command, the server MUST NOT return in LIST results any mailbox names
>   to the client following the IMAP4 Mailbox International Naming
>   Convention.  Instead, the server SHOULD return any mailbox names with
>   characters using utf8-quoted syntax.
> 
> You've changed  MUST to SHOULD here. While this is Ok, I don't think it is optimal, as it doesn't explain in which cases the SHOULD can be violated. I suggest the following replacement:
> 
>  Instead, the server MUST return any mailbox names with
>  characters using either utf8-quoted or literal syntax.

+1 for the suggestion

> 
> In Section 4:
> 
>   IMAP servers that do not advertise the "UTF8=ACCEPT" or "UTF8=ONLY"
>   capability SHOULD reject an APPEND command that includes any 8-bit in
>   the message headers with a "NO" response.
> 
> This text seems to be placing requirements on servers that don't implement this specification. Because implementors who don't implement this specification are unlikely to read this specification, we can't do that. I suggest dropping the whole paragraph.

Suggest to replace the above paragraph with the following text:

If IMAP clients that do not issue "ENABLE UTF8=ACCEPT" or "ENABLE UTF8=ONLY", IMAP servers MUST reject an APPEND command that includes any 8-bit in the message headers with a "NO" response.

> 
> In Section 5.  LOGIN Command and UTF-8
> 
>   If the "UTF8=ACCEPT" capability is advertised, that indicates the
>   server accepts UTF-8 user names and passwords and applies SASLprep
>   [RFC4013] to both arguments of the LOGIN command.  The server MUST
>   reject UTF-8 that fails to comply with the formal syntax in RFC 3629
>   [RFC3629] or if it encounters Unicode characters listed in Section
>   2.3 of SASLprep RFC 4013 [RFC4013].
> 
>   Although this makes it syntacically legal to have a UTF-8 user name
>   or password, there is no guarantee the user provisioning system used
>   by the IMAP server will allow such identities.  This is an
>   implementation decision and MAY depend on what identity system the
>   IMAP server is configured to use.
> 
> The proposal was not to extend the LOGIN command and instead use the AUTHENTICATE command which already supports UTF-8 usernames and passwords. So, I suggest replacing the whole section to read:
> 
>   This specification doesn't extend the IMAP LOGIN command [RFC3501]
>   to support UTF-8 usernames and passwords. Whenever a client needs
>   to use UTF-8 username/passwords, it MUST use the IMAP AUTHENTICATE
>   command which is already capable of passing UTF-8 user names and credentials.
> 
> Or something like this.
> 
> 
> In Section 8:
> 
>   1.  LIST-EXTENDED option name: UTF8
> 
>       LIST-EXTENDED option type: SELECTION
> 
>       Implied return options(s): UTF8
> 
>       LIST-EXTENDED option description: Part of previous experiment, no
>       longer used.
> 
> You obsoleted the wrong selection option: you should have obsoleted
> the UTF8ONLY (listed below), not this one. So please undo the change to this option.
> 
>       Published specification: RFC 5738bis, Section 3.4.1
> 
>       Security considerations: RFC 5738bis, section 9
> 
>       Intended usage: OBSOLETE
> 
>       Person and email address to contact for further information: see
>       the Authors' Addresses at the end of this specification
> 
>       Owner/Change controller: iesg@ietf.org
> 
>   2.  LIST-EXTENDED option name: UTF8ONLY
> 
>       LIST-EXTENDED option type: SELECTION
> 
>       Implied return options(s): UTF8
> 
>       LIST-EXTENDED option description: Causes the LIST response to
>       include mailboxes that mandate the UTF8 SELECT/EXAMINE parameter
>       and exclude mailboxes that do not support the UTF8 SELECT/EXAMINE
>       parameter.
> 

Yes, UTF8 should have "Intended usage: COMMON" and UTF8ONLY should be "Intended usage: OBSOLETE".


> I might send a couple of extra changes in a separate email.
> 

Similar, there are some editorials and nits followup in separate email.

thanks
Joseph

> Best Regards,
> Alexey
> 
> 
> _______________________________________________
> IMA mailing list
> IMA@ietf.org
> https://www.ietf.org/mailman/listinfo/ima