Re: [ietf-smtp] [dispatch] Forced SMTP redirects
Paul Smith <paul@pscs.co.uk> Thu, 18 March 2021 14:24 UTC
Return-Path: <paul@pscs.co.uk>
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 A8ECE3A2CA4 for <ietf-smtp@ietfa.amsl.com>; Thu, 18 Mar 2021 07:24:53 -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, NICE_REPLY_A=-0.001, RCVD_IN_DNSWL_BLOCKED=0.001, 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=pscs.co.uk
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 gRXfFZ-Nf9ez for <ietf-smtp@ietfa.amsl.com>; Thu, 18 Mar 2021 07:24:51 -0700 (PDT)
Received: from mail.pscs.co.uk (mail.pscs.co.uk [195.224.19.137]) (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 968443A2C9E for <ietf-smtp@ietf.org>; Thu, 18 Mar 2021 07:24:49 -0700 (PDT)
Authentication-Results: mail.pscs.co.uk; spf=none; auth=pass (cram-md5) smtp.auth=pscs
Received: from lmail.pscs.co.uk ([192.168.66.70]) by mail.pscs.co.uk ([10.224.19.137] running VPOP3) with ESMTPSA (TLSv1.3 TLS_AES_256_GCM_SHA384) for <ietf-smtp@ietf.org>; Thu, 18 Mar 2021 14:24:44 -0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pscs.co.uk; q=dns/txt; s=lmail; h=Subject:To:References:From:Message-ID:Date:MIME-Version:In-Reply-To :Content-Type:Content-Transfer-Encoding:Cc:Reply-to:Sender; t=1616077172; x=1616681972; bh=y3zZAqabrlMmIon9ScauEHV9y0JNSxAo+UHG7szmP88=; b=ZTwv7qE/8lGIiAR5GfwYlKE/msmbLGOrt8Nz4DI1ooZXBVO/n84X9e4gUAzLu8JVArBBsacI pwE8ZhHyEZKBrRlbA0LBZ75TuM/EwWf0l/tfV5XGPBW7wex9zjQVjGxNKMm+Sn6r8FYTy0zpLn gFNPwlSVtthh1pUwV75xiVS2M=
Authentication-Results: lmail.pscs.co.uk; spf=none; auth=pass (cram-md5) smtp.auth=paul
Received: from [192.168.57.136] ([82.68.48.206] (82-68-48-206.dsl.in-addr.zen.co.uk)) by lmail.pscs.co.uk ([192.168.66.70] running VPOP3) with ESMTPSA (TLSv1.3 TLS_AES_256_GCM_SHA384); Thu, 18 Mar 2021 14:19:30 -0000
To: ietf-smtp@ietf.org
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> <e90d22da-e124-4542-8ef6-83798f5725de@gulbrandsen.priv.no> <F5461844610EDF6715D08D1B@PSB>
From: Paul Smith <paul@pscs.co.uk>
Message-ID: <503e5ae8-71a1-8c9e-33b3-5c475d0ad76f@pscs.co.uk>
Date: Thu, 18 Mar 2021 14:19:29 +0000
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.8.0
MIME-Version: 1.0
In-Reply-To: <F5461844610EDF6715D08D1B@PSB>
Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Transfer-Encoding: 7bit
Content-Language: en-GB
X-Authenticated-Sender: paul
X-Server: VPOP3 Enterprise V8.1 - Registered to: PSCS
X-Organisation: Paul Smith Computer Services
X-VPOP3Tester: 12 345
X-Authenticated-Sender: pscs
Archived-At: <https://mailarchive.ietf.org/arch/msg/ietf-smtp/CYjG7Qfr_d8W1qAi0shQ9TjlATw>
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 14:24:54 -0000
On 18/03/2021 13:51, John C Klensin wrote: > There are, I think, two unresolved question about the > interactions with extended reply codes. One is what a client is > expected to do it receives an unrecognized code --either one in > the ranges used by SMTP/5321 or completely out of range (666 > anyone?)-- followed by some digits and periods that might be an > extended code? From our SMTP client's point of view. An *extended* status code can be anything, but the basic status codes have to be 1xx to 5xx (xx can be any non-space character - we're quite forgiving). A response of "451 8.5.1 whoopsie" would be treated as a response of 451 with text "8.2.1 whoopsie" An invalid basic status such as '666' would be treated as a generic 5xx response. I'm not really sure what else could be done with it. We just use the first digit of the basic status code, and pretty much ignore the extended status code. There's the *option* of doing something with it, and the user (server administrator) can set it up to do something with it, but, as far as I am aware, no one ever does, as it's too fragile, and gives negligible benefit for our customers. (For mail servers handling more mail, then I wouldn't be surprised if they do something with the extra digits, but our software is aimed at SMEs, not at Gmail-wannabees.) IME, the code details and extended codes are slightly useful for diagnostic and troubleshooting, but, not really, as most of them are only useful to the remote mail server "administrators", and in most cases those people haven't got a clue what would trigger the different codes. > assumption that, with a problem reply code, the strings cannot > be assumed to be extended response codes. The other is that, > if it were really the case that most MTAs are ignoring all but > the first digit, what are they transmitting back toward the > sender and does it include the extended codes and original text. In SMTP responses we generate we use the 5321 response codes and 3463 extended codes, or the nearest suitable ones (by our guesstimates, since the RFCs don't give values for all possible reasons) In NDRs we generate we use the codes and text given by the remote server, whatever they are. Ours is not to reason why... One of my pet hates is mail servers which decide that ANY 452 code means "Requested action not taken: insufficient system storage" even when the original text is nothing like that. Yes, I have seen that happen, and it's a nightmare to diagnose through. -- Paul Paul Smith Computer Services support@pscs.co.uk - 01484 855800 -- Paul Smith Computer Services Tel: 01484 855800 Vat No: GB 685 6987 53 Sign up for news & updates at http://www.pscs.co.uk/go/subscribe
- [ietf-smtp] Fwd: [dispatch] Forced SMTP redirects E Sam
- Re: [ietf-smtp] Fwd: [dispatch] Forced SMTP redir… John C Klensin
- Re: [ietf-smtp] Fwd: [dispatch] Forced SMTP redir… John Levine
- Re: [ietf-smtp] Fwd: [dispatch] Forced SMTP redir… John C Klensin
- Re: [ietf-smtp] Fwd: [dispatch] Forced SMTP redir… E Sam
- Re: [ietf-smtp] Fwd: [dispatch] Forced SMTP redir… John R Levine
- Re: [ietf-smtp] Fwd: [dispatch] Forced SMTP redir… John Levine
- Re: [ietf-smtp] Fwd: [dispatch] Forced SMTP redir… Dave Crocker
- Re: [ietf-smtp] [dispatch] Forced SMTP redirects Viktor Dukhovni
- Re: [ietf-smtp] [dispatch] Forced SMTP redirects Dave Crocker
- Re: [ietf-smtp] [dispatch] Forced SMTP redirects Viktor Dukhovni
- Re: [ietf-smtp] [dispatch] Forced SMTP redirects Dave Crocker
- Re: [ietf-smtp] [dispatch] Forced SMTP redirects Viktor Dukhovni
- Re: [ietf-smtp] [dispatch] Forced SMTP redirects Sam Varshavchik
- Re: [ietf-smtp] [dispatch] Forced SMTP redirects Viktor Dukhovni
- Re: [ietf-smtp] [dispatch] Forced SMTP redirects John Levine
- Re: [ietf-smtp] [dispatch] Forced SMTP redirects Arnt Gulbrandsen
- Re: [ietf-smtp] [dispatch] Forced SMTP redirects John C Klensin
- Re: [ietf-smtp] [dispatch] Forced SMTP redirects Paul Smith
- Re: [ietf-smtp] [ dispatch] Forced SMTP redirects Laura Atkins
- Re: [ietf-smtp] [dispatch] Forced SMTP redirects Sam Varshavchik
- Re: [ietf-smtp] [ dispatch] Forced SMTP redirects Viktor Dukhovni
- Re: [ietf-smtp] [ dispatch] Forced SMTP redirects Laura Atkins
- Re: [ietf-smtp] [ dispatch] Forced SMTP redirects Ned Freed
- Re: [ietf-smtp] [ dispatch] Forced SMTP redirects Ned Freed
- Re: [ietf-smtp] [ dispatch] Forced SMTP redirects Laura Atkins
- Re: [ietf-smtp] [dispatch] Forced SMTP redirects Ned Freed