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

Arnt Gulbrandsen <arnt@gulbrandsen.priv.no> Thu, 18 March 2021 09:36 UTC

Return-Path: <arnt@gulbrandsen.priv.no>
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 A8E053A2605 for <ietf-smtp@ietfa.amsl.com>; Thu, 18 Mar 2021 02:36:35 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.097
X-Spam-Level:
X-Spam-Status: No, score=-2.097 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_NONE=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=gulbrandsen.priv.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 6yamV7sN94oJ for <ietf-smtp@ietfa.amsl.com>; Thu, 18 Mar 2021 02:36:33 -0700 (PDT)
Received: from stabil.gulbrandsen.priv.no (stabil.gulbrandsen.priv.no [144.76.73.169]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 9BA643A2608 for <ietf-smtp@ietf.org>; Thu, 18 Mar 2021 02:36:33 -0700 (PDT)
Received: from stabil.gulbrandsen.priv.no (stabil.gulbrandsen.priv.no [IPv6:2a01:4f8:191:91a8::3]) by stabil.gulbrandsen.priv.no (Postfix) with ESMTP id 54CBFC0165; Thu, 18 Mar 2021 09:43:57 +0000 (GMT)
Authentication-Results: stabil.gulbrandsen.priv.no; dmarc=none (p=none dis=none) header.from=gulbrandsen.priv.no
Authentication-Results: stabil.gulbrandsen.priv.no; spf=none smtp.mailfrom=arnt@gulbrandsen.priv.no
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gulbrandsen.priv.no; s=mail; t=1616060637; bh=xg89T9RS0x6W+kFDIDesOZTiTxdEXrLSufO8lYYtEjg=; h=From:To:Subject:Date:In-Reply-To:References:From; b=ad4FL/k6fl8ytdfXPlMknNqVeaxF+7ZW2e3351FuuuZHqRHL6WRKJrpMaCz+JKI/H r5kY1d73LO1VeTJglqk8mEtziK4GiEJdEh2mik7Pz0g0OQT19XhShm7+BfpQZsx0Jx +L3O9vO6fLKKTJpuvehIw/8h207BesV1H0BiOAZs=
Received: from arnt@gulbrandsen.priv.no by stabil.gulbrandsen.priv.no (Archiveopteryx 3.2.0) with esmtpsa id 1616060636-23910-23908/9/1; Thu, 18 Mar 2021 09:43:56 +0000
From: Arnt Gulbrandsen <arnt@gulbrandsen.priv.no>
To: ietf-smtp@ietf.org
Date: Thu, 18 Mar 2021 10:55:20 +0100
Mime-Version: 1.0
Message-Id: <e90d22da-e124-4542-8ef6-83798f5725de@gulbrandsen.priv.no>
In-Reply-To: <20210318003233.DC44C70A8F5D@ary.qy>
References: <CAKFo7wkawgk-Yj676kE5MqK8XuebuArMexH-eOdq_Uo7ijdimQ@mail.gmail.com> <20200710015947.0BE2D1C78A2F@ary.qy> <CAKFo7w=MJBt0FdnCcOZCXZWdkd6Jinv4TqwdpefdoaCncbZH3Q@mail.gmail.com> <6AEA7D44C8037B32BC1F3810@PSB> <81d0132b-3ebf-2b0b-756b-503bb5afdb37@dcrocker.net> <8E2D8138-EE61-486A-B957-A922F0C6F4B3@dukhovni.org> <20210318003233.DC44C70A8F5D@ary.qy>
User-Agent: Trojita/0.7; Qt/5.11.3; xcb; Linux; Devuan GNU/Linux 3 (beowulf)
Content-Type: text/plain; charset="utf-8"; format="flowed"
Archived-At: <https://mailarchive.ietf.org/arch/msg/ietf-smtp/Gj04lUK1qHkyCRRxLvtqioRQR0M>
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, 18 Mar 2021 09:36:36 -0000

On Thursday 18 March 2021 01:32:33 CET, John Levine wrote:
> I'd flip it around.  Do we have examples of MTAs that look at 
> the other digits
> in responses to MAIL, RCPT, or DATA comands?

I searched github for "smtp 354" now, on the theory that that number won't 
be used for much other than the response code. Finding the first smtp 
client that expects 354 instead of 3 took maybe a whole minute. That 
package is a tool used by innumerable web sites to send mail. I expect I'd 
find many more if I were to spend a few more minutes looking.

While scrolling down I saw lots of unit tests that used 354, which makes me 
suspect that half of that software would break if fed 353 or 355 (and some 
would break in exciting ways).

Arnt