Re: [Emailcore] Retrying delivery on post-DATA permanent error status

"Luis E. Muñoz" <emailcore@lem.click> Tue, 26 July 2022 16:49 UTC

Return-Path: <emailcore@lem.click>
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 62E3AC14F73F for <emailcore@ietfa.amsl.com>; Tue, 26 Jul 2022 09:49:39 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.3
X-Spam-Level:
X-Spam-Status: No, score=-4.3 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_ADSP_ALL=0.8, DKIM_INVALID=0.1, DKIM_SIGNED=0.1, FROM_SUSPICIOUS_NTLD=0.001, HTML_MESSAGE=0.001, PDS_OTHER_BAD_TLD=1.997, RCVD_IN_DNSWL_HI=-5, RCVD_IN_IADB_DK=-0.095, RCVD_IN_IADB_LISTED=-0.001, RCVD_IN_IADB_RDNS=-0.235, RCVD_IN_IADB_SENDERID=-0.001, RCVD_IN_IADB_SPF=-0.059, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_BLOCKED=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=fail (1024-bit key) reason="fail (message has been altered)" header.d=lem.click
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ii6h3ADIlYTG for <emailcore@ietfa.amsl.com>; Tue, 26 Jul 2022 09:49:35 -0700 (PDT)
Received: from libertad.link (ns1.libertad.link [192.241.161.190]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 1F61DC14F720 for <emailcore@ietf.org>; Tue, 26 Jul 2022 09:49:33 -0700 (PDT)
Received: from [192.168.200.159] (fw1.mia1.libertad.link [99.105.88.41]) (authenticated bits=0) by libertad.link (8.16.1/8.16.1/Debian-1) with ESMTPSA id 26QGnT8w3563704 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 26 Jul 2022 16:49:30 GMT
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lem.click; s=s1; t=1658854170; h=from:subject:message-id:date:to:cc:content-type:mime-version; bh=Q088oJB/wD+Lr57oGGV5vGLWYD1twe5/FeXC4vPYTHg=; b=NCthmmS7uiShfFdmz4hMPru9LXhGSPXIkrWeJ0xQf4B0Ha6xWXdwJcfusUzO8ghFPhC65/ pbRCm9/K/lY56k8KJiRIovDNvB+0LBZJ3b04bpmbLqJmUDGc83kcZXYntGj6sul7I2E+80 Y75lsG9XFGdJRYWmQoO1BkBu5eET2JM=
From: "Luis E. Muñoz" <emailcore@lem.click>
To: John C Klensin <john-ietf@jck.com>
Cc: emailcore@ietf.org
Date: Tue, 26 Jul 2022 12:49:29 -0400
X-Mailer: MailMate (1.14r5852)
Message-ID: <A9D1496B-5EFA-4E5D-AE8D-D4677396B80C@lem.click>
In-Reply-To: <B9BCF54B326B272B85C20D8B@PSB>
References: <C4B67480-45E0-4E08-93A3-05019D963B38@lem.click> <B9BCF54B326B272B85C20D8B@PSB>
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="=_MailMate_AEB75C2E-57E1-4886-9B8D-416F75100248_="
Content-Transfer-Encoding: 8bit
Authentication-Results: libertad.link; auth=pass smtp.auth=lem smtp.mailfrom=emailcore@lem.click
Archived-At: <https://mailarchive.ietf.org/arch/msg/emailcore/5VYcuuqpqzcfwAaxhjVTtakQffA>
Subject: Re: [Emailcore] Retrying delivery on post-DATA permanent error status
X-BeenThere: emailcore@ietf.org
X-Mailman-Version: 2.1.39
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: Tue, 26 Jul 2022 16:49:39 -0000

On 26 Jul 2022, at 1:15, John C Klensin wrote:

> (Personal opinion, not as editor or anything else because I
> don't remember the original discussion any more).

And I believe I am being late to the party. But thanks!

> The key part of that text is the last part of the sentence:
> "without user review of the message and response and appropriate
> intervention".  Now the question for you is "are you sure those
> are all of the cases".  If, for example, for some messages, and
> automated review would be satisfactory, do you think whatever
> robotic process was involved would constitute "user review".  If
> the answer to either of those questions is "no", then SHOULD is
> appropriate and the question becomes whether there should be an
> explanation in the text about those other possible cases.

I understand and subscribe to your opinion above. Review and manual 
intervention could help turn an undeliverable message into a deliverable 
one. However, I believe such review should be mandatory prior to 
retrying. To this end, I believe a MUST NOT would better convey the 
importance of such review.

Regarding the number of use cases, I am particularly interested in the 
status quo for most ESPs. I believe the semantics of a 5xx status code 
show an inconsistency between what the spec says and what a substantial 
/ vocal group of operators expect it to do. This is my recollection of 
use cases.

* ESPs tend to interpret a 550 response as "I will not try to send this 
same message to this recipient. I however will still try future 
messages".
* Spamtrap operators following M3AAWG guidance expect that after a 
while, ESPs will remove spamtrap addresses from their lists.
* MTA operators applying an IP-based policy block would rather have the 
ESP stop sending email to the same email addresses over and over.

There are other many use cases that complement this list. I don't think 
all of them can be unambiguously handled by the current definition of 
status codes, mainly because response are tied to the specific message 
being processed in the SMTP session. I believe that an additional set of 
extended SMTP result codes (X.Y.Z) expressing policy decisions that 
transcend the current message might be helpful. e.g.: "Your IP address 
has been blocked", "User does not want to receive email from any of your 
mailing lists".

I am aware of the data that shows little adoption of those extended 
results codes—matches my data as well—but I'm optimistic that if 
these codes allowed for a more accurate filtering by the ESPs, market 
forces would drive adoption and improve on the status quo.

> (Now
> slipping my editor hat back on, for this case, I hope not.)

:-)

Best regards

-lem