Re: [Emailcore] [Tools-discuss] emails being truncated

Toerless Eckert <tte@cs.fau.de> Wed, 21 July 2021 22:25 UTC

Return-Path: <eckert@i4.informatik.uni-erlangen.de>
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 398343A2CB1 for <emailcore@ietfa.amsl.com>; Wed, 21 Jul 2021 15:25:09 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.118
X-Spam-Level:
X-Spam-Status: No, score=-1.118 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.001, SPF_HELO_NONE=0.001, SPF_NEUTRAL=0.779, URIBL_BLOCKED=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 22uc93Mmy3XU for <emailcore@ietfa.amsl.com>; Wed, 21 Jul 2021 15:25:04 -0700 (PDT)
Received: from faui40.informatik.uni-erlangen.de (faui40.informatik.uni-erlangen.de [IPv6:2001:638:a000:4134::ffff:40]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 360413A2CB8 for <emailcore@ietf.org>; Wed, 21 Jul 2021 15:25:03 -0700 (PDT)
Received: from faui48e.informatik.uni-erlangen.de (faui48e.informatik.uni-erlangen.de [IPv6:2001:638:a000:4134::ffff:51]) by faui40.informatik.uni-erlangen.de (Postfix) with ESMTP id 39E1F548042; Thu, 22 Jul 2021 00:24:57 +0200 (CEST)
Received: by faui48e.informatik.uni-erlangen.de (Postfix, from userid 10463) id 346014E7AEB; Thu, 22 Jul 2021 00:24:57 +0200 (CEST)
Date: Thu, 22 Jul 2021 00:24:57 +0200
From: Toerless Eckert <tte@cs.fau.de>
To: John Levine <johnl@taugh.com>
Cc: emailcore@ietf.org, bs7652@att.com
Message-ID: <20210721222457.GS57276@faui48e.informatik.uni-erlangen.de>
References: <20210721184101.GR57276@faui48e.informatik.uni-erlangen.de> <20210721212122.055B224D27E8@ary.qy>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
In-Reply-To: <20210721212122.055B224D27E8@ary.qy>
User-Agent: Mutt/1.10.1 (2018-07-13)
Archived-At: <https://mailarchive.ietf.org/arch/msg/emailcore/nf3JiMqj97lyzWMHAZ_Krwk4gfo>
Subject: Re: [Emailcore] [Tools-discuss] emails being truncated
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: Wed, 21 Jul 2021 22:25:09 -0000

Removing tools-discuss.

John,

As far as i see it, your "its a known failure of the other side, go tell microsoft"
approach has not succeeded to get rid of the issue. 

Hence i suggested to think about how SMTP spec could be improved by
hardened it against misbehaving peers, specify how it can be more lenient
and or provide diagnostics.

IMHO, this particular case is a day 1 weak part of SMTP because
there is no specification for detecting/diagnosing misbehavior.
That is much better in most other error cases in SMTP:

Getting truncated emails without any error diagnostics when only one
SMTP peer is wrong is a weak protocol behavior.

If you do not want to improve SMTP but only hold a grudge aainst
Microsoft, consider the following:

I have seen more than one occurrances of router CLI commands called
"vendorX-bug-foo-workaround", and guess what - that public shaming
did help for vendorX to fix those bugs a lot faster then it would have
happened otherwise.

Diagnostic emails would effectively result in very much the same
type of public shaming. Much better than any of us going to Microsoft
and complaining about it could do.

Cheers
    Toerless

P.S.: and yes, i also see hat none of this would likely help
Barbara directly given how the next peer after what even calls
itself outlook in its received line is yet another enterprise SMTP
peer equally likely not to be bug fixed in an agile way. As i said, 
this is about what should be considered good for hardening the protocol.

On Wed, Jul 21, 2021 at 05:21:21PM -0400, John Levine wrote:
> It appears that \'Toerless Eckert\' <tte@cs.fau.de> said:
> >> I don't think this is a problem that can be solve by IETF.
> >
> >Let me disagree!
> >
> >It is of course very frustrating to see such bugs in deployments
> >for a spec from 1982 (RFC821/RFC5321). But if the problem does happen in
> >a large enterprise as ATT, it likely happens elsewhere too,
> >and after 43 years its clear it will not go away by itself:
> >
> >I suspect that after 43 years this is not even bad old code, but
> >badly written "recent" SMTP code. SMTP sending looks from the outset so
> >simple, many attempt to just re-implement it as few lines of
> >code in their app and of course miss out on details. I know
> >i did (statue of limitations for me ;-).
> 
> An interesting guess, but clearly wrong, since it's still a well known bug
> in Microsoft Exchange.
> 
> How about if you pop up to Redmond, explain to Microsoft what they're doing
> wrong, and let us know what they say?
> 
> R's,
> John

-- 
---
tte@cs.fau.de