Re: [ietf-smtp] Return codes, was Updated draft for "SMTP Response for Detected Spam"

Ned Freed <ned.freed@mrochek.com> Thu, 31 March 2022 21:41 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 8CE623A1553 for <ietf-smtp@ietfa.amsl.com>; Thu, 31 Mar 2022 14:41:30 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.11
X-Spam-Level:
X-Spam-Status: No, score=-7.11 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, RCVD_IN_DNSWL_HI=-5, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, 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 amHPQYjVTiwR for <ietf-smtp@ietfa.amsl.com>; Thu, 31 Mar 2022 14:41:25 -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 D200B3A1399 for <ietf-smtp@ietf.org>; Thu, 31 Mar 2022 14:41:25 -0700 (PDT)
Received: from dkim-sign.mauve.mrochek.com by mauve.mrochek.com (PMDF V6.1-1 #35243) id <01SBHH9RGKTC001VDH@mauve.mrochek.com> for ietf-smtp@ietf.org; Thu, 31 Mar 2022 14:36:22 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mrochek.com; s=201712; t=1648762582; bh=OTs5SJd7qZFBfpiHzTzx4/5JrjC7QODXnuNtRN8P1SE=; h=Cc:Date:From:Subject:In-reply-to:References:To:From; b=fJTIHzmR5NZMQsfG8WNT00Q6Bj8KIlF2NOzdcznSBKHe55hC6SWsV42VktVwyw3N2 MASmjlYMQDzFs+xDkF2+iwrNDr5npSHlFefxAud00BBtgpcpsptVXtrDGdGZBBFh4/ 12LxSz1qSq9dayH4K1TXWxVWU7upq0vF4RaoG41k=
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 <01SBFOAZW5C0000RIW@mauve.mrochek.com>; Thu, 31 Mar 2022 14:36:19 -0700 (PDT)
Cc: Ned Freed <ned.freed@mrochek.com>, John Levine <johnl@taugh.com>, ietf-smtp@ietf.org
Message-id: <01SBHH9P2H82000RIW@mauve.mrochek.com>
Date: Thu, 31 Mar 2022 14:34:54 -0700
From: Ned Freed <ned.freed@mrochek.com>
In-reply-to: "Your message dated Thu, 31 Mar 2022 15:32:56 -0400" <9B8EBCE1114DD96957C773B1@PSB>
References: <44D715B7767FFD3836B2E9B5@PSB> <20220331170817.756483A1ED82@ary.qy> <01SBH9DZO7VA000RIW@mauve.mrochek.com> <9B8EBCE1114DD96957C773B1@PSB>
To: John C Klensin <john-ietf@jck.com>
Archived-At: <https://mailarchive.ietf.org/arch/msg/ietf-smtp/tAtvjrVSnCtSo3-AniHsOdcOmlE>
Subject: Re: [ietf-smtp] Return codes, was Updated draft for "SMTP Response for Detected Spam"
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: Thu, 31 Mar 2022 21:41:31 -0000


> --On Thursday, March 31, 2022 10:45 -0700 Ned Freed
> <ned.freed@mrochek.com> wrote:

> > In our world at least, use of previously undefined status
> > requires an extension. This is because a certain library for a
> > certain language whose name begins with "J" throws an
> > exception when it sees a status code it doesn't recognize.

> Hmm.  Should I assume that it has been pointed out to the
> authors of said library that they are in violation of a rather
> specific provision of RFC 5321 and that they are not listening?

It's been pointed out. It may even have been fixed. But then there's
the issue of release and deploying. Getting this sort of thing out
of the field takes a long time.

> > Of course you can modify the app to catch and ignore the
> > exception, but customrs are curiously reluctant to do that.
> >
> > Maybe this implies that a
> > ACCEPTANYSYNTACTICALLYVALIDSTATUSCODE extension would be
> > useful. Or not.

> Not really an extension because of the paragraph of Section 4.2
> of RFC 5321 that starts

> 	"An SMTP client MUST determine its actions only by the
> 	reply code,..."

> if that paragraph is not sufficiently clear that clients are not
> allowed to throw exceptions (or otherwise have fits) when they
> receive a reply code of three digits starting with 2, 3, 4, or
> 5, this would be a good time to suggest improvements.
	
> And, for this particular case, perhaps an
> IAMINTERESTEDINWHATTHEMDATHINKSOFTHISMESSAGE extension, which
> would generalize from MAYBESPAM and include "maybe highly
> focused phishing attack" and other possible conclusions from
> analysis on the delivery system, would be useful.  Or not.

Yep. All sorts of elaborations are possible.

				Ned