Re: [ietf-smtp] Make username optional in email addresses

"Peter J. Holzer" <hjp-ietf-smtp@hjp.at> Sat, 18 February 2023 09:53 UTC

Return-Path: <hjp-ietf-smtp@hjp.at>
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 5E3E7C14CE55 for <ietf-smtp@ietfa.amsl.com>; Sat, 18 Feb 2023 01:53:30 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.896
X-Spam-Level:
X-Spam-Status: No, score=-1.896 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id s7YUN---3hNi for <ietf-smtp@ietfa.amsl.com>; Sat, 18 Feb 2023 01:53:24 -0800 (PST)
Received: from rorschach.hjp.at (mail.hjp.at [212.17.106.138]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 1D777C14CE4C for <ietf-smtp@ietf.org>; Sat, 18 Feb 2023 01:53:23 -0800 (PST)
Received: by rorschach.hjp.at (Postfix, from userid 1000) id 0BAB416BAB; Sat, 18 Feb 2023 10:53:20 +0100 (CET)
Date: Sat, 18 Feb 2023 10:53:20 +0100
From: "Peter J. Holzer" <hjp-ietf-smtp@hjp.at>
To: ietf-smtp@ietf.org
Message-ID: <20230218095320.ejk4gfawojzezg2h@hjp.at>
References: <CAG6nNWe_7-JN4mzTcsfHBj-cO9qO8twXr+GOg=kiQ8e5XataPA@mail.gmail.com> <1866188dd88.2923.9bfe8bcc586ac955e423c0e3d5444448@pscs.co.uk> <991973.1676691843@turing-police>
MIME-Version: 1.0
Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="l6jlwpd35zwimxpj"
Content-Disposition: inline
In-Reply-To: <991973.1676691843@turing-police>
Archived-At: <https://mailarchive.ietf.org/arch/msg/ietf-smtp/yc1oKtl0LTZdjSWfXIDtmC1Pbrk>
Subject: Re: [ietf-smtp] Make username optional in email addresses
X-BeenThere: ietf-smtp@ietf.org
X-Mailman-Version: 2.1.39
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: Sat, 18 Feb 2023 09:53:30 -0000

On 2023-02-17 22:44:03 -0500, Valdis Klētnieks wrote:
> On Fri, 17 Feb 2023 22:40:05 +0000, Paul Smith said:
> > In the same way that Web browsers will "autocomplete" a URL of
> > "example.com" to "https://www.example.com", a compliant email client could
> > "autocomplete" an email address of "example.com" to "something@example.com"
> 
> And how does the client know that it should auto-complete  and it isn't looking
> at a local username that happens to have a period in it?

If it's in a mailto: URI, it is simple: That needs to be globally
usable and not just locally, so mailto:example.com must be a shorthand
for mailto:something@example.com, not maito:example.com@somedomain.

(Same for other situations where a complete email address is expected)

If the user is typing the name, it is ambiguous. But here you are in an
interactive situation. The MUA could for example do a DNS lookup,
consult the local address book and maybe even perform some heuristics to
choose the most likely option and still let the user override it.


> (A quick look at this mail's From: line should convince you that local parts with a
> dot in them do in fact exist. :)

Yeah, the format firstname.lastname is very common.

        hp

PS: I don't really see the value of the proposition. Like many other
people who have their own domain (and run their own mail server) I
already have lots of different mail addresses for different purposes.
Being able to specify just hjp.at instead of hjp@hjp.at (or i@hjp.at, if
I wanted to be ultra-short) doesn't make my life simpler. On the
contrary - it would cause a lot of confusion if I gave out something
which just doesn't look like an email address.

-- 
   _  | Peter J. Holzer    | Story must make more sense than reality.
|_|_) |                    |
| |   | hjp@hjp.at         |    -- Charles Stross, "Creative writing
__/   | http://www.hjp.at/ |       challenge!"