Re: [Gen-art] Review: draft-klensin-smtp-521code-05.txt

John C Klensin <john-ietf@jck.com> Tue, 17 March 2015 14:22 UTC

Return-Path: <john-ietf@jck.com>
X-Original-To: gen-art@ietfa.amsl.com
Delivered-To: gen-art@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 1705D1A1A73 for <gen-art@ietfa.amsl.com>; Tue, 17 Mar 2015 07:22:02 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.61
X-Spam-Level:
X-Spam-Status: No, score=-2.61 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, T_RP_MATCHES_RCVD=-0.01] autolearn=ham
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 9uarxHJmqItw for <gen-art@ietfa.amsl.com>; Tue, 17 Mar 2015 07:22:00 -0700 (PDT)
Received: from bsa2.jck.com (bsa2.jck.com [70.88.254.51]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 60BA71A1A4D for <gen-art@ietf.org>; Tue, 17 Mar 2015 07:22:00 -0700 (PDT)
Received: from [198.252.137.35] (helo=JcK-HP8200.jck.com) by bsa2.jck.com with esmtp (Exim 4.82 (FreeBSD)) (envelope-from <john-ietf@jck.com>) id 1YXsNW-000Czo-PA; Tue, 17 Mar 2015 10:21:54 -0400
Date: Tue, 17 Mar 2015 10:21:49 -0400
From: John C Klensin <john-ietf@jck.com>
To: Barry Leiba <barryleiba@computer.org>, "Joel M. Halpern" <jmh@joelhalpern.com>
Message-ID: <7C57505DBD1E7EB8518C2694@JcK-HP8200.jck.com>
In-Reply-To: <CALaySJ+3UWJGz_MjSZt=KqBnV+az4mVsKmnWi06q6kYCkO7Q7g@mail.gmail.com>
References: <550212BD.6070506@nostrum.com> <550229E7.3080304@joelhalpern.com> <CALaySJ+3UWJGz_MjSZt=KqBnV+az4mVsKmnWi06q6kYCkO7Q7g@mail.gmail.com>
X-Mailer: Mulberry/4.0.8 (Win32)
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
X-SA-Exim-Connect-IP: 198.252.137.35
X-SA-Exim-Mail-From: john-ietf@jck.com
X-SA-Exim-Scanned: No (on bsa2.jck.com); SAEximRunCond expanded to false
Archived-At: <http://mailarchive.ietf.org/arch/msg/gen-art/XZdkpPEPBlsU6NvAfjPj-4H-Kec>
Cc: General Area Review Team <gen-art@ietf.org>, Tony Hansen <tony@att.com>
Subject: Re: [Gen-art] Review: draft-klensin-smtp-521code-05.txt
X-BeenThere: gen-art@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: "GEN-ART: General Area Review Team" <gen-art.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/gen-art>, <mailto:gen-art-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/gen-art/>
List-Post: <mailto:gen-art@ietf.org>
List-Help: <mailto:gen-art-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/gen-art>, <mailto:gen-art-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 17 Mar 2015 14:22:02 -0000


--On Monday, March 16, 2015 23:06 -0400 Barry Leiba
<barryleiba@computer.org> wrote:

> Joel, thanks for the review.
> 
>> Minor issues:
>>     The description of the 556 reply code in section 4 seems
>>     to switch between refering to the generating entity as a
>> client and as a sesrver.  I presume this is because the
>> actual sitaution is an SMTP server is trying to pass
>> information onwards, and in that onwards direction it is a
>> client which.  But it is still confusing for an SMTP client
>> to make a determination and then an SMTP server which is
>> apparently the same entity to generate the rror code to some
>> other SMPT client.
> 
> You're right about why, and you're right that it's confusing.
> I think the reader and the text would be better served by
> changing the first instance of the word "client" (in the
> second sentence) to "server". Even though the server is acting
> as a client when it makes the determination that sentence is
> talking about, it's acting as a server in the sense that it
> will be returning a 556 to the client that it's serving.
> Calling it a "client" here only confuses things.

Hi.  While I agree that the existing text is confusing (although
correct), the suggested fix just substitutes one confusing
arrangement for another, with "server" used twice in the same
sentence to refer to two different hosts that serve two
different roles.  See if the following rather more complete
rewrite for that second sentence works better:

	When an intermediate SMTP system (typically a relay)
	that would normally attempt to open a mail connection to
	a host referred to in a forward-pointing address can
	determine that the host does not accept mail
	connections, and do so without attempting to open a
	connection to that target host, it is appropriate for it
	to return a reply with a 556 code to the system that
	sent it the message for outbound transmission.

The eliminates the "client" and "server" terminology entirely
and talks instead about actual functions.  I'm tired and there
are probably better ways to stay that, but I think it is an
improvement over both the existing text and the client -> server
patch.

There is a case that the above doesn't cover, but neither does
the original paragraph, and that is when a submission server
(sic) encounters a nullMX record or equivalent on initial
lookup.  When the submission server tries to do that, it is
acting as an SMTP client, but the status of messages it returns
to the submitting MUA is deliberately very flexible in the spec
(see Section 3.2 of RFC 6409).

     john