Re: [ietf-smtp] ALPN

Ned Freed <ned.freed@mrochek.com> Fri, 30 July 2021 14:05 UTC

Return-Path: <ned.freed@mrochek.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 822BB3A2B57 for <ietf-smtp@ietfa.amsl.com>; Fri, 30 Jul 2021 07:05:54 -0700 (PDT)
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 (1024-bit key) header.d=mrochek.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 iVFrrIIldxqv for <ietf-smtp@ietfa.amsl.com>; Fri, 30 Jul 2021 07:05:49 -0700 (PDT)
Received: from mauve.mrochek.com (mauve.mrochek.com [98.153.82.211]) (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 DA2F23A2B55 for <ietf-smtp@ietf.org>; Fri, 30 Jul 2021 07:05:49 -0700 (PDT)
Received: from dkim-sign.mauve.mrochek.com by mauve.mrochek.com (PMDF V6.1-1 #35243) id <01S2069M1O9C008COI@mauve.mrochek.com> for ietf-smtp@ietf.org; Fri, 30 Jul 2021 07:00:46 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mrochek.com; s=201712; t=1627653645; bh=NOZldP8IhL1m8guik83H3nmq6m6OPjwMORrmqbF+zEQ=; h=Cc:Date:From:Subject:In-reply-to:References:To:From; b=pPIYIJ5xJdk/YDMHgWUQD9qrxO0JC6kPNTbjS0hpM85DTC1HJHQmsVcuKRe1ER5BP SlU/Y4O1OMvoWBaYW5fNtKjB99RKO7szSKAd5L/vPUUV1gq1l7hs+CqKwoM98Z20Hn RCuvmeT0+5EniCGbpv6T9FIes+jxSm8khmJ1NXNQ=
MIME-version: 1.0
Content-transfer-encoding: 7bit
Content-type: TEXT/PLAIN; CHARSET="us-ascii"
Received: from mauve.mrochek.com by mauve.mrochek.com (PMDF V6.1-1 #35243) id <01S1LCO8JIDC005PTU@mauve.mrochek.com>; Fri, 30 Jul 2021 07:00:44 -0700 (PDT)
Cc: ietf-smtp@ietf.org
Message-id: <01S2069KU5ZC005PTU@mauve.mrochek.com>
Date: Fri, 30 Jul 2021 06:56:57 -0700
From: Ned Freed <ned.freed@mrochek.com>
In-reply-to: "Your message dated Fri, 30 Jul 2021 00:46:09 -0400" <YQOEEZ1JuOBzTap5@straasha.imrryr.org>
References: <20210729070230.GA30507@kiel.esmtp.org> <20210729185712.CEE1A254C9C0@ary.qy> <YQOEEZ1JuOBzTap5@straasha.imrryr.org>
To: Viktor Dukhovni <ietf-dane@dukhovni.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/ietf-smtp/ujrJOLWTBKxlwqMWwP_Y4cRR8VI>
Subject: Re: [ietf-smtp] ALPN
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: Fri, 30 Jul 2021 14:05:55 -0000

> On Thu, Jul 29, 2021 at 02:57:12PM -0400, John Levine wrote:

> > >Since there are already IDs for IMAP and POP3, it seems we are down to
> > >3 (+SMTP) or 4 (+SUBMIT) unless we want to break existing applications?

> I'd prefer to see "SUBMIT" as a separate ALPN value from "SMTP".

As would I. A clean separation is always a good idea.

> > Given that clients often don't know whether they're talking to an SMTP or a submission
> > server,

> In fact they almost always do, because "SUBMIT" generally requires
> authentication, and SMTP relay does not, and the separate ports also
> help.

> > and servers don't know which one they are or maybe both, one ALPN would be plenty.

> Submission servers are explicitly configured to accept outbound mail,
> and it has been best practice for quite some time to not implement
> submission on port 25, leaving that to 587, and more recently also 465.

> > It's still pretty common for a server to offer SMTP on port 25, which
> > turns into submission if the client authenticates.

> This is a no longer recommended and diminishing practice.

>     - An MUA can always use the "SUBMIT" ALPN value.

>     - An occasional MTA that is configured to relay outbound mail
>       via a submission server, and has been updated to use ALPN,
>       can be configured to use "SUBMIT" when appropriate.

I also don't see how this practice, which I agree is diminishing, is especially
relevant to ALPN assignment. If you really want to do this in an ALPN context -
I have no idea why - you can always use the SMTP ALPN to do it.

				Ned