Re: [EAI] Comments on draft-ietf-eai-imap-utf8-07

Joseph Yee <jyee@ca.afilias.info> Thu, 17 September 2009 13:23 UTC

Return-Path: <jyee@ca.afilias.info>
X-Original-To: ima@core3.amsl.com
Delivered-To: ima@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id A5E283A6AA2 for <ima@core3.amsl.com>; Thu, 17 Sep 2009 06:23:32 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.11
X-Spam-Level:
X-Spam-Status: No, score=-6.11 tagged_above=-999 required=5 tests=[AWL=0.155, BAYES_00=-2.599, IP_NOT_FRIENDLY=0.334, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id vlV8RzVLYRJw for <ima@core3.amsl.com>; Thu, 17 Sep 2009 06:23:31 -0700 (PDT)
Received: from outbound.afilias.info (outbound.afilias.info [69.46.124.26]) by core3.amsl.com (Postfix) with ESMTP id 9EE5D28C0D9 for <ima@ietf.org>; Thu, 17 Sep 2009 06:23:31 -0700 (PDT)
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@ca.afilias.info>) id 1MoGy4-0001ct-3M; Thu, 17 Sep 2009 13:24:12 +0000
Received: from tor-gateway.afilias.info ([199.15.87.4] helo=jyee-lt.tor.afilias-int.info) by smtp.afilias.info with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.69) (envelope-from <jyee@ca.afilias.info>) id 1MoGy3-00015j-5w; Thu, 17 Sep 2009 13:24:11 +0000
From: Joseph Yee <jyee@ca.afilias.info>
To: Alexey Melnikov <alexey.melnikov@isode.com>
In-Reply-To: <4AAA20BD.1060904@isode.com>
References: <6.2.5.6.2.20090830222724.034fdb30@elandnews.com> <6c9fcc2a0909010725m9f1a4c2x159fb13d05df5f91@mail.gmail.com> <4A9D9878.7010302@isode.com> <p06250105c6c5c5428ce9@172.16.1.8> <6c9fcc2a0909031518v3e826ff2je1b622a6acfdd59a@mail.gmail.com> <4AA96B90.7070007@isode.com> <6c9fcc2a0909101550i13d01c93tca7be5bccbf1c0b6@mail.gmail.com> <4AAA20BD.1060904@isode.com>
Message-Id: <C814D069-77BE-4C2A-ACFE-5A5F87A20558@ca.afilias.info>
Content-Type: text/plain; charset="US-ASCII"; format="flowed"; delsp="yes"
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0 (Apple Message framework v936)
Date: Thu, 17 Sep 2009 09:24:11 -0400
X-Mailer: Apple Mail (2.936)
Cc: Pete Resnick <presnick@qualcomm.com>, barryleiba@computer.org, EAI WG <ima@ietf.org>
Subject: Re: [EAI] Comments on draft-ietf-eai-imap-utf8-07
X-BeenThere: ima@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "EAI \(Email Address Internationalization\)" <ima.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/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: Thu, 17 Sep 2009 13:23:32 -0000

On 11-Sep-09, at 6:04 AM, Alexey Melnikov wrote:

> Barry Leiba wrote:
>
>>> (As the responsible AD) After rereading various pieces of the  
>>> document, I
>>> agree this is not clear.
>>>
>>>
>>> (As a WG participant) Here is my understanding how things should  
>>> work:
>>>
>>> UTF8=USER is useful by itself, so I think it should be independent  
>>> of all
>>> other UTF8* capabilities. For example it should be possible to  
>>> only support
>>> UTF8=USER (non EAI IMAP server, but which accepts UTF-8
>>> usernames/passwords), or support all other EAI functions, without  
>>> supporting
>>> UTF-8 username/password (e.g. a legacy authentication database).
>>>
>>> I think UTF8=APPEND should be independent of other UTF8*  
>>> capabilities.
>>> Allowing for EAI APPEND might require quite a bit of extra work.
>>>
>>> Both UTF8=ALL and UTF8=ONLY are related to UTF8 capability. We can  
>>> either
>>> define them as implying UTF8, or say that if one of them is  
>>> advertised, then
>>> UTF8 MUST also be advertised. Moreover, I think UTF8=ONLY implies  
>>> UTF8=ALL.
>>> One can also argue that UTF8=ONLY implies UTF8=APPEND. I would be  
>>> Ok either
>>> way, but one way or another this needs to be stated explicitly.
>>>
> [All my responses with either IMAP server or client implementor hat  
> on:]
>
>> The more I think about it, the more I think that having a "UTF8"
>> capability string as well as "UTF8=xxx" strings creates a confusing
>> situation, particularly when one or more of the others implies the
>> former.
>>
> Agreed.
> In fact, I think implied IMAP capabilities should be avoided.

Maybe we need to reword the last paragraph at section 7.  Saying  
something like UTF8=ONLY "covers" or "is superset of " functions UTF8,  
UTF8=ALL and UTF8=APPEND.

>
>> Here's what I suggest:
>>
>> Define the capability as "UTF8=x,y,z", where the bit after the "="
>> (let's call them "UTF8 subcapabilities") can be some combination of
>> ACCEPT, APPEND, USER, ALL, and ONLY.  Put this definition into a
>> section that goes between the current sections 2 and 3, and say that
>> the UTF8 subcapabilities are defined in the sections below, and that
>> some of them may imply others.
>>
>> Note, too, that this does not extend the grammar for capability
>> strings.  RFC 3501 defines "capability" to be "atom", and the ","
>> character is permitted in an atom.  it may require a small tweak to
>> the registry, though.
>>
> This concerns me a bit. Existing IMAP capabilities are just single  
> tokens (with the exception of RIGHTS= defined in RFC 4314), so they  
> can be used for hash table lookups or direct string comparison. What  
> you are suggesting is that we change that.
>
> Note that the rest of your proposal seems sensible to me.

I would prefer to keep with style defined so far for IMAP, but I don't  
mind either way.

Best,
Joseph


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