Re: [Emailcore] Ticket #14: G.7.8. Review different size limits

John Levine <johnl@taugh.com> Thu, 15 July 2021 20:16 UTC

Return-Path: <johnl@iecc.com>
X-Original-To: emailcore@ietfa.amsl.com
Delivered-To: emailcore@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 067AD3A1390 for <emailcore@ietfa.amsl.com>; Thu, 15 Jul 2021 13:16:43 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.099
X-Spam-Level:
X-Spam-Status: No, score=-2.099 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, 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=Cms8Fl5A; dkim=pass (2048-bit key) header.d=taugh.com header.b=RmMGIqQx
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 HVcIhY81owPg for <emailcore@ietfa.amsl.com>; Thu, 15 Jul 2021 13:16:37 -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 83ED13A138C for <emailcore@ietf.org>; Thu, 15 Jul 2021 13:16:37 -0700 (PDT)
Received: (qmail 29792 invoked from network); 15 Jul 2021 20:16:36 -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=745e.60f097a4.k2107; bh=TDaTLKWM8nYIli901zfqVHeOxV4ZJAcvf7N+Yv4wg3I=; b=Cms8Fl5ACsMSh9WRr3/oZWNuu1n6iiUjaWnUFQvuFDqB1SVMIIGv1TGT8jAVwc4X1QTE28C0WC/oTweDNBRagAHLfAmkS+b4Ljcj4LIp/UQ9wDyVIfLwEco2qsd/sXMYlnNFXGtFizLoDme0ZD0xTFPj7F2KXPClAdCRj+Y1+28JLNN4YzDpaaI9O7gBjLsNzHNOj9F86ePiAIsLls5Wjez/CUEdVFloLnlnttvjjb8xlCDVoAsI6KZxf+/8LNKC1QgfnCq54qtzYVpNDres/JWHffM56EpcSjCgEDNqaDgDi46KH7N3rVlp+EsgnDzDrgf7JbsRMsLOX07rXni88Q==
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=745e.60f097a4.k2107; bh=TDaTLKWM8nYIli901zfqVHeOxV4ZJAcvf7N+Yv4wg3I=; b=RmMGIqQxMJkoixxwNxuqk9Xr9B2rt6UQ+iOarNibyermt6VDwEt7tcDHqo/M+ZlNQZIoWBdVLMY+8QkAwBe4EYVmpbxx1h+ou1IHuLNGIOwV+gFPEr5VhNUxM5SPL5lRo3kSwma7hzh1YnTltHr5iebvuvepYe5Een6dbOutPn+rzjYOwfO2Q737I1iBRjg3dyxIY+9ErLWQfM0yQUk5sm8G5R8qnXjZs2GW9V0DqjGYELdSMKspv6wzq+d+9j0F2T2wjS28DVKYRAO3Osks6pjPQdpYCo4j7X7SMg3dz7N52CilddOG6SGLhqNEXdsnu5J7Muc4qi7N+H6lc0pj+w==
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; 15 Jul 2021 20:16:36 -0000
Received: by ary.qy (Postfix, from userid 501) id 983BD238781A; Thu, 15 Jul 2021 16:16:38 -0400 (EDT)
Date: Thu, 15 Jul 2021 16:16:38 -0400
Message-Id: <20210715201638.983BD238781A@ary.qy>
From: John Levine <johnl@taugh.com>
To: emailcore@ietf.org
In-Reply-To: <20210715180857.fgWbT%steffen@sdaoden.eu>
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/emailcore/vgDl6QaUs5pE-XS9ySSCpQUJwog>
Subject: Re: [Emailcore] Ticket #14: G.7.8. Review different size limits
X-BeenThere: emailcore@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: EMAILCORE proposed working group list <emailcore.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/emailcore>, <mailto:emailcore-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/emailcore/>
List-Post: <mailto:emailcore@ietf.org>
List-Help: <mailto:emailcore-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/emailcore>, <mailto:emailcore-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 15 Jul 2021 20:16:43 -0000

It appears that Steffen Nurpmeso  <steffen@sdaoden.eu> said:
> |> Speaking of limits, how do we feel about the 1000 octet limit on line
> |> length.  It is my impression that it is often exceeded in HTML text.

>There was that UTF-8 RFC from i think a Microsoft guy who soaped
>this up to say "in modern times a character is the new byte", so
>that this should now be 1000*4, at least for SMTP, ...

That is just wrong.  RFC 6532 specifically says if you're sending unencoded
UTF-8, the limit is still 1000 octets, not 1000 characters.

>Maybe that is a weakness in the original folding algorithm, that
>whitespace at the begin of follow lines is preserved.  Maybe the
>(now) usual "line-continuation by escaping the linefeed with
>reverse solidus" would have been the better approach, ...

That only applies to headers.  The 1000 octet limit applies to the
whole message.  For text we have flowed text which uses a space at
the end of a line as a signal to rewrap.

>Especially since presence of non 7-bit clean data imposes MIME
>encoding, anyway?

Hm.  You might want to investigate the 8BITMIME SMTP extension, defined in
1993 and supported by every MTA I've looked at in this millenium.

R's,
John

PS: I don't feel strongly about lifting the 1000 octet limit but I would like
to understand how widely it's enforced by mail receivers.