Re: [EAI] Comments on draft-ietf-eai-imap-utf8-04.txt
Pete Resnick <presnick@qualcomm.com> Thu, 20 November 2008 17:55 UTC
Return-Path: <ima-bounces@ietf.org>
X-Original-To: ima-archive@megatron.ietf.org
Delivered-To: ietfarch-ima-archive@core3.amsl.com
Received: from [127.0.0.1] (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 27CFB3A68CD; Thu, 20 Nov 2008 09:55:08 -0800 (PST)
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 986FF3A68CD for <ima@core3.amsl.com>; Thu, 20 Nov 2008 09:55:06 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.599
X-Spam-Level:
X-Spam-Status: No, score=-102.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, USER_IN_WHITELIST=-100]
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 Haf7cx0ql5yB for <ima@core3.amsl.com>; Thu, 20 Nov 2008 09:55:05 -0800 (PST)
Received: from wolverine02.qualcomm.com (wolverine02.qualcomm.com [199.106.114.251]) by core3.amsl.com (Postfix) with ESMTP id 2D9423A67D2 for <ima@ietf.org>; Thu, 20 Nov 2008 09:55:05 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=qualcomm.com; i=presnick@qualcomm.com; q=dns/txt; s=qcdkim; t=1227203704; x=1258739704; h=mime-version:x-sender:message-id:in-reply-to:references: user-agent:date:to:from:subject:cc:content-type: x-ironport-av; z=MIME-Version:=201.0|X-Sender:=20presnick@resnick1.qualco mm.com@resnick1.qualcomm.com|Message-ID:=20<p06250123c54b 4ef69269@[75.145.176.242]>|In-Reply-To:=20<491DBA66.50109 03@isode.com>|References:=20<491DBA66.5010903@isode.com> |User-Agent:=20Eudora=206.2.5b1(Macintosh)|Date:=20Thu, =2020=20Nov=202008=2011:54:59=20-0600|To:=20Alexey=20Meln ikov=20<alexey.melnikov@isode.com>|From:=20Pete=20Resnick =20<presnick@qualcomm.com>|Subject:=20Re:=20[EAI]=20Comme nts=20on=20draft-ietf-eai-imap-utf8-04.txt|CC:=20<ima@iet f.org>|Content-Type:=20text/plain=3B=20charset=3D"us-asci i"=3B=20format=3Dflowed|X-IronPort-AV:=20E=3DMcAfee=3Bi =3D"5100,188,5439"=3B=20a=3D"13310693"; bh=DFfoDn9lYMASGDp2Qi6Z+APYoJD00SHDh/+VxzE0448=; b=gLWE/4c6/DQ5qwp/NAh/YFTS20GPu1LeJdRg//+6AweBnD4d4HBn6kk6 UGcXVM54wt/pDKeYjD7UQ6xnIrHMqvQ4YEyBQEKIuyxC5NAMAN4pkiGiE d6+7olPkFYOTpW/94wTJ9mDk6Uo/UCu8fXawPhPP+KJNto1NF4sfJSStZ c=;
X-IronPort-AV: E=McAfee;i="5100,188,5439"; a="13310693"
Received: from pdmz-ns-mip.qualcomm.com (HELO ithilien.qualcomm.com) ([199.106.114.10]) by wolverine02.qualcomm.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 20 Nov 2008 09:55:04 -0800
Received: from msgtransport03.qualcomm.com (msgtransport03.qualcomm.com [129.46.61.154]) by ithilien.qualcomm.com (8.14.2/8.14.2/1.0) with ESMTP id mAKHt3Nj008110 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Thu, 20 Nov 2008 09:55:03 -0800
Received: from nasanexhub03.na.qualcomm.com (nasanexhub03.na.qualcomm.com [10.46.93.98]) by msgtransport03.qualcomm.com (8.14.2/8.14.2/1.0) with ESMTP id mAKHt3PN012897 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NOT); Thu, 20 Nov 2008 09:55:03 -0800
Received: from nasanexmsp02.na.qualcomm.com (10.45.56.203) by nasanexhub03.na.qualcomm.com (10.46.93.98) with Microsoft SMTP Server (TLS) id 8.1.311.2; Thu, 20 Nov 2008 09:55:03 -0800
Received: from [75.145.176.242] (10.46.82.6) by qcmail1.qualcomm.com (10.45.56.203) with Microsoft SMTP Server (TLS) id 8.1.311.2; Thu, 20 Nov 2008 09:55:02 -0800
MIME-Version: 1.0
X-Sender: presnick@resnick1.qualcomm.com@resnick1.qualcomm.com
Message-ID: <p06250123c54b4ef69269@[75.145.176.242]>
In-Reply-To: <491DBA66.5010903@isode.com>
References: <491DBA66.5010903@isode.com>
User-Agent: Eudora 6.2.5b1(Macintosh)
Date: Thu, 20 Nov 2008 11:54:59 -0600
To: Alexey Melnikov <alexey.melnikov@isode.com>
From: Pete Resnick <presnick@qualcomm.com>
Cc: ima@ietf.org
Subject: Re: [EAI] Comments on draft-ietf-eai-imap-utf8-04.txt
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/pipermail/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>
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset="us-ascii"; Format="flowed"
Sender: ima-bounces@ietf.org
Errors-To: ima-bounces@ietf.org
On 11/14/08 at 5:50 PM +0000, Alexey Melnikov wrote: >>[TBD stringprep for mailbox names? Can we reuse SASLprep?]. > >Note that I was faced with a similar issue in the ManageSieve >protocol, where script names are in UTF-8. After some discussion in >the Sieve WG we've decided to go with something like this: > > A Sieve script name is a sequence of Unicode characters encoded in > UTF-8 [UTF-8]. A script name MUST comply with Net-Unicode Definition > (Section 2 of [NET-UNICODE]), with the following additional > restrictions: > > o 0000-001F; [CONTROL CHARACTERS] > > o 007F; DELETE > > o 0080-009F; [CONTROL CHARACTERS] > > o 2028; LINE SEPARATOR > > o 2029; PARAGRAPH SEPARATOR > >Where: > >[NET-UNICODE] Klensin, J. and M. Padlipsky, "Unicode Format for Network >Interchange", RFC 5198, March 2008. Works for me. >> ...unless the mailbox is UTF-8 only, in which case IMAP >> servers SHOULD accept UTF-8 in message keywords. [TBD stringprep for >> message keywords? Can we reuse SASLprep?] > >Haven't we decided to leave keywords as ASCII some time ago? I don't >have a strong opinion either way. Same here. I'll check with Chris as to why he put this in the original version. >> TBD: describe syntax based on draft-melnikov-imap-ext-abnf-05. > >I think I can help with that ;-): > > utf8-select-param = "UTF8" > ;; Conforms to <select-param> from RFC 4466. OK. >>3.4. UTF-8 Interaction with IMAP4 LIST Command Extensions >> >> When an IMAP server advertises both the "UTF8" capability and the >> "LIST-EXTENEDED" [RFC5258] capability, the server MUST support the >> LIST extensions described in this section. When an IMAP server >> advertises the UTF8=ONLY capability and the LIST-EXTENDED capability, >> the server MUST reject these LIST extensions with a BAD response. > >Ok, I might be confused here, but I think this contradicts >description of the UTF8=ONLY capability in section 7: > > This capability permits an IMAP server to advertise that it does not > support the international mailbox name convention (modified UTF-7), > and does not permit selection or examination of any mailbox unless > the UTF8 parameter is provided. I think the point here is that if you have UTF8=ONLY, then it is pointless to use the UTF8 or UTF8ONLY param to LIST, since all of the mailboxes only support UTF-8 headers. But I guess the param will do no harm either. Again, I'll ask Chris. >>3.4.1. UTF8 and UTF8ONLY LIST Selection Options >> >> The UTF8 LIST selection option tells the server to include mailboxes >> that only support UTF-8 headers in the output of the list command. >> The UTF8ONLY LIST selection option tells the server to include all >> mailboxes that support UTF-8 headers and to exclude mailboxes that >> don't support UTF-8 headers. Note that UTF8ONLY implies UTF8 so it >> is not necessary for the client to request both. Use of either >> selection option will also result in UTF-8 mailbox names in the >> result as described in Section 3.3. > >This need to clarify that either selection option implies the UTF8 >return option described in section 3.4.2, which in its term means >that "\NoUTF8" and "\UTF8Only" mailbox attributes need to be >returned when necessary. The only place where this information can >be found is in the IANA registration itself. I think most readers >would miss that. I'll repeat it here. >>3.4.2. UTF8 LIST Return Option >> >> If the client supplies the UTF8 LIST return option, then the server >> MUST include either the \NoUTF8 or the \UTF8Only mailbox attribute as >> appropriate. The \NoUTF8 mailbox attribute indicates an attempt to >> SELECT or EXAMINE that mailbox with the UTF8 parameter will fail with >> a [NOT-UTF-8] response code. The \UTF8Only mailbox attribute >> indicates an attempt to SELECT or EXAMINE that mailbox without the >> UTF8 parameter will fail with a [UTF-8-ONLY] response code. Note >> that computing this information may be expensive on some server >> implementations so this return option should not be used unless >> necessary. >> >> The ABNF [RFC5234] for these LIST extensions follows: >> >> list-select-independent-opt =/ "UTF8" / "UTF8ONLY" > >So, if you agree, I suggest changing this to: > > list-select-independent-opt =/ "UTF8" > list-select-base-opt =/ "UTF8ONLY" No problem. >> mbox-list-oflag =/ "\NoUTF8" / "\UTF8Only" > >I think you've copied typo from an old LIST-EXTENDED draft: please >change "mbox-list-oflag" to "mbx-list-oflag". >[...] Done. >>4. UTF8=APPEND Capability >> >> If the UTF8=APPEND capability is advertised, then the server accepts >> UTF-8 headers in the APPEND command message argument. A client which >> sends a message with UTF-8 headers to the server MUST include the >> UTF8 APPEND parameter. The ABNF for this APPEND parameter follows: >> >> append-ext =/ "UTF8" > >This is probably Ok, but note that RFC 4466 required each label to >have a parameter. Whether this is a bug, or there was a reason for >that, I currently don't remember. Crap. That's going to give parsers serious problems. Let's discuss offline. >> IMAP servers which do not advertise the UTF8=APPEND or UTF8=ONLY >> capability SHOULD reject an APPEND command which includes any 8-bit >> in the message headers with a "NO" response. > >Does this need a new response code? I am not entirely sure. (*Shrug*) I don't think so. >> header-fields in the message header: From, Sender, To, CC, Bcc, >> Resent-From, Resent-Sender, Resent-To, Resent-CC, Resent-Bcc, and >> Reply-To. This up-conversion MUST include address local-parts >> encoded according to [TBD], > >Did you mean utf8-local-part defined in section 4.4 of RFC 5335? Thank you. pr -- Pete Resnick <http://www.qualcomm.com/~presnick/> Qualcomm Incorporated - Direct phone: (858)651-4478, Fax: (858)651-1102 _______________________________________________ IMA mailing list IMA@ietf.org https://www.ietf.org/mailman/listinfo/ima
- [EAI] Comments on draft-ietf-eai-imap-utf8-04.txt Alexey Melnikov
- Re: [EAI] Comments on draft-ietf-eai-imap-utf8-04… John C Klensin
- Re: [EAI] Comments on draft-ietf-eai-imap-utf8-04… Pete Resnick
- Re: [EAI] Comments on draft-ietf-eai-imap-utf8-04… Alexey Melnikov
- Re: [EAI] Comments on draft-ietf-eai-imap-utf8-04… Joseph Yee
- Re: [EAI] Comments on draft-ietf-eai-imap-utf8-04… Pete Resnick
- Re: [EAI] Comments on draft-ietf-eai-imap-utf8-04… Pete Resnick
- Re: [EAI] Comments on draft-ietf-eai-imap-utf8-04… Chris Newman
- Re: [EAI] Comments on draft-ietf-eai-imap-utf8-04… Alexey Melnikov