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

John Levine <johnl@taugh.com> Mon, 02 August 2021 19:58 UTC

Return-Path: <johnl@iecc.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 A94CA3A19EE for <jmap@ietfa.amsl.com>; Mon, 2 Aug 2021 12:58:41 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.399
X-Spam-Level:
X-Spam-Status: No, score=-4.399 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, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_MED=-2.3, 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=nJQQcDKI; dkim=pass (2048-bit key) header.d=taugh.com header.b=oMiXi6kF
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 qWSWZQ9pQvbl for <jmap@ietfa.amsl.com>; Mon, 2 Aug 2021 12:58: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 48C1C3A19E9 for <jmap@ietf.org>; Mon, 2 Aug 2021 12:58:35 -0700 (PDT)
Received: (qmail 21514 invoked from network); 2 Aug 2021 19:58:34 -0000
DKIM-Signature: v=1; a=rsa-sha256; c=simple; d=iecc.com; h=date:message-id:from:to:cc:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:cleverness; s=5406.61084e6a.k2108; bh=CYamZs/U+FE6NPwRL8DHANi6hqB2WgutsHsCTxNzyaU=; b=nJQQcDKIZxKmjr58so8SF4HQNJAqwqdVrkQiCvirN47aCfjoZjpWbERWawoQ8qbxgUj8tlvuMSkV2x4ywKGHxonAzl5PKkNaGfxDfOjgQE+KvPGsWWsMsxWU6JRKQ82ndNweY3DpwxXM3DES6LCzEAx6cgsZG9frtuN56UOXZ1d8+ClqqhhgrHRlutooxnTuQ2Ocuh6czXYcbYW0bKSlmgXDLjbvprG/x5Yeyc+7g1r/qakwz8r48rMdSB1Q/1ny8oslgWnQX+9uy3wbD7Co5MYWFjLppP4y21WGUHQg6tyfkA6jjTJWDd12rzJ8c1B7K0MepcRB9WAXx6BE95WZow==
DKIM-Signature: v=1; a=rsa-sha256; c=simple; d=taugh.com; h=date:message-id:from:to:cc:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:cleverness; s=5406.61084e6a.k2108; bh=CYamZs/U+FE6NPwRL8DHANi6hqB2WgutsHsCTxNzyaU=; b=oMiXi6kFghSdkCnrsjLrKXnvY00g/vkyi4OEoXM2nThQ2iLY1hBXKyJaPGldoAMpJuQluxJoeJJL5BdOSlvBDCbe+ID3bJfDgvL06xBHUlMK0XFqZ0EFTXADZWlVHIOskGlr3pabaJj/Vf74kUhS7lOde5R5pfrG25NJ+jtcBR1kUBpXJkOSha9zN9zL2Up0C3y2LDF3Gaj2z9Ss+BgT2QWfhMYz3YGM2JUHTFDR+BEOALJ6d9z+ibrHdnDkK1zBiVUXb87ivCl0wINQLTJl9f1G7Fd9t8KOv8WBXuO1idCpvxJe5jNc4wNUOQua4ZYZz98yEjfygTK9Cf8mFk28Rw==
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; 02 Aug 2021 19:58:33 -0000
Received: by ary.qy (Postfix, from userid 501) id 4DAC9257A28E; Mon, 2 Aug 2021 15:58:33 -0400 (EDT)
Date: Mon, 02 Aug 2021 15:58:33 -0400
Message-Id: <20210802195833.4DAC9257A28E@ary.qy>
From: John Levine <johnl@taugh.com>
To: jmap@ietf.org
Cc: neilj@fastmailteam.com
In-Reply-To: <f4f83442-e8c0-42f3-98c6-4c3cb73340c4@dogfood.fastmail.com>
Organization: Taughannock Networks
X-Headerized: yes
Cleverness: minimal
Mime-Version: 1.0
Content-type: text/plain; charset="utf-8"
Content-transfer-encoding: 8bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/jmap/4mC-U0CvbhTT0dqRWAXoPUvId-A>
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: Mon, 02 Aug 2021 19:58:42 -0000

It appears that Neil Jenkins  <neilj@fastmailteam.com> said:
>I *think* the bootstrap problem can be solved if most clients support multiple MIME parts correctly (which I think they probably must, because Apple's clients often
>produce bodies like that). You have something like this:
>
>multipart/mixed
>    text/html *(The message body)*
>    multipart/alternative
>        text/html *(HTML representation of attachments, just like current G Drive etc.)*
>        message/external-body *(For external attachment aware clients)*

I suppose, but if the HTML fits in the message, what's the point of the external version other
than to debug your MUA?

R's,
John