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

Sam Varshavchik <mrsam@courier-mta.com> Mon, 29 March 2021 23:44 UTC

Return-Path: <mrsam@courier-mta.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 883E53A25A4 for <ietf-smtp@ietfa.amsl.com>; Mon, 29 Mar 2021 16:44:12 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 1.435
X-Spam-Level: *
X-Spam-Status: No, score=1.435 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_PBL=3.335, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=no autolearn_force=no
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 Ha6Qte37-cXL for <ietf-smtp@ietfa.amsl.com>; Mon, 29 Mar 2021 16:44:11 -0700 (PDT)
Received: from mailx.courier-mta.com (mailx.courier-mta.com [68.166.206.83]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id B5CA03A259E for <ietf-smtp@ietf.org>; Mon, 29 Mar 2021 16:43:27 -0700 (PDT)
Received: from monster.email-scan.com (monster.email-scan.com [::ffff:192.168.0.2]) (TLS: TLSv1.3,256bits,TLS_AES_256_GCM_SHA384) by www.courier-mta.com with UTF8SMTPS id 000000000028002D.0000000060626617.00006B57; Mon, 29 Mar 2021 19:43:19 -0400
Received: from monster.email-scan.com (localhost [127.0.0.1]) (IDENT: uid 1004) by monster.email-scan.com with UTF8SMTP id 000000000001E508.0000000060626617.0000E046; Mon, 29 Mar 2021 19:43:19 -0400
References: <5f24aa4c-9e73-81fb-fb10-1fc43973eaef@taugh.com> <62573e21-7a18-68c3-5c20-741940833916@digilicious.com> <CD6E7B23-A0A7-4A6A-BF72-A8D7CB19CD9F@dukhovni.org> <e909c5db-5383-a593-cd22-bec14c0a89b0@wizmail.org> <D38E08DA-1E7F-42E3-AB00-05CCC4A7AD21@dukhovni.org> <15f8a636-475a-24d8-0a19-7f38c0a7ae31@digilicious.com>
Message-ID: <cone.1617061398.771367.57281.1004@monster.email-scan.com>
X-Mailer: http://www.courier-mta.org/cone/
From: Sam Varshavchik <mrsam@courier-mta.com>
To: ietf-smtp@ietf.org
Date: Mon, 29 Mar 2021 19:43:18 -0400
Mime-Version: 1.0
X-Mime-Autoconverted: from 8bit to quoted-printable by mimegpg
Content-Type: multipart/signed; boundary="=_monster.email-scan.com-57281-1617061398-0001"; micalg="pgp-sha1"; protocol="application/pgp-signature"
Archived-At: <https://mailarchive.ietf.org/arch/msg/ietf-smtp/P8YwGJ_tlxHBMwNy4yxlc4UIad8>
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: Mon, 29 Mar 2021 23:44:13 -0000

Gene Hightower writes:

> On 29/03/2021 05:07, Viktor Dukhovni wrote:
>
> > Sorry, OOPS, I meant BINARYMIME...
>
> BINARYMIME requires the CHUNKING extension; it doesn't work with the
> DATA/dot-stuffing method of transferring a message.
>
> Quoted-Printable-8bit & quoted-unprintable are ideas that work with the
> 8-bit MIME Transport extension (RFC-6152).
> That is, more efficient and/or otherwise more useful ways of transport
> encoding for 8-bit channels.
>
> Interestingly, 8BITMIME is almost universally adopted. BINARYMIME not so
> much.

I asked myself the same question again: what is the value-added here. 
8BITMIME has clear benefits to both the sender and the recipient. The sender  
does not need to transcode 8bit to quoted-printable. The receiver can  
actually receive all PGP-signed mail. Transcoding breaks PGP signatures (I  
think this was a mistake – applying signatures to the wire content, the PGP  
signature should be calculated for the decoded content, so transcoding to a  
different MIME encoding won't break the signature, but that's water under  
the bridge).

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.

The first one is where mail is stored in its original unaltered RFC 2?822  
format. Access to it is exposed by POP3, IMAP, and Webmail servers that  
read and parse it. I see no upside to sending and receiving BINARYMIME,  
here. This requires more work, and more opportunities for breakage.

The second one is where mail is transformed into an internal format that's  
specific to the mail store. Attachments get decoded and saved. Mail access  
is with custom clients. I am talking about stuff like Exchange and Outlook;  
or going back earlier in time, Lotus Notes.

Mail is likely to be processed, from on-the-wire format. Seems to be there's  
less work to send and receive BINARYMIME, here.

But, again, you can't assume BINARYMIME availability and you still have to  
implement sending and receiving mail in RFC 2?822 format. So, given that  
this needs to be implemented anyway, again the question is whether it's  
worth the effort to support two code bases that do the same thing. I suppose  
that if the implementations' particulars means that doing BINARYMIME  
requires very little additional work, it might be worth it. But, how likely  
is that…