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

John C Klensin <john-ietf@jck.com> Sun, 03 May 2026 12:59 UTC

Return-Path: <john-ietf@jck.com>
X-Original-To: last-call@mail2.ietf.org
Delivered-To: last-call@mail2.ietf.org
Received: from localhost (localhost [127.0.0.1]) by mail2.ietf.org (Postfix) with ESMTP id 78F4AE844800; Sun, 3 May 2026 05:59:17 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ietf.org; s=ietf1; t=1777813157; bh=Gb7e7rILwKkId3YgdfqjnSU7BRqQHZiAU01jMucMdb8=; h=Date:From:To:Subject:In-Reply-To:References; b=ypjg/Eeg1CKDURHH2U3c5KNpDszI+quEIMKXCUGnv23VK2Ld2vfo8Ho2ErLGwJZ9a AcF3kD2nJC0EBCZkcKgWrwTV0wxcC/7USJ8Ut5re+ueDQ0ce3ji5qXYQjvX34UzEw5 rtmTzBw2USj5Tg4Vn85sBxOFJ9zi3lgnlEv8H8w4=
X-Virus-Scanned: amavisd-new at ietf.org
X-Spam-Flag: NO
X-Spam-Score: -1.898
X-Spam-Level:
X-Spam-Status: No, score=-1.898 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
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 bGcGQq6onz-O; Sun, 3 May 2026 05:59:16 -0700 (PDT)
Received: from bsa2.jck.com (bsa2.jck.com [70.88.254.51]) by mail2.ietf.org (Postfix) with ESMTP id 865B1E844688; Sun, 3 May 2026 05:58:54 -0700 (PDT)
Received: from localhost ([::1] helo=JcK-HP5) by bsa2.jck.com with esmtp (Exim 4.82 (FreeBSD)) (envelope-from <john-ietf@jck.com>) id 1wJWPN-00070a-Uu; Sun, 03 May 2026 08:58:53 -0400
Date: Sun, 03 May 2026 08:58:53 -0400
From: John C Klensin <john-ietf@jck.com>
To: emailcore@ietf.org, last-call@ietf.org
Message-ID: <CA00A6392AA5543CF58AF1E8@JcK-HP5>
In-Reply-To: <afZFREAQccnY23R2@chardros.imrryr.org>
References: <afLDxbSmB-EhfvfZ@chardros.imrryr.org> <593710E3-F462-49DF-AE9A-0EAB8F984851@episteme.net> <CABcZeBOCZ0COccyTHWRgJ3JGGtwC+N63742J1ak2=wOfzqeCZA@mail.gmail.com> <D6470493-E87E-409B-8F2B-C7635E3B7AEF@episteme.net> <CAChr6SxyqaSE5NBUPN1dOwCfm1O_W7A0tEfmwxCpoYsaOLmbfQ@mail.gmail.com> <34E46EE2-88E4-4993-8B15-8269A68104C2@episteme.net> <CAChr6Swnr-ySv5Pp0Byb0W3RU4++_bFpBFOwkv2Q5r3wLTe+sw@mail.gmail.com> <16319092-5fef-4844-bc36-b9d67543c00f@lear.ch> <9609A232-39FC-4D36-9986-1D9D6A4209B5@fugue.com> <10921B0C1B165F7AA5CC4A66@PSB> <afZFREAQccnY23R2@chardros.imrryr.org>
X-Mailer: Mulberry/4.0.8 (Win32)
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
X-SA-Exim-Connect-IP: ::1
X-SA-Exim-Mail-From: john-ietf@jck.com
X-SA-Exim-Scanned: No (on bsa2.jck.com); SAEximRunCond expanded to false
Message-ID-Hash: 63K3KVOOZXY76BROCWOTMJOD3PUPHONY
X-Message-ID-Hash: 63K3KVOOZXY76BROCWOTMJOD3PUPHONY
X-MailFrom: john-ietf@jck.com
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: [Last-Call] Re: [Emailcore] Re: Re: [secdir] draft-ietf-emailcore-as-28 ietf last call Secdir review
List-Id: IETF Last Calls <last-call.ietf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/last-call/czhR3kgVrv-Trg33BcgC6wCfYc4>
List-Archive: <https://mailarchive.ietf.org/arch/browse/last-call>
List-Help: <mailto:last-call-request@ietf.org?subject=help>
List-Owner: <mailto:last-call-owner@ietf.org>
List-Post: <mailto:last-call@ietf.org>
List-Subscribe: <mailto:last-call-join@ietf.org>
List-Unsubscribe: <mailto:last-call-leave@ietf.org>

First, my apologies for the delay in responding.  Was offline
until a short time ago for reasons unrelated to the IETF.
Inline below...

--On Sunday, 03 May, 2026 04:41 +1000 Viktor Dukhovni
<ietf-dane@dukhovni.org> wrote:

> On Sat, May 02, 2026 at 12:45:08PM -0400, John C Klensin wrote:
> 
>> In an odd way, trying to insist on encryption over the whole
>> store and forward path might weaken the ability of the final
>> delivery system to know whether the message was confidential
>> on all prior links ...
> 
> That's not correct, nor is there generally a pressing case for
> a recipient to check whether all transit hops employed TLS,
> especially with TLS not nearly as important on interior hops
> inside the sending and receiving networks, and much more
> relevant on the public network in the middle (though some
> internal networks with WAN links are still a concern).

