Re: [Jmap] the large email (attachment) problem

John R Levine <johnl@taugh.com> Sun, 01 August 2021 17:43 UTC

Return-Path: <johnl@taugh.com>
X-Original-To: jmap@ietfa.amsl.com
Delivered-To: jmap@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 9CA193A0CC4 for <jmap@ietfa.amsl.com>; Sun, 1 Aug 2021 10:43:42 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.1
X-Spam-Level:
X-Spam-Status: No, score=-2.1 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, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=iecc.com header.b=Y1aW0JWR; dkim=pass (2048-bit key) header.d=taugh.com header.b=U6byd1/J
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ruDlaMaUf1jv for <jmap@ietfa.amsl.com>; Sun, 1 Aug 2021 10:43:36 -0700 (PDT)
Received: from gal.iecc.com (gal.iecc.com [IPv6:2001:470:1f07:1126:0:43:6f73:7461]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 667923A0CBD for <jmap@ietf.org>; Sun, 1 Aug 2021 10:43:36 -0700 (PDT)
Received: (qmail 82833 invoked from network); 1 Aug 2021 17:43:33 -0000
DKIM-Signature: v=1; a=rsa-sha256; c=simple; d=iecc.com; h=date:message-id:from:to:cc:subject:in-reply-to:references:mime-version:content-type; s=1438f.6106dd45.k2108; bh=GAWl1/VnxAR9vMIlusERn/vN2/t6xpb8hLF1q5oQqI8=; b=Y1aW0JWRZbJ99FMvfk9WDSTt2XapjxS4srJsZ9LQY72fwh1sZMKDCOCLkdW12DYHfbwGxKahiT1uMkOy2JuS79RXNiUx/GS7C1QUw7GF6RO9UjOD1SrElJ5y6bwu0egpmksIeZPwSsJUs38jGa9KSHkbgjMwsZENiv2tylwW5o6DRTRbFtJTj2w9+eVqvN0MP/I5Tx72oL80AR6l1As4+bQVjz5PWPwOlmKr47tguA+j2Alqp79beiq6r+aur4dVhzMBAGmduQiEYaSAtBW934h3EKqnXkb83jLavCxIYwqAh14mThcx7pl6P4j4to/L1Xab9uJf0ipRHlPjhS4VqQ==
DKIM-Signature: v=1; a=rsa-sha256; c=simple; d=taugh.com; h=date:message-id:from:to:cc:subject:in-reply-to:references:mime-version:content-type; s=1438f.6106dd45.k2108; bh=GAWl1/VnxAR9vMIlusERn/vN2/t6xpb8hLF1q5oQqI8=; b=U6byd1/JqyjBHEA4H7wm1bDNsOrSVIZ/AdcRASHLAWG7U4YCr2xNIKGbX2qggYm01mWIkyfdGm8V/MosJ5xQhIL0ibmrwtq/YsxPJWjdWRbk8bAjOlUObgg3+zNhtLVbwlgZOs0EJqZUX59Vv6kI2G37w/Z7INu9WnV5NgG6IfIU3GgkXV/KckSiko5U4NcX+gumPJCdZsq+rIg3THRCE976/kipkacdi1qSfeBF6GH8vjC7uAnHrhoaMhJb98D1/nRc6Y3eSO6rqryukOHU9ldNlrBKgEdTLMvT91miVbdhvPg4X0JrOnqFa5kDb6ypqnDtBdwPG09SD2bbu1/USw==
Received: from ary.qy ([IPv6:2001:470:1f07:1126::78:696d:6170]) by imap.iecc.com ([IPv6:2001:470:1f07:1126::78:696d:6170]) with ESMTPS (TLS1.2 ECDHE-RSA AES-256-GCM AEAD) via TCP6; 01 Aug 2021 17:43:32 -0000
Received: by ary.qy (Postfix, from userid 501) id 379C8256FF94; Sun, 1 Aug 2021 13:43:30 -0400 (EDT)
Received: from localhost (localhost [127.0.0.1]) by ary.qy (Postfix) with ESMTP id 7C61B256FF75; Sun, 1 Aug 2021 13:43:30 -0400 (EDT)
Date: Sun, 01 Aug 2021 13:43:30 -0400
Message-ID: <44b8d21-afd9-6563-bcb0-2ad0d23154a1@taugh.com>
From: John R Levine <johnl@taugh.com>
To: Jamey Sharp <jamey@minilop.net>
Cc: jmap@ietf.org
X-X-Sender: johnl@ary.qy
In-Reply-To: <YQbPLiMLCVowKgyj@eh>
References: <CAJi=jadiwMGvLXG7nK93Ht=TzN-QdmAqyE4Nf7UnGG47f3zSwg@mail.gmail.com> <20210731170047.DE0772563EB0@ary.qy> <YQbPLiMLCVowKgyj@eh>
MIME-Version: 1.0
Content-Type: text/plain; charset="US-ASCII"; format="flowed"
Archived-At: <https://mailarchive.ietf.org/arch/msg/jmap/IVkm7oaRP_byitEQhtsw8W_OaQ4>
Subject: Re: [Jmap] the large email (attachment) problem
X-BeenThere: jmap@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: JSON Message Access Protocol <jmap.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jmap>, <mailto:jmap-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/jmap/>
List-Post: <mailto:jmap@ietf.org>
List-Help: <mailto:jmap-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jmap>, <mailto:jmap-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sun, 01 Aug 2021 17:43:43 -0000

>> Take a look at message/external-body in RFC 2017, 2046 and 2912.  It already has size,
>> URL, expiration, and content-features parameters.

> I assume the "normal" way to use this in an HTML email would be to assign a 
> Content-ID to the multipart/alternative containing the external-body, if 
> there is one, or to the external-body part itself, and then reference it 
> using "cid:" links, right? But that doesn't work if recipients don't 
> understand message/external-body.

External-body parts are just like any other MIME part, and can go 
anywhere.  It is my strong impression that the vast majortity of giant 
MIME parts are attached videos or other opaque formats so they appear as 
attachments.  I don't see any reaspn a Content-ID wouldn't work but it 
rarely would be needed.

I agree there is a bootstrap problem.  Some mail programs implemented it 
back in the 1990s when people still dialed in to download their mail, then 
it went away when we all got permanently online, now we need it again as 
the size of bloatware has pulled away from what mail systems do.

Regards,
John Levine, johnl@taugh.com, Taughannock Networks, Trumansburg NY
Please consider the environment before reading this e-mail. https://jl.ly