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

Paul Smith <paul@pscs.co.uk> Tue, 30 March 2021 14:06 UTC

Return-Path: <paul@pscs.co.uk>
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 0684E3A1560 for <ietf-smtp@ietfa.amsl.com>; Tue, 30 Mar 2021 07:06:55 -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, HTML_MESSAGE=0.001, NICE_REPLY_A=-0.001, SPF_HELO_NONE=0.001, 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=pscs.co.uk
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 wQP36AN4Ro6r for <ietf-smtp@ietfa.amsl.com>; Tue, 30 Mar 2021 07:06:50 -0700 (PDT)
Received: from mail.pscs.co.uk (mail.pscs.co.uk [195.224.19.137]) (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 7AE5A3A155F for <ietf-smtp@ietf.org>; Tue, 30 Mar 2021 07:06:48 -0700 (PDT)
Authentication-Results: mail.pscs.co.uk; spf=none; auth=pass (cram-md5) smtp.auth=pscs
Received: from lmail.pscs.co.uk ([192.168.66.70]) by mail.pscs.co.uk ([10.224.19.137] running VPOP3) with ESMTPSA (TLSv1.3 TLS_AES_256_GCM_SHA384) for <ietf-smtp@ietf.org>; Tue, 30 Mar 2021 15:06:44 +0100
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pscs.co.uk; q=dns/txt; s=lmail; h=Subject:To:References:From:Message-ID:Date:MIME-Version:In-Reply-To :Content-Type:Cc:Content-Transfer-Encoding:Reply-to:Sender; t=1617112859; x=1617717659; bh=gyE5qJkc9wpW5EBwQs3du0+Bkje3Q8oTr7qt0VPKi1g=; b=kccixcviwOqoPIT6rY06iGfhEPq3Swpx/B3Z8Wa47bPETewpNEzRVN+Ij/12uUMhTSfZc8LL sS3pOTcfa0irTCHHfBWmR4WhmjfT2WRLYMdusJ69LFbNJ4+gOT5nPriewQ8SoeA8UFQBv17XaY J9Bkuc1mJUrqgSZVLF6xBAkuo=
Authentication-Results: lmail.pscs.co.uk; spf=none; auth=pass (cram-md5) smtp.auth=paul
Received: from [192.168.57.136] ([82.68.48.206] (82-68-48-206.dsl.in-addr.zen.co.uk)) by lmail.pscs.co.uk ([192.168.66.70] running VPOP3) with ESMTPSA (TLSv1.3 TLS_AES_256_GCM_SHA384); Tue, 30 Mar 2021 15:00:58 +0100
To: ietf-smtp@ietf.org
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> <cone.1617061398.771367.57281.1004@monster.email-scan.com> <c7541ebd-7fe7-068c-22a3-7a0dcf58fead@digilicious.com> <0f4d93f1-dce4-7c40-bc70-f40d3871d462@pscs.co.uk> <7f9de490-608c-1e89-0d83-4f564c8b37d8@wizmail.org> <6063146B.6040409@isdg.net>
From: Paul Smith <paul@pscs.co.uk>
Message-ID: <2ab4dcbb-368f-127a-d8bb-b05869b9ceb8@pscs.co.uk>
Date: Tue, 30 Mar 2021 15:00:56 +0100
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.8.0
MIME-Version: 1.0
In-Reply-To: <6063146B.6040409@isdg.net>
Content-Type: multipart/alternative; boundary="------------82DDF20105197A55AD39E20D"
Content-Language: en-GB
X-Authenticated-Sender: paul
X-Server: VPOP3 Enterprise V8.1 - Registered to: PSCS
X-Organisation: Paul Smith Computer Services
X-VPOP3Tester: 12 345
X-Authenticated-Sender: pscs
Archived-At: <https://mailarchive.ietf.org/arch/msg/ietf-smtp/1LvMRt_fXm78Fd9YgMnKMU1G600>
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:06:55 -0000

On 30/03/2021 13:07, Hector Santos wrote:
> On 3/30/2021 7:31 AM, Jeremy Harris wrote:
>>
>> Summary: 8BITMIME has been irrelevant for years.
>> You send it.
>>
>
> +1,   we totally assume 8 bit!!  We have nothing that needs 7 bit 
> masking.

We dont either, but RFC 6152 (written in 2011) has the text that [if the 
server does not advertise 8BITMIME support]:

    "then
    the client SMTP must not, under any circumstances, attempt to
    transfer a content that contains characters outside of the US-ASCII
    octet range (hex 00-7F)."

This seemed quite a strongly worded requirement, so we'd made the 
decision that that requirement made it too complicated to handle 
gracefully, and as it was so strongly worded, we'd better not ignore it.

But, if people are ignoring that requirement, it's actually interesting. 
Not because people aren't following the standards, but that suggests 
that 8BITMIME isn't actually that widely used...

I'd assumed that the reason we very rarely see incoming 
"content-transfer-encoding: 8bit" MIME messages is because we don't 
advertise that we support 8BITMIME so most senders were transcoding them 
as RFC 6152 requires. But, if servers are just sending them in the 8-bit 
form anyway, I'd expect to see loads of 'cte: 8bit' messages, but the 
vast majority of '8 bit' messages we receive are QP encoded with a few 
Base64 encoded. A few (single digit percentage) are 'cte: 8bit', mostly 
spam, with some transactional messages from the same few senders.

-- 
Paul
Paul Smith Computer Services
support@pscs.co.uk - 01484 855800



-- 


Paul Smith Computer Services
Tel: 01484 855800
Vat No: GB 685 6987 53

Sign up for news & updates at http://www.pscs.co.uk/go/subscribe