Re: [EAI] Localpart normalization (was Re: Downgrade Design Team Discussion Results Released)

Harald Alvestrand <harald@alvestrand.no> Sat, 20 March 2010 21:02 UTC

Return-Path: <harald@alvestrand.no>
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 ECEA83A686D for <ima@core3.amsl.com>; Sat, 20 Mar 2010 14:02:00 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 1.731
X-Spam-Level: *
X-Spam-Status: No, score=1.731 tagged_above=-999 required=5 tests=[BAYES_50=0.001, DNS_FROM_OPENWHOIS=1.13, J_CHICKENPOX_71=0.6]
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 VTrCqZ1x1Gkq for <ima@core3.amsl.com>; Sat, 20 Mar 2010 14:02:00 -0700 (PDT)
Received: from eikenes.alvestrand.no (eikenes.alvestrand.no [158.38.152.233]) by core3.amsl.com (Postfix) with ESMTP id 195C73A63D3 for <ima@ietf.org>; Sat, 20 Mar 2010 14:02:00 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by eikenes.alvestrand.no (Postfix) with ESMTP id A620539E1F5; Sat, 20 Mar 2010 22:00:49 +0100 (CET)
X-Virus-Scanned: Debian amavisd-new at eikenes.alvestrand.no
Received: from eikenes.alvestrand.no ([127.0.0.1]) by localhost (eikenes.alvestrand.no [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id X8MqrenY7Ago; Sat, 20 Mar 2010 22:00:49 +0100 (CET)
Received: from [10.43.1.31] (unknown [77.241.105.132]) by eikenes.alvestrand.no (Postfix) with ESMTPS id 0D6AB39E142; Sat, 20 Mar 2010 22:00:49 +0100 (CET)
Message-ID: <4BA53788.1040400@alvestrand.no>
Date: Sat, 20 Mar 2010 22:00:56 +0100
From: Harald Alvestrand <harald@alvestrand.no>
User-Agent: Thunderbird 2.0.0.23 (X11/20090817)
MIME-Version: 1.0
To: Alexey Melnikov <alexey.melnikov@isode.com>
References: <468003898.09293@cnnic.cn> <468721920.28140@cnnic.cn> <4BA2B96F.2050906@isode.com>
In-Reply-To: <4BA2B96F.2050906@isode.com>
Content-Type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-Transfer-Encoding: 7bit
Cc: ima@ietf.org
Subject: Re: [EAI] Localpart normalization (was Re: Downgrade Design Team Discussion Results Released)
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: Sat, 20 Mar 2010 21:02:01 -0000

Alexey Melnikov wrote:
> As a side note, one of the things suggested by the EAI downgrade 
> design team should be further discussed and should be coordinated with 
> the NewPrep BOF:
>
> YAO Jiankang wrote:
>> The design team also noted that an informational RFC regarding
>> selection of addresses (both Unicode and ASCII) would be
>> helpful, that clients SHOULD use Unicode Normalization Form C,
>> and that servers MUST use NFC.
>>   
> Whatever normalization we recommend, it should be consistent with 
> handling of nodes in XMPP (NodePrepBis) and SASLPrepBis. 
Note:
we should be careful what we mean here when we say "MUST use NFC".

I read it as "everyone should expect mail to two left-hand-side whose 
name canonicalizes to the same string under NFC to end up in the same 
mailbox".

That's no guarantee that mail to Unicode(R with ring around it) and 
UnicodeR will NOT end up in the same mailbox. Any server can apply 
additional normalizations at will to localparts that it's responsible for.

The difference between putting NFC and NFKC in the sentence above is 
that no intermediate server, who's merely passing along the message, can 
make the assumption that (R with ring around it) and (R) are equivalent.

                        Harald