[art] Re: email: message/rfc822 (RFC 2046) MIME parts are defunct
Nathaniel Borenstein <nsbnsb@gmail.com> Tue, 28 July 2026 12:52 UTC
Return-Path: <nsbnsb@gmail.com>
X-Original-To: art@mail2.ietf.org
Delivered-To: art@mail2.ietf.org
Received: from localhost (localhost [127.0.0.1]) by mail2.ietf.org (Postfix) with ESMTP id 9E2D211FCE2FC for <art@mail2.ietf.org>; Tue, 28 Jul 2026 05:52:18 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ietf.org; s=ietf1; t=1785243138; bh=kiJHvyNT7RsOBuYJVkg/8dEqmOvBtqMhUxil2lVXkc8=; h=References:In-Reply-To:Reply-To:From:Date:Subject:To:Cc; b=Fsa5D+OPFgFaiUSb0k19r2+z7aa/Ik0Rmslp4SGvOyp5kpmzUGKeKfks0lplt5d/1 XXbZ6/gQvcRSDVUX4UhrI+U8rtA0r69CcdNRqBSMXnsQ4xOO0JvV0qEdb7e224MqGd vUbHoXxZo+pzkiZLGp8LZh9riXZSqxCgEd0y/tBQ=
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, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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=gmail.com
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 ohJK8jlz5oDh for <art@mail2.ietf.org>; Tue, 28 Jul 2026 05:52:18 -0700 (PDT)
Received: from mail-lf1-x131.google.com (mail-lf1-x131.google.com [IPv6:2a00:1450:4864:20::131]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature ECDSA (P-256) server-digest SHA256) (No client certificate requested) by mail2.ietf.org (Postfix) with ESMTPS id E97EA11FCE2F5 for <art@ietf.org>; Tue, 28 Jul 2026 05:52:17 -0700 (PDT)
Received: by mail-lf1-x131.google.com with SMTP id 2adb3069b0e04-5b01cb18515so3361436e87.2 for <art@ietf.org>; Tue, 28 Jul 2026 05:52:17 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; t=1785243137; cv=none; d=google.com; s=arc-20260327; b=E8iR4Iu7lY/CxDXOcGY20raoxCeFQs65uDB3Q+agVcwNtj46TBG/THOwxmXCCEZZun PT1XBd7yDCdLvz/xVVl4wUrLZQwCiIrDKDhJV++bvAN1SmHjzSbBKZgXWD5BMT7lMu+I 2pv/ZuRzsZ7OEiq6CFK6YxMCrGEANEee0PUIvgyou2SZOUoAiUWgzYtT3MnNj6I9OAfQ yU3/19aZ5qA3RFOs2WGqokiCfWPB9tDeIW2iIm+FbnP1Hg4ymXq5IVFYmQUGnWJv3OPR 91tqAObhvGAXHanUOU8i4o+DQKiXsvm7Io0Ikjg5Rkqy157NcrgskpV0OG4UqWA97GsZ BAtA==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20260327; h=cc:to:subject:message-id:date:from:reply-to:in-reply-to:references :mime-version:dkim-signature; bh=7dpYFQ2E2UI8gnQSP2SbfaxhSlx6NjRZNfFdaa66w2A=; fh=b8dWyYsuws/vH+LjBsAT3jh7G4K/SrDSEUXFGPkqiaE=; b=maej8OwTbwtJuSU4fIXvK2m8ALFC5B3w/7b03iYXZxHZ7xDMY/HJKx6pF4wmosmGsn osVIqSwD3+k+0M++5pXaGoYb4j+nOwwzIwPGnEQaz0/co56QJGSuCvVmcvt8X9G7p6dh vwVOkhQyFxXl7rHyaWsvhw9GxNdNnonZoWUDuKKTQgYqGwarD9x6KNNYn6JsEp8ztoAO 8MxH+S0eg6hLnP/76cnpcwaJnrbn6aazqHp8Jlb7o74rej9OO6k+TFaxjvCgovYuKzsA 9knlGtY7F2NArnGGoU9YNq9SmrgHRKmFJ7CkYtIMRWbfRDAD1Bq/1lVNM6YlTAOpjadm 7EAw==; darn=ietf.org
ARC-Authentication-Results: i=1; mx.google.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1785243137; x=1785847937; darn=ietf.org; h=content-type:cc:to:subject:message-id:date:from:reply-to :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to:content-type; bh=7dpYFQ2E2UI8gnQSP2SbfaxhSlx6NjRZNfFdaa66w2A=; b=VHinaww4PcET0xB0d0UzQSK6e8DeON5x6fBoiY7+1tTqSQHJ4qAzI4NtijWYv1TR+X w6ocERqBGiWIMx4UcVD6/0YN/RrJIEgMlruI68UCuJp2f26epLwqtl6KnLjTAwCqcyw5 lcytBvajPn1wZa+80/ve/Iu2bMOY2aKhDgn294VJgrN3anjVJyOPJRMG/30fMEW6BfQj JLiHCETJ5MWSc/afxrHKXUUQXAK5x4l3O4tF+7OMqsjb69YGYix7blk4Ajx0HKatySaR qVeUutSYrtdNFwWBTUXLsOPAH4RF+3guwRSWFeTU+osqMqooRKDqIqn4ykXEJnSaIVsN 5URg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1785243137; x=1785847937; h=content-type:cc:to:subject:message-id:date:from:reply-to :in-reply-to:references:mime-version:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to:content-type; bh=7dpYFQ2E2UI8gnQSP2SbfaxhSlx6NjRZNfFdaa66w2A=; b=A1XAhZrS2ogRmz9mCLxLEJQnzjQckK2bOfdZsW7ADDP3H5jDPTKULWgo1KFCapVmma JwQkmgqsaEeMTPpDBTGpl/NhpoYeHhMBG0CBYhcD33pKpVIuvUoWV2xk0PQAa78gncDn 9p4iW6D3qI2wxA49XTTdyPR28+wPnoXk3J02L/J3O8g7nxmF9TY5lUGF/wwJNynINrT8 /cGW1MQ8skt0f0XBFbkx+FqHORFyYBeuc/4m9D6exc6llgrxUCANeSmLyWB1j9zqWSZf TmlqEF04P3f2TNIQHT80+VpVtF3iFd7T2w0BCiKtFnkgGarbtXSHW2YTtaGrcy0e5PFr c9cQ==
X-Forwarded-Encrypted: i=1; AHgh+RrIVq6pncGnoOplBEI1uy/U513EmcNdohQYPNJ3StASjmzFMkSXgG7g9lppmeyRIvZUp4s=@ietf.org
X-Gm-Message-State: AOJu0YzJjvsYbnzJKCTsMXWYk7+9EN2vCfVkcBw6L+WrLTzCLeoT7PYI ykHhFUWpHXzQuKvfzqr6SkoO7XTz4Uns1qcTyjr5YuNGiknRrIczMtT6cm0FNuwXn/un7NcS5Ps 4CThmd2L6fd3L0LxnxGYPFVMaQE5mzi4Hf7Gb
X-Gm-Gg: AR+sD13aBUO7k+4xyLcm2epD2Qy41nf2xWUdW5GEAdYdCQvVNrW64h+f1hqSdkO4kHa C+5KbHb6S2vG02hrrzOaCh+obpH89GSmqPjS96Yl0QlWdftDr6bGHK76wOjrDvKfyUECCLPL/lR b6fxx9nfGO5quvdey37wKGBbFQr2ATBzVj84N4ond6N2OqagbThFtHU7t7nOg9mTwbtMk4JwNSu 7FhY4XlWuORliAKdOuou2VUZ1Ls5mqOmtwudKM2Ou9y/zpsFqnvB/yAAaC417bgurBkunRvsx/h iQphuaFpW4VcZJ2l7yDA1vm6IFb7
X-Received: by 2002:a05:6512:3ba9:b0:5b0:1ace:3bc7 with SMTP id 2adb3069b0e04-5b2d02512bemr600292e87.31.1785243136376; Tue, 28 Jul 2026 05:52:16 -0700 (PDT)
MIME-Version: 1.0
References: <20260727201900.Pyvfb1fu@steffen%sdaoden.eu> <9DD86E98758DCBC2948FC593@PSB>
In-Reply-To: <9DD86E98758DCBC2948FC593@PSB>
From: Nathaniel Borenstein <nsbnsb@gmail.com>
X-Gm-Features: AUfX_mxqd3R4LG5p1S3H3kcIDh5tG9Dw5ftttpjfh1A4UIj2WDkHVp5DwBqfi64
Message-ID: <CAP-k+n=8pbP4Ue_53xk-K_Kqu-=JeaA5+bXmq=+BYAWPtH5qFw@mail.gmail.com>
To: John C Klensin <john-ietf@jck.com>
Content-Type: multipart/alternative; boundary="000000000000fb42da0657ab4e75"
X-MailFrom: nsbnsb@gmail.com
X-Mailman-Rule-Hits: nonmember-moderation
X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-art.ietf.org-0; header-match-art.ietf.org-1
Message-ID-Hash: UJMDX4R7TGHA4L2ZIBMRAFW2PSUXZD7Z
X-Message-ID-Hash: UJMDX4R7TGHA4L2ZIBMRAFW2PSUXZD7Z
X-Mailman-Approved-At: Wed, 29 Jul 2026 14:13:09 -0700
CC: art@ietf.org
X-Mailman-Version: 3.3.9rc6
Precedence: list
Reply-To: nsbnsb@gmail.com
Subject: [art] Re: email: message/rfc822 (RFC 2046) MIME parts are defunct
List-Id: Applications and Real-Time Area Discussion <art.ietf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/art/dApLBeIdbbNVDMhbhOBuEqrA084>
List-Archive: <https://mailarchive.ietf.org/arch/browse/art>
List-Help: <mailto:art-request@ietf.org?subject=help>
List-Owner: <mailto:art-owner@ietf.org>
List-Post: <mailto:art@ietf.org>
List-Subscribe: <mailto:art-join@ietf.org>
List-Unsubscribe: <mailto:art-leave@ietf.org>
Date: Tue, 28 Jul 2026 12:52:18 -0000
X-Original-Date: Tue, 28 Jul 2026 08:51:59 -0400
* Nathaniel, any additional or contradictory thoughts?* Not really. A cleanup is undoubtedly a good idea. However, it has been years since I was intimately involved with day-to-day email management, so I have no real insight into what is common practice these days. Neither do I have the time to get deeply involved in such an effort, though I will read any discussions and contribute if I have something to add. It seems like there's a larger problem here. If IETF work is primarily done nowadays by people working in the interests of their employers, who is sufficiently motivated to put the work into a cleanup like this? -- Nathaniel On Mon, Jul 27, 2026 at 6:42 PM John C Klensin <john-ietf@jck.com> wrote: > Steffen, > > > --On Monday, July 27, 2026 22:19 +0200 Steffen Nurpmeso > <steffen@sdaoden.eu> wrote: > > > Hello. > > > > Via some DKIM mail exchange i was reminded of a finding that was > > not reported anywhere, as far as i know. I would not know how to > > proceed anywhere else. > > > > The problem is that RFC 2046 has a technical deficit in that it > > defines for message/rfc822 MIME parts (attachments) only the > > content-transfer-encodings 7bit, 8bit, and binary (whatever this > > actually is). > > Ok. The spec is showing its age. FWIW, I see rather little use of > message/rfc822 or of multipart/digest (which requires it). Section > 5.2.1 of RFC 2046 is also quite clear that conformance to RFC 822 is > not required and I read that section as implying that headers > introduced with 5322bis or intervening specs are just fine. And it > does also point to RFC 2047 for non-ASCII header fields. I do see > a couple of problems here, see below. > > > This (effectively) means it puts trust in the correctness of the > > data that is stored via message/rfc822. > > But this might not be the case. > > I'm not sure what you are suggesting. Absent some sort of > signatures, I don't know why one would especially "put trust" in any > MIME body part. > > > I know of two MUA implementations, one this year has its 30 > > anniversary, and is the most widely used console based MUA in the > > UNIX world, used heavily by all kind of developers -- all that as > > far as i know -- which follow this advice of RFC 2046 exactly, by > > having special code paths, and not performing deep data inspection > > beyond the "high-bit-set" kind of thing. > > I would expect most other software to likewise honour the RFC, > > message-preparation-wise. > > > > One can send with that software emails with message/rfc822 > > attachments which will be misinterpreted by the software itself. > > (Thus.) Also obeying stricter parsing rules as of POSIX or RFC > > 4122 do not change the overall problem. (If used at all.) > > > > That is to say that even an "errata" that states that other > > content-transfer encodings (base64 and quoted-printable, say) may > > be used will take a lot of time to be implemented and distributed. > > And MIME parts created with such an updated definition may not be > > interpreted correctly by elder software, anyway. > > Right. Partially for those reasons, I'd assume that an errata as you > suggest would be marked for "Hold for Document Update", which would > do no good at all. See below. > > > I want to point out that at least the elder Mailman2 mailing-list > > manager, which "drove my perceived email world", offers DMARC > > mitigations which turn messages into such attachments. > > And that it can optionally create MBOX databases which store the > > entire history of a mailing-list. (I myself make use of that.) > > The underlaying problem as such is known to cause failures even in > > the most modern software (like "public inbox"). > > > > For the software i maintain the next release will perform deep > > inspection and turn such message/rfc822 into text/plain with an > > .eml filename, and a proper content-transfer-encoding. > > This is a hack. > > A hack, but a plausible one. > > > What could be done, i do not know. A new message/5322 or what, > > and with deep-inspection and any content-transfer-encoding, as > > desired, maybe. Reencoding message content as such is for one > > a complicated task that only few codebases would be capable to > > perform properly for one, and it also changes any signature, of > > whatever sort. > > >... > > Well, from my point of view, this seems to call for an update to RFC > 2046. That might either > > * expand the definition of text/rfc822 to allow for 8BITMIME and > probably get rid of the RFC 2047 reference and replace it with a > discussion and pointer to the SMTPUTF8 specs (or keep it and explain > and supplement it with such a reference. > > * or introduce a new media type (along the lines of message/rfc5322 > although I'd hope for a name that would not tie us to a particular > version of the header spec, maybe message/imf or the like. That > option would probably require tuning the definition of > message/digest, etc., as well. > > I think the main obstacles to either would be someone volunteering to > do the work. One might ask MEDIAMAN or MAILMAINT to take it up, have > a conversation with an appropriate AD, or plan on a DISPATCH effort > for the next IETF. > > I'd personally love to see an update to the MIME specs to do some > housekeeping and bring them to Internet Standard. Those documents > have held out remarkably well in the 30 years since they were > published but I'm guessing that, if you or others looked carefully, > you'd find other things in need of be tuning by now. I'd also be > very happy to see an Applicability Statement that would cover the > range of important and/or heavily used media types, giving whatever > advice was approach. However, I have no idea how such an effort > would be structured and, given the difficult experience with > draft-ietf-emailcore-as, I have trouble imagining anyone wanting to > sign up to do the work. An update to deal with evolution from some > of the definitions on RFC 2026 feel much more realistic. > > Nathaniel, any additional or contradictory thoughts? > > best, > john > > > > >
- [art] email: message/rfc822 (RFC 2046) MIME parts… Steffen Nurpmeso
- [art] Re: email: message/rfc822 (RFC 2046) MIME p… Steffen Nurpmeso
- [art] Re: email: message/rfc822 (RFC 2046) MIME p… John C Klensin
- [art] Re: email: message/rfc822 (RFC 2046) MIME p… Arnt Gulbrandsen
- [art] Re: email: message/rfc822 (RFC 2046) MIME p… Steffen Nurpmeso
- [art] Re: email: message/rfc822 (RFC 2046) MIME p… Nathaniel Borenstein
- [art] Re: email: message/rfc822 (RFC 2046) MIME p… John C Klensin
- [art] Re: email: message/rfc822 (RFC 2046) MIME p… Steffen Nurpmeso