Re: [taugh.com-standards] Re: Gen-ART and OPS-Dir review of draft-ietf-appsawg-nullmx-06

Viktor Dukhovni <ietf-dane@dukhovni.org> Tue, 02 September 2014 18:45 UTC

Return-Path: <ietf-dane@dukhovni.org>
X-Original-To: ietf@ietfa.amsl.com
Delivered-To: ietf@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 97E131A065B for <ietf@ietfa.amsl.com>; Tue, 2 Sep 2014 11:45:45 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level:
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9] 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 us6nTk-bVgpz for <ietf@ietfa.amsl.com>; Tue, 2 Sep 2014 11:45:41 -0700 (PDT)
Received: from mournblade.imrryr.org (mournblade.imrryr.org [38.117.134.19]) (using TLSv1.1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 279021A2130 for <ietf@ietf.org>; Tue, 2 Sep 2014 11:45:41 -0700 (PDT)
Received: by mournblade.imrryr.org (Postfix, from userid 1034) id CF86C2AB2AC; Tue, 2 Sep 2014 18:45:38 +0000 (UTC)
Date: Tue, 02 Sep 2014 18:45:38 +0000
From: Viktor Dukhovni <ietf-dane@dukhovni.org>
To: IETF general list <ietf@ietf.org>
Subject: Re: [taugh.com-standards] Re: Gen-ART and OPS-Dir review of draft-ietf-appsawg-nullmx-06
Message-ID: <20140902184538.GL14392@mournblade.imrryr.org>
References: <8D3D17ACE214DC429325B2B98F3AE712077860DD21@MX15A.corp.emc.com> <20140803231730.GO15044@mournblade.imrryr.org> <20140902181145.GJ14392@mournblade.imrryr.org> <alpine.BSF.2.11.1409021427000.24698@joyce.lan>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
In-Reply-To: <alpine.BSF.2.11.1409021427000.24698@joyce.lan>
User-Agent: Mutt/1.5.23 (2014-03-12)
Archived-At: http://mailarchive.ietf.org/arch/msg/ietf/fpxGFNjSciLIiM3VQrsWVGIDat0
X-BeenThere: ietf@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
Reply-To: ietf@ietf.org
List-Id: IETF-Discussion <ietf.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ietf>, <mailto:ietf-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ietf/>
List-Post: <mailto:ietf@ietf.org>
List-Help: <mailto:ietf-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ietf>, <mailto:ietf-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 02 Sep 2014 18:45:45 -0000

On Tue, Sep 02, 2014 at 02:30:57PM -0400, John R Levine wrote:

> >Sadly, though it is very late in the process, I failed to notice
> >this originally, and must belatedly report a significant issue
> >noted by Wietse Venema.  The response code for rejecting a recipient
> >with a nullmx domain and a sender with a nullmx domain are reversed
> >in the draft.
> >
> >Since 521 like 221 and 421 leads to connection drop after the reply,
> 
> Only when it's the SMTP greeting.  In this case it's not.  That suggests
> that JCK's suggestion to have a new RFC to replace 1846 is a good one, since
> it could mention this other fairly obvious use case.

Looking at 1846, it gives a server responding with 521 the choice
of either then dropping the connection or else a mandate to reject
all further commands with 521.  This is wrong, with multi-recipient
mail when only some of the recipients are in the problem domain.

The Postfix SMTP server, drops the connection when its response
code is 521.  So 521 is definitely problematic in the "RCPT TO:"
case.

> >it is only appropriate when the entire envelope will be rejected.
> >Thus 521 goes with rejection of a nullmx sender domain and 550
> >with a particular nullmx recipient.
> 
> No, 550 to reject the MAIL FROM is correct.  See RFC 5321, sec 3.3.  It's a
> policy rejection.

I'm not religious on 521 for "MAIL FROM:".  550 is fine too.

This is a bug report about the "RCPT TO:" 521 code, I thought
perhaps they were switched accidentally.

-- 
	Viktor.