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

Ned Freed <ned.freed@mrochek.com> Sun, 18 July 2021 23:38 UTC

Return-Path: <ned.freed@mrochek.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 4FCF83A156A for <emailcore@ietfa.amsl.com>; Sun, 18 Jul 2021 16:38:22 -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 KeZYE__tzJIn for <emailcore@ietfa.amsl.com>; Sun, 18 Jul 2021 16:38:17 -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 7DD413A1562 for <emailcore@ietf.org>; Sun, 18 Jul 2021 16:38:17 -0700 (PDT)
Received: from dkim-sign.mauve.mrochek.com by mauve.mrochek.com (PMDF V6.1-1 #35243) id <01S1JYR6H26O00IPI7@mauve.mrochek.com> for emailcore@ietf.org; Sun, 18 Jul 2021 16:33:11 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mrochek.com; s=201712; t=1626651191; bh=4Bxov2Kaanket3J8LYJEsOZIbkrR8PkzFKH69oO2ALM=; h=Cc:Date:From:Subject:In-reply-to:References:To:From; b=jiio4E5/tzC4IkBValB6fz0krIft1uooqvBaHqsAx8GkdL4g9bW7doJsOaWYa3hWe SXR7d1mf/kOm8EC0P14QSzkYnserK82s3UIwm0OtPX3VYOQx6ecKEvqShleVZhQQbW n+sXWCM15ULo3HtPs9tn+gytVDNDZafqeIsFtz8M=
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 <01S0F3SXH38G005PTU@mauve.mrochek.com>; Sun, 18 Jul 2021 16:33:08 -0700 (PDT)
Cc: Ned Freed <ned.freed@mrochek.com>, Viktor Dukhovni <ietf-dane@dukhovni.org>, emailcore@ietf.org
Message-id: <01S1JYR4AO6E005PTU@mauve.mrochek.com>
Date: Sun, 18 Jul 2021 16:26:17 -0700
From: Ned Freed <ned.freed@mrochek.com>
In-reply-to: "Your message dated Sat, 17 Jul 2021 22:42:41 -0400" <F51C0E5C4AC6703FAB7C7D88@PSB>
References: <20210717161657.XGPW_%steffen@sdaoden.eu> <20210717220940.E225824AAB35@ary.qy> <YPOKS9b5kmo8P+Ug@straasha.imrryr.org> <01S1IPUAUTZ6005PTU@mauve.mrochek.com> <F51C0E5C4AC6703FAB7C7D88@PSB>
To: John C Klensin <john-ietf@jck.com>
Archived-At: <https://mailarchive.ietf.org/arch/msg/emailcore/_uPLftIAWrhqD4KQ2kqC6GAfXIA>
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: Sun, 18 Jul 2021 23:38:23 -0000


> --On Saturday, July 17, 2021 19:06 -0700 Ned Freed
> <ned.freed@mrochek.com> wrote:

> >> Actually, given an 8BITMIME message and a nexthop SMTP server
> >> that does not support 8BITMIME, Postfix will in fact (by
> >> default) do on the fly MIME quotable-printable encoding.
> >
> >>     http://www.postfix.org/postconf.5.html#disable_mime_outpu
> >>     t_conversion
> >
> > Our MTA defaults to this as well. But it's trivial to switch
> > off, and I have no way of knowing how many sites do so.

> Completely out of curiosity, as the amount of traffic that does
> not use Latin script increases (IMO, quoted-printable is far
> less useful when most of the characters are outside the ASCII
> repertoire), do either of you do the fairly minimal analysis
> needed to decide when Base64 would be more compact and no less
> useful?

In our case it depends on when the downgrade occurs. If we're doing it
on the fly with an open SMTP connection we just go with a default; we don't
do the analysis. If we're doing it earlier when we have the data we do
the calculation and pick the better encoding.

> Or provide a switch s.t. if encoding is to be done,
> Base64 might be preferred by the configuration instead of
> quoted-printable?   It seems like that might be worthwhile if
> one were carrying a significant amount of non-Latin-script,
> traffic.

I've had storing the analysis results on the to-do list literally for decades.
But it's never been a sufficient issue that it's ever budged from its position
near the bottom of the list. At this point it's unlikely it ever will.

> of course, none of this has anything to do with changes that
> might be needed in rfc5321bis, AFAICT.

No, it doesn't.

				Ned