Re: [ietf-smtp] [dispatch] Forced SMTP redirects

Ned Freed <ned.freed@mrochek.com> Thu, 25 March 2021 23:35 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 6CF953A0F44 for <ietf-smtp@ietfa.amsl.com>; Thu, 25 Mar 2021 16:35:20 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.099
X-Spam-Level:
X-Spam-Status: No, score=-2.099 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_HELO_NONE=0.001, 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 ofNXrDkMlsp8 for <ietf-smtp@ietfa.amsl.com>; Thu, 25 Mar 2021 16:35:15 -0700 (PDT)
Received: from plum.mrochek.com (plum.mrochek.com [172.95.64.195]) (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 D8A503A0F41 for <ietf-smtp@ietf.org>; Thu, 25 Mar 2021 16:35:15 -0700 (PDT)
Received: from dkim-sign.mauve.mrochek.com by mauve.mrochek.com (PMDF V6.1-1 #35243) id <01RX3B4QLN1S00EVD9@mauve.mrochek.com> for ietf-smtp@ietf.org; Thu, 25 Mar 2021 16:30:11 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mrochek.com; s=201712; t=1616715010; bh=XTClAjlo/hUPYwJ4MlWz8kHoyfvNyo6IXPd3GTPfar8=; h=Cc:Date:From:Subject:In-reply-to:References:To:From; b=RQ0hQoRWF54wfCb9RkQAuusfrmoyjh7yO/Lroe0s3yI9VPH1CTkTiepojSzKnaNaJ CULTWlh6swaoJ08+xNTVVYQZSBT+UyNtevmWo6XDbUi+w8L+VyWFgjH2RcDCF3Ss4A KrU5EL9QN95ORfkNBfX3vpM57sRfjgPVH79p8NPY=
MIME-version: 1.0
Content-transfer-encoding: 7bit
Content-type: TEXT/PLAIN; CHARSET="US-ASCII"; format="flowed"; delsp="yes"
Received: from mauve.mrochek.com by mauve.mrochek.com (PMDF V6.1-1 #35243) id <01RX3853M0IO0085YQ@mauve.mrochek.com>; Thu, 25 Mar 2021 16:30:08 -0700 (PDT)
Cc: ietf-smtp@ietf.org
Message-id: <01RX3B4OVDH40085YQ@mauve.mrochek.com>
Date: Thu, 25 Mar 2021 16:25:01 -0700
From: Ned Freed <ned.freed@mrochek.com>
In-reply-to: "Your message dated Thu, 18 Mar 2021 19:03:19 -0400" <cone.1616108599.672139.100128.1004@monster.email-scan.com>
References: <81d0132b-3ebf-2b0b-756b-503bb5afdb37@dcrocker.net> <8E2D8138-EE61-486A-B957-A922F0C6F4B3@dukhovni.org> <20210318003233.DC44C70A8F5D@ary.qy> <e90d22da-e124-4542-8ef6-83798f5725de@gulbrandsen.priv.no> <F5461844610EDF6715D08D1B@PSB> <503e5ae8-71a1-8c9e-33b3-5c475d0ad76f@pscs.co.uk> <cone.1616108599.672139.100128.1004@monster.email-scan.com>
To: Sam Varshavchik <mrsam@courier-mta.com>
Archived-At: <https://mailarchive.ietf.org/arch/msg/ietf-smtp/AGkb2zyC52GgYN09r_xDpjz76To>
Subject: Re: [ietf-smtp] [dispatch] Forced SMTP redirects
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, 25 Mar 2021 23:35:20 -0000

> Paul Smith writes:

> > We just use the first digit of the basic status code, and pretty much ignore
> > the extended status code.

> The most common uses of extended status code appears to be in user-facing
> email systems. When their users' mail bounces the extended status code
> selects one of templates consisting of a long novel for a bounce message,
> decorated with pretty fonts and animated graphics, that boils down to
> "please don't contact our customer service/helpdesk about this, we can't do
> anything about it", that attempts to explain to the reader why the message
> cannot be delivered.

This is exactly they were intended to do: Provide detailed - and localized -
explanations of why an error occurred.

> That's pretty much all that status code seems to be used for. When I'm
> implementing the logic for an SMTP client the only thing I need to know, for
> any given command's results is whether it succeeded, failed, or I should try
> again later. So, if it's '1', '2', or '3', the operation is deemed as a
> success, '4' means try again, and everything else means a failure. I've yet
> to find myself in any situation where any other outcome is possible.

Use to classify faiures as "hard" or "soft" is quite common, as are any
number of more specialized (and mostly nonstandard) uses. AFAICR this
usage was never envisioned at the time they were standardized.

				Ned