[Emailcore] Re: [Last-Call] Re: Re: Re: Re: Re: Re: Re: draft-ietf-emailcore-as-28 ietf last call Secdir review

Michael Richardson <mcr+ietf@sandelman.ca> Thu, 07 May 2026 16:28 UTC

Return-Path: <mcr+ietf@sandelman.ca>
X-Original-To: emailcore@mail2.ietf.org
Delivered-To: emailcore@mail2.ietf.org
Received: from localhost (localhost [127.0.0.1]) by mail2.ietf.org (Postfix) with ESMTP id B0C4BEAAD98C for <emailcore@mail2.ietf.org>; Thu, 7 May 2026 09:28:22 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ietf.org; s=ietf1; t=1778171302; bh=krrXtQdvwyGc2ds7Ou8P9rTvNLEExhFatj3vS5DU1pg=; h=From:To:Subject:In-Reply-To:References:Date; b=hiiLrgGMtWxG6OCiycd1MEIL849XCYWNE1UiQdq6Vx/a4P3iF23SCHWiN0XV1N2+w NM3MOVNNQmFiyroyIOzRxlO9iW/lgaFMp1BhjjGk+2LiDsHa5Uo67aO/9cJh65rM5o ++VOMRLACMPhuxoUIv8Txy4yGMfdkXdFEZoMO4ic=
X-Virus-Scanned: amavisd-new at ietf.org
X-Spam-Flag: NO
X-Spam-Score: -2.8
X-Spam-Level:
X-Spam-Status: No, score=-2.8 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, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: mail2.ietf.org (amavisd-new); dkim=pass (2048-bit key) header.d=sandelman.ca
Received: from mail2.ietf.org ([166.84.6.31]) by localhost (mail2.ietf.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 9KGGI83-6LoS for <emailcore@mail2.ietf.org>; Thu, 7 May 2026 09:28:18 -0700 (PDT)
Received: from tuna.sandelman.ca (tuna.sandelman.ca [IPv6:2607:f0b0:f:3:216:3eff:fe7c:d1f3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-256)) (No client certificate requested) by mail2.ietf.org (Postfix) with ESMTPS id 56C6FEAAD272 for <emailcore@ietf.org>; Thu, 7 May 2026 09:26:00 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by tuna.sandelman.ca (Postfix) with ESMTP id EF2EE1800E for <emailcore@ietf.org>; Thu, 07 May 2026 12:25:59 -0400 (EDT)
Received: from tuna.sandelman.ca ([127.0.0.1]) by localhost (localhost [127.0.0.1]) (amavis, port 10024) with LMTP id c8GITBcHZMkE for <emailcore@ietf.org>; Thu, 7 May 2026 12:25:58 -0400 (EDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sandelman.ca; s=mail; t=1778171158; bh=6fMsdAvMPvdr13ynKKrTZ3xDxpfpF/Qx/tds9C3OGvY=; h=From:To:Subject:In-Reply-To:References:Date:From; b=YkiDFS4WinlzGoWS02BixQQ9GJ0M1i8vzAiEE2pRLJV/BUYaEsM87yCyRwQFRJZX3 1xClB2mhTxdY3JVBJl2SqjOtzV7gw4QGVuQaUSg0llf4tFjS/M+DMgQ3t4gqSwlxa6 LzbKPBXCZgMLhD1NE1HRWjfZs2nYlz9/TFcfR9VQ/pV+9kXnXJNMWE5I9k5t26v4zu 02U8ttYw8gi4XZ2ykoko/ggTuZbCYjxHQ4q9/cbLRmq5cgH6/F0DjGWaZ8baq41RWo 6jctZkijHuMktSVPsvMishxubwvTuI94brRYZlHlx2D0/ukROJnCVxxb2kbE7mf5l4 0KKYkmMuIfJOQ==
Received: from sandelman.ca (obiwan.sandelman.ca [IPv6:2607:f0b0:f:2::247]) by tuna.sandelman.ca (Postfix) with ESMTP id 28D3E1800C for <emailcore@ietf.org>; Thu, 07 May 2026 12:25:58 -0400 (EDT)
Received: from obiwan.sandelman.ca (obiwan.sandelman.ca [127.0.0.1]) by sandelman.ca (Postfix) with ESMTP id 24B76180 for <emailcore@ietf.org>; Thu, 07 May 2026 12:25:58 -0400 (EDT)
From: Michael Richardson <mcr+ietf@sandelman.ca>
To: emailcore@ietf.org
In-Reply-To: <afxmzSiWlk-pMd0C@chardros.imrryr.org>
References: <32942A82C95F3FBDE8132D7B@PSB> <CAChr6SyyBmNtuwoM0tejT_5hetohrNnOXoM-88CrZ9-UAZjGWg@mail.gmail.com> <B2BADFC33739FA118D4D4EB6@PSB> <CAChr6Syxdt3JG6_6d87Mfd4t1UVfQ-aW51VMf6bnH4xRk7-nbw@mail.gmail.com> <8F1880CFA7BAB5F0684B1A74@PSB> <CAChr6SypYG3x2XkGfRfDGQLFFBvxdVa77qVoUL+x40m0RDHTUA@mail.gmail.com> <227DBC1076C6E2FD24C47E7A@PSB> <CAChr6SwYY2dY9poCH+n-=J3dbUGHM=voeEkyj3TwwhiDRwkV-w@mail.gmail.com> <8cdce338-a586-4ab0-8349-c100188a72ca@it.aoyama.ac.jp> <b1a9ef51-2e97-4835-ae88-a098ee12df1a@lear.ch> <afxmzSiWlk-pMd0C@chardros.imrryr.org>
X-Mailer: MH-E 8.6+git; nmh 1.8+dev; Emacs 30.1
X-Face: $\n1pF)h^`}$H>Hk{L"x@)JS7<%Az}5RyS@k9X%29-lHB$Ti.V>2bi.~ehC0;<'$9xN5Ub# z!G,p`nR&p7Fz@^UXIn156S8.~^@MJ*mMsD7=QFeq%AL4m<nPbLgmtKK-5dC@#:k
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-="; micalg="pgp-sha512"; protocol="application/pgp-signature"
Date: Thu, 07 May 2026 12:25:58 -0400
Message-ID: <10556.1778171158@obiwan.sandelman.ca>
Message-ID-Hash: X2EFEDG6S6E4JCYDC4J3DY6K4WNIZVIW
X-Message-ID-Hash: X2EFEDG6S6E4JCYDC4J3DY6K4WNIZVIW
X-MailFrom: mcr+ietf@sandelman.ca
X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header
X-Mailman-Version: 3.3.9rc6
Precedence: list
Subject: [Emailcore] Re: [Last-Call] Re: Re: Re: Re: Re: Re: Re: draft-ietf-emailcore-as-28 ietf last call Secdir review
List-Id: EMAILCORE proposed working group list <emailcore.ietf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/emailcore/i7DAvN5li_KiqyZ26BYeVNpt_Yo>
List-Archive: <https://mailarchive.ietf.org/arch/browse/emailcore>
List-Help: <mailto:emailcore-request@ietf.org?subject=help>
List-Owner: <mailto:emailcore-owner@ietf.org>
List-Post: <mailto:emailcore@ietf.org>
List-Subscribe: <mailto:emailcore-join@ietf.org>
List-Unsubscribe: <mailto:emailcore-leave@ietf.org>

Viktor Dukhovni <ietf-dane@dukhovni.org> wrote:
    >> We can make clear that the first is a matter of local policy, and we
    >> can make clear that whether this is code or configuration is not
    >> subjecting to MUSTs.  That's why I offered the following alternative:
    >>
    >> > What email to drop *MUST* be considered a local policy decision in >
    >> accordance with a wide range of administrative needs.   Accepting
    >> email > that does not use STARTTLS is no exception to this rule. 
    >> Local policy > choices [may/*MAY*] be implemented in code, but are
    >> often implemented as > configuration for versatility's/generality's
    >> sake.  At the time of this > writing, a substantial installed base
    >> does not use STARTTLS, and > therefore those not permitting email
    >> without STARTTLS should expect to > drop at least some mail.
    >>
    >> This text would go along with servers MUST support STARTTLS, and
    >> clients MUST use STARTTLS, when available.

    > This entirely misses the point of the A/S, which makes it clear that
    > **support** for cleartext is required from implementations of MTAs that
    > are intended to match the A/S profile.  If a user of that MTA then
    > configures it to reject non-STARTTLS mail, that's the user's choice.

What I want/need and I suspect others do as well, is some facilities in MTA software:
1. ability to demand (or allow bypass) of STARTTLS on a per-IP address basis.
   The bypass specifically allows an operator to accept email from legacy
   devices.   Like the full-size multifunction scanner I had in my previous
   office that would email the scanned documents as PDFs.

   (That device would still be around, but COVID related rightsizing means
   it's in a closet somewhere.  It was physically large.)
   Yes, we told the device to punt to the local-LAN smarthost, and that
   smarthost did STARTTLS with the external email provider.  Not everyone can
   set that up.  Given NAT44, IP address based filtering like this would
   likely be impossible.   But that scanner did do IPv6...

2. ability to demand that some mailboxes only get STARTTLS, and if the sender
   didn't do that, then the mailbox probably does not exist.  Or..more variations.

3. potentially the same things again with per client-certificate
   sub-policies.  client-certificate based policies potentially get around
   the NAT44 filtering problem, but obviously, require STARTTLS.

While all of these things are **local policies**, I think that everyone would
benefit from signals from the MTA(s) to the MUAs as to what happened.
Configuring client-certificate policies is made easier if the way by which
one describes the client (a fingerprint/AKI is common) is somewhat standard.

{Much of what I describe above is already possible in some systems, but the
ways in which it can be combined, explained, is very uneven.  So it's harder
for customer/operators to communicate this well to suppliers}

Reading through Received: lines is doable for an expert human, but
fundamentally one can only trust the headers added by the last hop MTA.
Human clue/suspicion is needed here to decide how if some information has been faked.
This is where I'd like the standards process to go.

    > None of this changes the protocol (5321bis), or imposes requirements on
    > implementations outside the A/S profile.

I wish we had a series of headers that were clearly hop-by-hop headers, and
that *all* receiving MTAs had always been removing.   It's probably far far
too late to create such a thing, but I'd love to be proven wrong.

--
Michael Richardson <mcr+IETF@sandelman.ca>   . o O ( IPv6 IøT consulting )
           Sandelman Software Works Inc, Ottawa and Worldwide

**       My working hours and your working hours may be different.         **
** Please do not feel obligated to reply outside your normal working hours **