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

Alexey Melnikov <alexey.melnikov@isode.com> Wed, 07 December 2011 20:17 UTC

Return-Path: <alexey.melnikov@isode.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 776DC11E80CA for <ima@ietfa.amsl.com>; Wed, 7 Dec 2011 12:17:40 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -101.751
X-Spam-Level:
X-Spam-Status: No, score=-101.751 tagged_above=-999 required=5 tests=[AWL=-0.848, BAYES_00=-2.599, MIME_8BIT_HEADER=0.3, MIME_QP_LONG_LINE=1.396, USER_IN_WHITELIST=-100]
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 WdHxvThFHXls for <ima@ietfa.amsl.com>; Wed, 7 Dec 2011 12:17:39 -0800 (PST)
Received: from rufus.isode.com (rufus.isode.com [62.3.217.251]) by ietfa.amsl.com (Postfix) with ESMTP id 59C8511E80B0 for <ima@ietf.org>; Wed, 7 Dec 2011 12:17:39 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1323289057; d=isode.com; s=selector; i=@isode.com; bh=e5/GZj3ZKPM0Ihe9WEgDXTYUXFIFp1WsWWD5R1CrHi0=; h=From:Sender:Reply-To:Subject:Date:Message-ID:To:Cc:MIME-Version: In-Reply-To:References:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description; b=hAdcZeihpGUztP4ZJTJIsmj+mj9JgJv7FKwgwnDRAruTbRZt1uz2IyvgCYEcR1v1f2OY1A XL5cNxRByczOZbHw14aX8V2bzVN1ikLNP+Wr0MYsUOvYQEY0Cp/xJujV4zOzRe5WIIFh3C W3ohx188BWkARpeNYlHyqDrjVqI7SFs=;
Received: from [172.16.1.29] (shiny.isode.com [62.3.217.250]) by rufus.isode.com (submission channel) via TCP with ESMTPSA id <Tt=J4QBaKwQR@rufus.isode.com>; Wed, 7 Dec 2011 20:17:37 +0000
Message-ID: <4EDFC9E2.7050809@isode.com>
Date: Wed, 07 Dec 2011 20:17:38 +0000
From: Alexey Melnikov <alexey.melnikov@isode.com>
User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:8.0) Gecko/20111105 Thunderbird/8.0
To: Sean Shen 沈烁 <shenshuo@cnnic.cn>
References: <20111205070204.18545.30525.idtracker@ietfa.amsl.com> <007701ccb3c0$d1b2caf0$751860d0$@cn>
In-Reply-To: <007701ccb3c0$d1b2caf0$751860d0$@cn>
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"; format="flowed"
Content-transfer-encoding: quoted-printable
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: Wed, 07 Dec 2011 20:17:40 -0000

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.

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.

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.

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

Best Regards,
Alexey