Re: [ietf-smtp] How wrong is this EAI implementation

John Levine <johnl@taugh.com> Sun, 21 June 2020 14:53 UTC

Return-Path: <johnl@iecc.com>
X-Original-To: ietf-smtp@ietfa.amsl.com
Delivered-To: ietf-smtp@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 3E17F3A0D5F for <ietf-smtp@ietfa.amsl.com>; Sun, 21 Jun 2020 07:53:44 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.851
X-Spam-Level:
X-Spam-Status: No, score=-1.851 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, HEADER_FROM_DIFFERENT_DOMAINS=0.249, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1536-bit key) header.d=iecc.com header.b=bsfbhYH4; dkim=pass (1536-bit key) header.d=taugh.com header.b=YWdE6s7A
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 2_GZ9vmjRD56 for <ietf-smtp@ietfa.amsl.com>; Sun, 21 Jun 2020 07:53:42 -0700 (PDT)
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 756723A0D5E for <ietf-smtp@ietf.org>; Sun, 21 Jun 2020 07:53:42 -0700 (PDT)
Received: (qmail 45040 invoked from network); 21 Jun 2020 14:53:40 -0000
DKIM-Signature: v=1; a=rsa-sha256; c=simple; d=iecc.com; h=date:message-id:from:to:cc:subject:in-reply-to:mime-version:content-type:content-transfer-encoding; s=afeb.5eef7474.k2006; bh=l1DEWy5uvI968mt/r8R0rZHxOKX1PQOgvpPOIy6l7Mk=; b=bsfbhYH4BGefp31TOpqJrhqaq+X6t1a5qrq8xui7H9sUNJD6msOZ4Z57R4kYG/A4U3s8rBEZTUsEXo35vUnP/EIdXv6vKDpphT53bP+UUYDj4e8+MZzlQigrq7I4q/udpw3O2YAP0XRVhuT15EKlePNS8y8O9TFbf1c6HfYArhS342c3NXBrS4nwMNBHgbIUz30zqffwXCKa3DF7NtuyC1vFsT9Pvbd0MEHlohJJt37IiBszv9O64PDMpWvzAc6D
DKIM-Signature: v=1; a=rsa-sha256; c=simple; d=taugh.com; h=date:message-id:from:to:cc:subject:in-reply-to:mime-version:content-type:content-transfer-encoding; s=afeb.5eef7474.k2006; bh=l1DEWy5uvI968mt/r8R0rZHxOKX1PQOgvpPOIy6l7Mk=; b=YWdE6s7AAztNkl7X/uqwbxsa2NZH/c+J2ArRPrfabsPEszCEyeAkXYO7y07z7MwD/PfXo++RZNJ6Imi2JSzXyaDIGjLgRe8/VrwF5ySOAuyQjDQvvQX987IeTqlKghxR3pGL6xlOkqltQOl2f//hBl52SQL4AxvldxzChka7DWLE25QSdWP2MsZPXkR07TBV8nuyCGVUzkKVaHxCMOmwfc9m4EyG62Au5uRbGX7ZIuuIvrz6ENqmvt+Nk/ZYlORE
Received: from ary.qy ([IPv6:2001:470:1f07:1126::78:696d:6170]) by imap.iecc.com ([IPv6:2001:470:1f07:1126::78:696d:6170]) with ESMTP via TCP6; 21 Jun 2020 14:53:40 -0000
Received: by ary.qy (Postfix, from userid 501) id 7364B1B4460D; Sun, 21 Jun 2020 10:53:42 -0400 (EDT)
Date: Sun, 21 Jun 2020 10:53:42 -0400
Message-Id: <20200621145342.7364B1B4460D@ary.qy>
From: John Levine <johnl@taugh.com>
To: ietf-smtp@ietf.org
Cc: arnt@gulbrandsen.priv.no
In-Reply-To: <kzlyExy/3YBZVUSNURxDqMLjYwWYAVGpn6yogCjhITg=.sha-256@antelope.email>
Organization: Taughannock Networks
X-Headerized: yes
Mime-Version: 1.0
Content-type: text/plain; charset="utf-8"
Content-transfer-encoding: 8bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/ietf-smtp/i7yaG64IxF_JiDDsTNb0nzFttgY>
Subject: Re: [ietf-smtp] How wrong is this EAI implementation
X-BeenThere: ietf-smtp@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Discussion of issues related to Simple Mail Transfer Protocol \(SMTP\) \[RFC 821, RFC 2821, RFC 5321\]" <ietf-smtp.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ietf-smtp>, <mailto:ietf-smtp-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ietf-smtp/>
List-Post: <mailto:ietf-smtp@ietf.org>
List-Help: <mailto:ietf-smtp-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ietf-smtp>, <mailto:ietf-smtp-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sun, 21 Jun 2020 14:53:44 -0000

In article <kzlyExy/3YBZVUSNURxDqMLjYwWYAVGpn6yogCjhITg=.sha-256@antelope.email> you write:
>I note that there is no explicit requirement to treat incoming a-labels 
>as equivalent with u-labels anywhere in the EAI RFCs. Which means that 
>you can convert labels before sending, but you cannot rely on the 
>receiver to interpret the result as desired.

I don't think that 5321 requires that bob@example.com and bob@EXAMPLE.COM
be treated the same, either.

Beyond some point, you can't force people to be reasonable.

In the particular case I mentioned, my MTA is Courier which treats
A-labels and U-labels equivalently in mail addresses, but not in
identifiers for authentication.  It was easy enough to add both versions
to the identifer table, but I think I'm going to send a bug report to
roundcube.