Re: [ietf-smtp] Updated draft for "SMTP Response for Detected Spam"

Richard Clayton <richard@highwayman.com> Thu, 31 March 2022 09:35 UTC

Return-Path: <richard@highwayman.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 C3ACF3A0B77 for <ietf-smtp@ietfa.amsl.com>; Thu, 31 Mar 2022 02:35:54 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.908
X-Spam-Level:
X-Spam-Status: No, score=-1.908 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_BLOCKED=0.001] autolearn=ham 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 6K3Zr0g643Pb for <ietf-smtp@ietfa.amsl.com>; Thu, 31 Mar 2022 02:35:50 -0700 (PDT)
Received: from mail.highwayman.com (mail.highwayman.com [82.69.6.249]) (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 E5E9E3A0B72 for <ietf-smtp@ietf.org>; Thu, 31 Mar 2022 02:35:49 -0700 (PDT)
Received: from localhost ([127.0.0.1]:17687 helo=happyday.al.cl.cam.ac.uk) by mail.highwayman.com with esmtp (Exim 4.95) (envelope-from <richard@highwayman.com>) id 1nZrDW-000JoV-Q0 for ietf-smtp@ietf.org; Thu, 31 Mar 2022 09:35:46 +0000
Message-ID: <5EQ93PVrWXRiFA9b@highwayman.com>
Date: Thu, 31 Mar 2022 10:34:35 +0100
To: ietf-smtp@ietf.org
From: Richard Clayton <richard@highwayman.com>
References: <CH2PR11MB4342C5648A79FFEC1DE0FC45F71F9@CH2PR11MB4342.namprd11.prod.outlook.com> <b0a1c8d3-212d-2b67-035d-18963ca41109@linuxmagic.com> <20220330181324.GA96148@veps.esmtp.org> <XJ7mEBMGrMRiFAps@highwayman.com> <EDDB8A4D3F9043845213F866@PSB>
In-Reply-To: <EDDB8A4D3F9043845213F866@PSB>
MIME-Version: 1.0
X-Mailer: Turnpike Integrated Version 5.03 M <PK4$+$qD77PuiMKLLGZ+dukxTt>
Archived-At: <https://mailarchive.ietf.org/arch/msg/ietf-smtp/17dSu-Ttvna7f5ZWXguHaIOBrZE>
Subject: Re: [ietf-smtp] 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 09:35:55 -0000

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

In message <EDDB8A4D3F9043845213F866@PSB>, John C Klensin <john-
ietf@jck.com> writes

>--On Wednesday, March 30, 2022 22:25 +0100 Richard Clayton
><richard@highwayman.com> wrote:

>> Since the receiver knows the message is spam I was wondering
>> why the code was 259 rather than 559 ...
>
>Richard, as I understand the text, the plan is to tell the
>sender-SMTP that the message is believed to be spam, but then
>deliver it to one of those "spam folders" anyway.   That calls
>for a 2yz code (I think 250 with one or more new enhanced status
>codes for different cases) because returning a 5yz code and then
>delivering the message anyway (no matter to whom and which
>folders, whatever a folder is) would be a rather serious
>violation of the SMTP specification and model.

I was aware of that :-) ... my point being, as I'm sure you know but I
want to labour it, that "spam folders" are not actually used for spam
(people would hate it if every possible message addressed to them was
actually accepted! they'd receive 6 to 10 times as many messages as they
do at present)

Spam folders are a common (but not ubiquitous) mechanism for the
temporary storage of messages where the MTA, despite all the machine
learning and heuristics, cannot be entirely sure whether or not the
message is actually going to be wanted by the recipient, but on balance
it is felt to be unlikely.

But given that the intent of 259 is to allow "grown-ups" to adjust
behaviour dynamically in the middle of mail sending campaign, a 559
serves pretty much the same purpose of forcing a rethink.

Perhaps a rewrite which doesn't use such ill-defined terms as "spam"
will make it more obvious that there are message which an MTA is
prepared to accept, but somewhat reluctantly.

>If we are
>talking about an "inbox" or some sort of folder, that isn't
>about SMTP any more.  It might be something specific to what
>SMTP calls the final delivery server or system, but there we
>need to start thinking about exactly how to define what is often
>known as a Message Delivery Agent (MDA) and, while we use the
>term informally and there is at least one clear definition (in
>RFC 5598), there has never been a standards-track specification
>for what one of those does and how it behaves (i.e., one
>paralleling RFC 6409 at the other end of the pipeline).

When the IETF strays from "on the wire" then what it proposes, or the
language it uses (one might soon need a dictionary to understand the
notion of "secretary") seldom stands the test of time -- because it's no
longer about interoperability but about user convenience or developer
innovation ...

- -- 
richard                                                   Richard Clayton

Those who would give up essential Liberty, to purchase a little temporary 
Safety, deserve neither Liberty nor Safety. Benjamin Franklin 11 Nov 1755

-----BEGIN PGP SIGNATURE-----
Version: PGPsdk version 1.7.1

iQA/AwUBYkV1q92nQQHFxEViEQJWMgCfRHiIxqiG8c0Rgxgxl6hWjNu/mpcAoMOD
0hsemthvTBWkHJGtNf2iYGJS
=nzaR
-----END PGP SIGNATURE-----