Re: [EAI] Rather serious bug in RFC 6531

John R Levine <johnl@taugh.com> Tue, 05 January 2021 14:17 UTC

Return-Path: <johnl@taugh.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 93E173A0F46 for <ima@ietfa.amsl.com>; Tue, 5 Jan 2021 06:17:46 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.1
X-Spam-Level:
X-Spam-Status: No, score=-2.1 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=iecc.com header.b=QbW4SnlU; dkim=pass (2048-bit key) header.d=taugh.com header.b=w28aHSBu
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 89muOwVzzRWH for <ima@ietfa.amsl.com>; Tue, 5 Jan 2021 06:17:44 -0800 (PST)
Received: from gal.iecc.com (gal.iecc.com [IPv6:2001:470:1f07:1126:0:43:6f73:7461]) (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 510DC3A0C6C for <ima@ietf.org>; Tue, 5 Jan 2021 06:17:43 -0800 (PST)
Received: (qmail 16372 invoked from network); 5 Jan 2021 14:17:42 -0000
DKIM-Signature: v=1; a=rsa-sha256; c=simple; d=iecc.com; h=date:message-id:from:to:cc:subject:in-reply-to:references:mime-version:content-type; s=3ff0.5ff47506.k2101; i=johnl-iecc.com@submit.iecc.com; bh=5XUjQc8gItvQSH+lCAGzMu7OtDNwP35Bm3/Vlgr3Sgc=; b=QbW4SnlU6xWMQslgok4M3ACUMULgixlCiw+AxqyX522E88FJKPIO3VFF5EINSnHgn+p6LY6WlXpLr8KNGGUrmwuraOx5v02G4TBLZISxTPMSPQf69WI2jdkeuXfYo2vDjUNQgTPbmcYhcB2DgRfPpeSEdAtTdWYgcPbdGLUoDi1JdagbX7bGm5YH4fEoqBWqvDj+YLEBl9nI0QDtNEYJb5y4dkyKouEbkTZwlcxa1x48t24Wknp0WeEToeELlPb4qr1wXhlYTnVPBOHB4uSlAysF60eEMAk5EpOlryBv1jjhNIYFSddAXsj7PXCT0RPwqZlNVTcyK3DhIohBKidKjA==
DKIM-Signature: v=1; a=rsa-sha256; c=simple; d=taugh.com; h=date:message-id:from:to:cc:subject:in-reply-to:references:mime-version:content-type; s=3ff0.5ff47506.k2101; olt=johnl-iecc.com@submit.iecc.com; bh=5XUjQc8gItvQSH+lCAGzMu7OtDNwP35Bm3/Vlgr3Sgc=; b=w28aHSBunfCsrlDBs8d1Od6IFvxwRFhqouNHbuCc6sgEpk13WwPPyki3buuhGbfMbp7eEjsIas/SAz7YoCYwlm6sxVfklYYwF+vXybKLnCiLbDJ+djrklTvjumPIZsKNWZdt6qtf9gNfvUIMYmpU+Mg0xWkGpmE1zTXAkaZtJ1qp7EcnPSR4hXgjEim38zozuGnwh5zf60i+Wk7I/DZUORJnaWXMwS8Lx7fOZWzSV5z0oUrlOqLNUk8KSiio07f6bxJxHJqq+oSsrgsE++1L03fIyVE8tWl1Q8zLKsSfEBLWL+U5IY9OZh/m09oDk5NDWRRO7iV3hhaOkL5BE+GQug==
Received: from localhost ([IPv6:2001:470:1f07:1126::78:696d:6170]) by imap.iecc.com ([IPv6:2001:470:1f07:1126::78:696d:6170]) with ESMTPSA (TLS1.3 ECDHE-RSA AES-256-GCM AEAD, johnl@iecc.com) via TCP6; 05 Jan 2021 14:17:42 -0000
Date: Tue, 05 Jan 2021 09:17:42 -0500
Message-ID: <a01486ed-5d6f-577a-3237-bb7361c71d43@taugh.com>
From: John R Levine <johnl@taugh.com>
To: Ned Freed <ned.freed@mrochek.com>
Cc: ima@ietf.org
In-Reply-To: <01RTZ62Q9PR6004QVR@mauve.mrochek.com>
References: <f8ef03e7-59da-9753-9dad-4dc992b046eb@isode.com> <20210104173248.51F3154CD6FA@ary.qy> <01RTZ62Q9PR6004QVR@mauve.mrochek.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="US-ASCII"; format="flowed"
Archived-At: <https://mailarchive.ietf.org/arch/msg/ima/aSBuIJqtN1iw8hBS2wsgAsc-AjM>
Subject: Re: [EAI] Rather serious bug in RFC 6531
X-BeenThere: ima@ietf.org
X-Mailman-Version: 2.1.29
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: <https://mailarchive.ietf.org/arch/browse/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: Tue, 05 Jan 2021 14:17:48 -0000

On Mon, 4 Jan 2021, Ned Freed wrote:
>> Having just done some EAI compliance tests for the UASG, I can report
>> that all the systems that have any EAI support at all do what the RFC
>> says. The SMTP keyword is SMTPUTF8, and the WITH clause is UTF8SMTP.
>> (Well, except for Microsoft whose WITH clauses are wrong with or
>> without EAI.)
>
> FWIW, we generate the entire list of values: UTF8SMTP[A][S] and UTF8LMTP[A][S]
> as necessary.

I think everyone else does, too.  The code is pretty simple. replace the 
prefix E with UTF8.

There's a buglet in Courier where he forgets to remove the E, e.g., 
UTF8ESMTPS.  I think I sent him the one-line fix.

Regards,
John Levine, johnl@taugh.com, Taughannock Networks, Trumansburg NY
Please consider the environment before reading this e-mail. https://jl.ly