Re: [Extra] IMAP I18NLEVEL

"Chris Newman" <chris.newman@oracle.com> Tue, 29 January 2019 07:14 UTC

Return-Path: <chris.newman@oracle.com>
X-Original-To: extra@ietfa.amsl.com
Delivered-To: extra@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id F032A130F1B for <extra@ietfa.amsl.com>; Mon, 28 Jan 2019 23:14:13 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.854
X-Spam-Level:
X-Spam-Status: No, score=-8.854 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-4.553, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=oracle.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id lS6D3ftIj6dG for <extra@ietfa.amsl.com>; Mon, 28 Jan 2019 23:14:12 -0800 (PST)
Received: from aserp2130.oracle.com (aserp2130.oracle.com [141.146.126.79]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 73286130EFC for <extra@ietf.org>; Mon, 28 Jan 2019 23:14:12 -0800 (PST)
Received: from pps.filterd (aserp2130.oracle.com [127.0.0.1]) by aserp2130.oracle.com (8.16.0.22/8.16.0.22) with SMTP id x0T7Dw1u117640; Tue, 29 Jan 2019 07:14:08 GMT
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-type; s=corp-2018-07-02; bh=BEqTRtIn8t4qWkBop0MXf4qpji3e2oY1mD1+t3ojd60=; b=hewiAjP/PHZawtsBpKkgBcS0kAhY4hq1X4xuuQn+kY0sa8kPyAZHD94H2z1jKeIDpihQ w3bEIz9y+NoTok/rTbqp5J/ub385hM+8oq7E2dIEv+5oAYsVyME0zCuoy/fA8JXiYnbk gCkdZTFLo4PgXfr3SFXCCVgBQaCN1MqvaKDC2bXVrDKzmJio2cMVhs5eFEnoBK7God84 jtVfKDIfEgq+JcaYc+EzvHt6QAOjA7xT7rHNmjCaltkrijgyS+BSEVWJ0FaXPMYWvzVG F3YRNtSFi4tIioSVYOLQNlQgHdeboOFCAQuwSkNFqnFmkoPuMj5e1hpeDYDVjzZAdRXM Gw==
Received: from aserv0022.oracle.com (aserv0022.oracle.com [141.146.126.234]) by aserp2130.oracle.com with ESMTP id 2q8d2e2q09-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 29 Jan 2019 07:14:07 +0000
Received: from userv0121.oracle.com (userv0121.oracle.com [156.151.31.72]) by aserv0022.oracle.com (8.14.4/8.14.4) with ESMTP id x0T7E7fM016725 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 29 Jan 2019 07:14:07 GMT
Received: from abhmp0016.oracle.com (abhmp0016.oracle.com [141.146.116.22]) by userv0121.oracle.com (8.14.4/8.13.8) with ESMTP id x0T7E6i8013216; Tue, 29 Jan 2019 07:14:06 GMT
Received: from [10.145.183.37] (/10.145.183.37) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Mon, 28 Jan 2019 23:14:06 -0800
From: Chris Newman <chris.newman@oracle.com>
To: John Levine <johnl@taugh.com>
Cc: extra@ietf.org, murch@fastmail.com
Date: Mon, 28 Jan 2019 23:13:57 -0800
X-Mailer: MailMate (1.12.4r5594)
Message-ID: <6A0B4726-75F2-40C2-AE36-DFB6F50DC05A@oracle.com>
In-Reply-To: <20190129023014.AAC7A200D6AC18@ary.qy>
References: <20190129023014.AAC7A200D6AC18@ary.qy>
MIME-Version: 1.0
Content-Type: text/plain; format="flowed"
X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=9150 signatures=668682
X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=724 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1810050000 definitions=main-1901290055
Archived-At: <https://mailarchive.ietf.org/arch/msg/extra/nSQKX3ayesoh_znR8sp5deXrkPU>
Subject: Re: [Extra] IMAP I18NLEVEL
X-BeenThere: extra@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Email mailstore and eXtensions To Revise or Amend <extra.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/extra>, <mailto:extra-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/extra/>
List-Post: <mailto:extra@ietf.org>
List-Help: <mailto:extra-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/extra>, <mailto:extra-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 29 Jan 2019 07:14:14 -0000

On 28 Jan 2019, at 18:30, John Levine wrote:
> In article <923c9a3b-4541-d255-5629-57bfb99e80b3@fastmail.com> you 
> write:
>> Some of us at FastMail have been discussing implementing RFC 5255,
>> namely the I18NLEVEL extensions, in the Cyrus IMAP server and we are
>> wondering if any clients support and use them.
>
> Why 5255 rather than RFC 6855?  It is my impression that in practice
> the UTF8 support in 6855 made the older stuff obsolete.
>
> Since Chris Newman was an author of both, he's the obvious person to
> ask for more info.

The two standards are orthogonal.

I have most of an implementation of RFC 5255 on our server, but don't 
advertise it. The issue is we implemented an earlier draft of the 
specification which used a UCA-based comparator. I don't have time to 
implement/test i;unicode-casemap and consider that algorithm inferior to 
UCA. I'd be inclined to fix and advertise our implementation if a 
UCA-based comparator was registered and allowed as an alternative to 
i;unicode-casemap. But use of i;unicode-casemap was easier to get 
published at the time this was done. This could probably be fixed with a 
relatively short specification but I can't justify the time to write it. 
In the meantime; I'd recommend using JMAP for i18n sort since it gets 
that detail right :-)

I have a full implementation of RFC 6855 although I ignored one or two 
of the backwards compatibility MUST/SHOULD rules which were necessary 
from a standards viewpoint and inappropriate from an implementer 
viewpoint :-).

Basically RFC 5255 handles sorting and error text localization -- a nice 
to have feature but default behavior in IMAP is good enough. RFC 6855 
handles UTF-8 email headers and mailbox names -- as EAI deploys, you'll 
start getting customer complaints if you don't implement this. So given 
limited time, I'd recommend doing RFC 6855 first.

		- Chris