[Ietf-dkim] Re: Concerns about the recipe/rollback mechanism and deployment architecture in draft-clayton-dkim2-spec

"Inveigle.net" <cs@inveigle.net> Tue, 17 March 2026 19:16 UTC

Return-Path: <cs@inveigle.net>
X-Original-To: ietf-dkim@mail2.ietf.org
Delivered-To: ietf-dkim@mail2.ietf.org
Received: from localhost (localhost [127.0.0.1]) by mail2.ietf.org (Postfix) with ESMTP id A1629CC79539 for <ietf-dkim@mail2.ietf.org>; Tue, 17 Mar 2026 12:16:40 -0700 (PDT)
X-Virus-Scanned: amavisd-new at ietf.org
X-Spam-Flag: NO
X-Spam-Score: -2.098
X-Spam-Level:
X-Spam-Status: No, score=-2.098 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_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
Authentication-Results: mail2.ietf.org (amavisd-new); dkim=pass (2048-bit key) header.d=inveigle.net
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 3HCuIS7K52k0 for <ietf-dkim@mail2.ietf.org>; Tue, 17 Mar 2026 12:16:40 -0700 (PDT)
Received: from akl.inveigle.net (akl.inveigle.net [103.187.6.191]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-256) server-digest SHA256) (No client certificate requested) by mail2.ietf.org (Postfix) with ESMTPS id A799FCC7952F for <ietf-dkim@ietf.org>; Tue, 17 Mar 2026 12:16:39 -0700 (PDT)
Received: by akl.inveigle.net (OpenSMTPD) with ESMTP id 3ad68573; Tue, 17 Mar 2026 19:16:30 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=simple; d=inveigle.net; h= message-id:date:mime-version:subject:to:references:from :in-reply-to:content-type:content-transfer-encoding; s= thingamajig; bh=QdF1BiwXX0bfvaALGJnPtmUebhM8HzaIACFAwmY0Ejs=; b= i3CAhY7Rv4K15fwnTCzx9tIbEHQN2qCF+tY62SJy34r+pWg107mjlaw00c3Ycpsq LBoQCNRgxKwu2cAtiPXwYqY8nEEYsKoFrglzVA/Cx842ZK2ZTAvfZjg1uZF5xHcN imcq/OVA8gnYtjN7ttiueDExLOAU9zQWiSrSTBzAn8xgblIqGi0l1nWlxzQu1UhL DkCZ8h3G7XeFNs2apNiyFuZ2vf48uqPVIaEAqXWRmjgg2YSmA/iUtaoHbhS8rwJ2 YjV0NKUE0HfO1qsdE77oJnDDTMcT93jYLfCx2RRuxIMZBER3K1en814u14Y/Cv75 5o5EGlk9xcmKx8XGbKQ8Hw==
Received: from [10.0.1.10] (<unknown> [10.0.1.10]) by akl.inveigle.net (OpenSMTPD) with ESMTPSA id 21cada7b (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Tue, 17 Mar 2026 19:16:30 +0000 (UTC)
Message-ID: <a245ea9c-797a-460c-acaf-20f8bb9b76bf@inveigle.net>
Date: Wed, 18 Mar 2026 08:16:30 +1300
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
To: v.moccia@itb.it, ietf-dkim@ietf.org
References: <e68f89452178831fca6f4137e19d4c35@itb.it>
Content-Language: en-US
From: "Inveigle.net" <cs@inveigle.net>
In-Reply-To: <e68f89452178831fca6f4137e19d4c35@itb.it>
Content-Type: text/plain; charset="UTF-8"; format="flowed"
Content-Transfer-Encoding: 8bit
Message-ID-Hash: L73TY5ASNDGUOAHOHQPJCOFEYEXDIJS5
X-Message-ID-Hash: L73TY5ASNDGUOAHOHQPJCOFEYEXDIJS5
X-MailFrom: cs@inveigle.net
X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-ietf-dkim.ietf.org-0; 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: [Ietf-dkim] Re: Concerns about the recipe/rollback mechanism and deployment architecture in draft-clayton-dkim2-spec
List-Id: IETF DKIM List <ietf-dkim.ietf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/ietf-dkim/m_Fl1BTdlZFlg8Dof7oOnVuelKw>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ietf-dkim>
List-Help: <mailto:ietf-dkim-request@ietf.org?subject=help>
List-Owner: <mailto:ietf-dkim-owner@ietf.org>
List-Post: <mailto:ietf-dkim@ietf.org>
List-Subscribe: <mailto:ietf-dkim-join@ietf.org>
List-Unsubscribe: <mailto:ietf-dkim-leave@ietf.org>

On 18/03/2026 2:41 am, Vittorio wrote:
> On deployment realism
> DKIM2 as specified requires meaningful intervention at every node in the 
> delivery chain — not just MTAs, but forwarders, mailing list managers, 
> antispam and antivirus gateways and any other software that adds or 
> modifies headers or bodies. The fact that work is already underway to 
> modify Sympa and Mailman illustrates this concretely. However, the 
> Internet is not composed solely of large providers. A substantial 
> portion of email infrastructure is operated by small ISPs, universities, 
> research institutions, and small businesses for whom a simultaneous and 
> significant technology upgrade of this magnitude is either very slow or 
> simply not feasible. An architecture that requires all nodes to change 
> at once to function correctly is not a network architecture, it is a 
> closed system.

Unfortunately, there has been very little engagement from people on the 
list regarding these concerns. Those I have talked to off the list, 
including SMTP implementers and operators absolutely do share these 
concerns.

> On MTA-level integration requirements
> A further deployment concern is architectural. DKIM2 validation is 
> specified to occur during the SMTP transaction itself — specifically, 
> the envelope binding (mf=/rt= matching against MAIL FROM and RCPT TO) 
> and the 4xx/5xx rejection logic must happen before or during the DATA 
> phase response. This makes the protocol fundamentally incompatible with 
> the milter interface and equivalent plugin architectures (such as 
> Sendmail/Postfix milters, or content filters that operate post-DATA).
> Milter-based solutions are precisely the mechanism by which the existing 
> ecosystem has absorbed DKIM1, DMARC, ARC, SPF checking, antispam and 
> antivirus processing without requiring modifications to core MTA 
> codebases. They represent the extension point that allows small 
> operators to deploy new mail authentication features incrementally and 
> independently of their MTA vendor's release cycle.

As you have hinted at, the changes required in support of the current 
approach are not simply a matter of upgrading the MTA. They would 
require significant architectural changes to many mail systems to the 
extent that they would affect the viability of many smaller operators.

The scope also isn't limited to SMTP itself, as DKIM2 as proposed is not 
a superset of DKIM and does not cater to all existing use cases, in some 
cases necessitating logic changes in scripts that make use of SMTP for 
delivery.

I am not convinced there is any need for mf= or MAIL FROM rewriting at 
all. In the absence of mf= and rollback, the remaining objectives of 
DKIM2 could be implemented as a single call to the milter or filtering 
interface if a simple SMTP extension is used. The requirements can be 
met with the existing milter 6 feature set. This avoids an O(N) 
regression on signing, delivery and storage and caters to existing use 
cases. However, any proposal to use an extension is met with responses 
such as this...

"SMTP extensions are an order of magnitude harder than something that 
just operates on the message", followed up with "that's impressively 
optimistic."

Such comments are disappointing when you consider the extent of 
architectural changes and amount of code necessary, across a diverse 
range of systems, necessary to support the claimed 'simple' approach.

These views are also not consistent with those of SMTP implementers I 
have discussed this with, with all indications being that an extension 
would be easy to implement.

 > I would genuinely like to understand what specific threat or use case
 > the recipe/rollback mechanism addresses that draft-chuang-replay-
 > resistant-arc did not, and why the decision was made to move toward a
 > significantly more complex architecture rather than building
 > incrementally on that prior work. If that discussion has already
 > happened on this list I apologize for the redundancy and would welcome a
 > pointer to the relevant thread.

The motivations for all features beyond replay protection are, in my 
view, poorly justified. Relay protection, DKIMs biggest weakness, is 
easily solved with an extension and the mailing list/privacy forwarder 
mitigations represent a solution in search of a problem. Fixing broken 
software that is not compliant with existing RFC requirements or 
intended behaviour, while tightening up the DKIM validation rules, would 
solve most issues.

Regards,
R. Latimer
Inveigle.net