Re: [ietf-smtp] Quoted-Printable-8bit

Ned Freed <ned.freed@mrochek.com> Tue, 30 March 2021 14:17 UTC

Return-Path: <ned.freed@mrochek.com>
X-Original-To: ietf-smtp@ietfa.amsl.com
Delivered-To: ietf-smtp@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 1315E3A15D8 for <ietf-smtp@ietfa.amsl.com>; Tue, 30 Mar 2021 07:17:05 -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 (1024-bit key) header.d=mrochek.com
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 PZ8Mv400iQ8r for <ietf-smtp@ietfa.amsl.com>; Tue, 30 Mar 2021 07:17:00 -0700 (PDT)
Received: from mauve.mrochek.com (mauve.mrochek.com [98.153.82.211]) (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 678FA3A15D7 for <ietf-smtp@ietf.org>; Tue, 30 Mar 2021 07:16:56 -0700 (PDT)
Received: from dkim-sign.mauve.mrochek.com by mauve.mrochek.com (PMDF V6.1-1 #35243) id <01RX9R38TYKW00DGKN@mauve.mrochek.com> for ietf-smtp@ietf.org; Tue, 30 Mar 2021 07:11:52 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mrochek.com; s=201712; t=1617113511; bh=Un/vYBOiJjYFrtaSRCbjXYlAajhPeUtpAMcnSf6PRpE=; h=Cc:Date:From:Subject:In-reply-to:References:To:From; b=a/jmqAbFUZqRkLDBeYE3j0/XUClT98RmIpD/S1XTTzT4Jy4YWZjelwglx0tMf5eP3 Z66FZQ8L+NAH/tLDrm40QvrwRm0s+v/dT1l+fFb8bi4BXP+A5iaxMaYknGnkOWza/d oF4QeNdm80nWKeXAGZroMwdIUyF1rjJFORBsuP0E=
MIME-version: 1.0
Content-transfer-encoding: 7bit
Content-type: TEXT/PLAIN; CHARSET="us-ascii"
Received: from mauve.mrochek.com by mauve.mrochek.com (PMDF V6.1-1 #35243) id <01RX758ICMBK0085YQ@mauve.mrochek.com>; Tue, 30 Mar 2021 07:11:49 -0700 (PDT)
Cc: ietf-smtp@ietf.org, mrsam@courier-mta.com
Message-id: <01RX9R37H1CC0085YQ@mauve.mrochek.com>
Date: Tue, 30 Mar 2021 07:05:11 -0700
From: Ned Freed <ned.freed@mrochek.com>
In-reply-to: "Your message dated Mon, 29 Mar 2021 21:00:27 -0400" <20210330010027.F13AD718E3C0@ary.qy>
References: <cone.1617061398.771367.57281.1004@monster.email-scan.com> <20210330010027.F13AD718E3C0@ary.qy>
To: John Levine <johnl@taugh.com>
Archived-At: <https://mailarchive.ietf.org/arch/msg/ietf-smtp/8Gg-2z8n_nnYSThETdtZCk4oUuw>
Subject: Re: [ietf-smtp] Quoted-Printable-8bit
X-BeenThere: ietf-smtp@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Discussion of issues related to Simple Mail Transfer Protocol \(SMTP\) \[RFC 821, RFC 2821, RFC 5321\]" <ietf-smtp.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ietf-smtp>, <mailto:ietf-smtp-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ietf-smtp/>
List-Post: <mailto:ietf-smtp@ietf.org>
List-Help: <mailto:ietf-smtp-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ietf-smtp>, <mailto:ietf-smtp-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 30 Mar 2021 14:17:05 -0000

> It appears that Sam Varshavchik  <mrsam@courier-mta.com> said:
> >So, what is the answer to the same question, for BINARYMIME? This is mostly
> >conjecture, but I'd say that email implementations tend to fall into two
> >broad categories.

> CHUNKING and BINARYMIME were in RFC 1830.

> RFC 2045 says:

>    Mail transport for unencoded 8bit data is defined in RFC 1652.  As of
>    the initial publication of this document, there are no standardized
>    Internet mail transports for which it is legitimate to include
>    unencoded binary data in mail bodies.  Thus there are no
>    circumstances in which the "binary" Content-Transfer-Encoding is
>    actually valid in Internet mail. ...

> I get the impression that BINARYMIME was a placeholder they threw in
> with the hope that some other kind of framing would come along.

Nope. MIME was carefully designed to support both 8bit and binary format. We
briefly considered defining the necessary transport - and in hindsight not doing
so was an error - but back when RFC 1521 and 1522 came out the situation
surrounding 8BITMIME was unclear, so we didn't pursue it. Then other
things got in the way, and it only happened because the voicemail
people wanted to avoid the overhead of base64.

> The
> advantage of BDAT over DATA for 8BITMIME is pretty modest, and can
> even be negative for the implementations that send small 8K BDAT
> chunks.

Acutally, the advantages can be quite significant client-side, depending
on your implementation.

> The fact that nothing like quoted-unprintable has ever gotten any traction
> tells me that even the overhead of base64 vs 8BITMIME isn't something people
> care about.

On this we agree. We thought the need to avoid the overhead in voicemail
messages would be sufficient to get BINARYMIME deployed. We were wrong.

				Ned