I'm sorry I brought that up and you are, of course, correct that
it is generally not the case, at least among those of us in
developed countries with good Internet service.  Apologies to
all for doing so.

That said, the subject, including both your comments and
Richard's a few minutes later, identifies another issue that the
A/S does not discuss and possibly should.  It is not clear to me
that it is worth reopening it (or possibly reopening
draft-ietf-emailcore-rfc5321bis (identified just as "5321bis"
below)) for the purpose of developing text and getting it in,
but a review and partial tutorial may be in order.  Apologies in
advance, for those from whom the discussion that follows is
obvious; some of the recent discussions such it may not be
obvious to everyone participating in the discussion.

At the time the current email protocols were defined, and even
with store and forward, they assumed a strong, host oriented,
peer-to-peer, end-to-end model. Mail would move from a machine
under the control of the originator, potentially through
friendly intermediate relays, and then to a host under the
control of the recipient. There were no email providers of much
larger scale than a university or company providing for its own
members or employees. The language of thee standards, and, to a
considerable extent, the protocols themselves are still tied to
that model.

In subsequent years, things evolved. We now talk more about the
administrative domains of sender and receiver. For anyone who
does not know (or remember) the change in what we meant by
end-to-end, there is a good summary, with references to more
fundamental discussions, by the IAB in RFC 3724. While those
changes are reflected in 5321bis with the use of
"administrative domain" terminology in the discussion of the
VRFY and EXPN commands, the protocol definition generally does
not call out the distinction between hosts and administrative
domains.

That change is of practical importance to the present
discussion because, in the current situation in which a very
large fraction of the world's email traffic moves within the
administrative domain of a single large mail provider
("internal hops" in Victor's message) or between the
administrative domains of a pair of such providers, whatever we
have to say about link-level confidentiality is, at once,
important and irrelevant. When mail moves within the
administrative domain of a provider, between two user mailboxes
or relays supported by the provider, confidentiality is the
problem of that provider and most, if not all, providers are
responsible about it. While I gather most use TLS/SSL, as far
as the definitions of SMTP for mail transfers on the public
Interent are concerned, that is just Not Our Problem: not only
are we not involved in whether TLS is used, we are not even
involved with whether SMTP or some other protocol is used for
the transfers.

>From a user standpoint, this can be an advantage especially
when mail moves between two users of the same provider. Those
messages are generally secure and confidential with the largest
threats to that confidentiality coming, not from technical
considerations, but from, e.g., law enforcement or other
governmental demands to provide messages and message content.
If such demands, in the form of subpoenas or otherwise, occur,
the only protection of message content available to the mail
sender or receiver lies in message-level encryption (as now
discussed in the I-D) for which the mail provider does not have
access to the private keys.

Messages sent from a user of one large mail provider to a user
or a different one are not much different. Mail moving between
the administrative domains of the two providers will go over a
direct link between the two, one typically under the control of
the recipient administrative domain. Unless one provider or the
other is constrained by regulations or careless and stupid,
traffic over that link will be protected by TLS or
equivalent... and because they are generally not careless or
stupid, we don't need to tell them to do that (although it
can't hurt and might be symbolically useful).

In a way, that is what Richard's and Victor's recent comments
are about.  By extension of their comments and the ones above,
security and confidentiality will take care of themselves and
we are spending a lot of energy on arguments that make no
difference.

They do make a difference in what, from the standpoint of large
email providerss and their customers, are edge cases. Those
cases include mailboxes that are not provided by large
providers (including mailboxes whose use and confidentiality
arrangements may be restricted by government action)l some
sending systems that are embedded in other applications and
that use email for notifications and for which option
negotiation may be too much overhead or too fragile; and
mailboxes for which delivery paths (specified in MX records)
may involve third parties, not just direct transfers between
two mail administrative domains. Those are the cases where our
specifying the importance of TLS (as the I-D does) is most
valuable. They also include the cases in which our seeming to
encourage or authorize rejection or dropping of messages that
lack adequate confidentiality provisions can be most harmful
(unless we just don't care about those messages being
delivered).

The harm is especially obvious when messages originators
recognize the risks associated with lack of confidentiality
over the various links through which the message might pass,
accept disclosure of cleartext envelope information (if one
thinks about the "postcard" analogy, that is information on the
outside of even a sealed envelope) because there is little
choice in the SMTP framework, and consequently resort to
message-level encryption.  With message-level encryption,
link-level encryption is probably still desirable but
provides little marginal protection.
 
> And when the trace headers are not spammer fiction, they in
> fact often distinguish between clertext and TLS delivery (with
> ESMTP, vs. with ESMTPS, vs. with ESMTPSA).

Spammer fiction or tampered with (for whatever reason) on relay
systems.  And the three protocols mentioned above are out of
scope for the WG and this document.  If people feel that their
being out of scope is not a good decision, let's discuss that
rather than attacking SMTP without mentioning them.

>> If, on the other hand, we add strong language mandating TLS
>> where possible (and, again, I'm heard no one arguing against
>> that), if the relay communicating with the final delivery
>> server receives the message without confidentiality
>> protection, 
> 
> This is not a compelling argument.  Let's not go there.

As I said above, apologies for raising it.

   john