As I said in the in-person meeting On Tue, Nov 17, 2026, at 05:33, Viktor Dukhovni wrote: > Taking a close look at the current DKIM2 I see some opportunities for > simplification. > > I am reluctantly willing to take it as given that replay of already > signed messages is a practically significant issue for at least some of > the larger providers, and that this warrants signing their mail with > DKIM2, allowing receiving systems to detect unauthorised replays. > > That said, much of the complexity of the design is a result of the > design also attempting to authenticate bounces of messages that > might have been modified in transit. This major redesign of > the reverse path is, at least for me, a bridge too far. Is this > absolutely necessary? The cure looks worse than the disease.
It's not a major redesign, I think - it's "set the return-path to something you own when you sign the message" along with "you sign the message when you change the destination address(es)". This does indeed mean that you have to handle asynchronous bounces for messages which transited your system. The alternative is backscatter and the ability to generate bounce fraud. > So I'd like to see DKIM2 slimmed down, to just make the minimal > requisite forward-path changes, and leave the reverse path alone. I'd be interested in seeing a draft for this, along with an analysis of how it handles backscatter safely and allows receiving systems to delay their decisions until after the connection has been dropped. The design constraint of "allow delayed bounces" was added to avoid greylisting, allow faster delivery to mailboxes while still allowing "undo" if the mail is later discovered by analysis of similar deliveries to be bad - particularly for people in jurisdictions where they MUST NOT discard messages, this allows them to pull it back out of the Inbox and return it to sender reliably (or say "I tried and they rejected it") > Secondly, I'd like to suggest that this is not a one-size-fits-all > design. Its complexity is heavily weighted towards the problems faced > by the largest providers who offer free or low-cost services to all > comers. Many domains (e.g. my own), have no need to be concerned with > message replays. I don't host any users who author messages that > an attacker would find profitable to replay. Perhaps but having to distinguish your messages grows the grey area of "hard to distinguish mail" which makes spam scanning harder. A design goal of DKIM2 is to reduce the grey area in which bad actors can make themselves indistinguishable from wanted email to automated scanners. > With that in mind, I'd like to suggest that email systems that have no > need for the additional anti-replay protection be able to opt-out of > that feature set entirely, and should be able to sign just the > message-content, sans envelope, when that meets their needs. This > substantially reduces complexity, and supports continued delivery of > multi-recipient mail without disclosing Bcc recipients in the message > payload. Opt-out adds complexity to everyone's systems, I'm happy to see a complete alternative design and a security analysis of how it works and protects against the known attacks that exist now with DKIM replay, ARC sandwitching, and backscatter attacks. > I think we can have a more flexible design that still supports the > ostensible real needs of the large providers, without unnecessarily > burdening the entire ecosystem with the same concerns.. I look forward to seeing the design. Bron. -- Bron Gondwana, CEO, Fastmail Pty Ltd / Fastmail US LLC [email protected]
_______________________________________________ Ietf-dkim mailing list -- [email protected] To unsubscribe send an email to [email protected]
