Re: [ietf-smtp] EHLO domain validation requirement in RFC 5321

Laura Atkins <laura@wordtothewise.com> Mon, 28 September 2020 13:10 UTC

Return-Path: <laura@wordtothewise.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 AAF3D3A1120 for <ietf-smtp@ietfa.amsl.com>; Mon, 28 Sep 2020 06:10:11 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.077
X-Spam-Level:
X-Spam-Status: No, score=-1.077 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, HTML_MESSAGE=0.001, MISSING_HEADERS=1.021, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=no autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=wordtothewise.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 FqU9zrMExzvm for <ietf-smtp@ietfa.amsl.com>; Mon, 28 Sep 2020 06:10:10 -0700 (PDT)
Received: from mail.wordtothewise.com (mail.wordtothewise.com [104.225.223.158]) by ietfa.amsl.com (Postfix) with ESMTP id 042613A1116 for <ietf-smtp@ietf.org>; Mon, 28 Sep 2020 06:10:09 -0700 (PDT)
Received: from [192.168.0.227] (unknown [37.228.231.27]) by mail.wordtothewise.com (Postfix) with ESMTPSA id AF8179F1F7 for <ietf-smtp@ietf.org>; Mon, 28 Sep 2020 06:10:08 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=wordtothewise.com; s=aardvark; t=1601298609; bh=Xa0mP5npkUqN5R9B4Rw9lL6vCghMB66gxz0bFQyhZEk=; h=From:Subject:Date:In-Reply-To:Cc:References:From; b=iXrjfVyyAW84znaiGUxXN1GRhkGJMBDtscXb8CLLyxBPMuZXcYna3e6bvo34RBDO7 2TkGLa9er6kX1pA4dXKySAF4jw8c6BpgYgec5DeLWH+UkhrpsGo825NsXVlFuuOFl6 hj7Mkn7UOJpfFDRpVdUysnH0Z7N4q6rObtzXpIvM=
From: Laura Atkins <laura@wordtothewise.com>
Content-Type: multipart/alternative; boundary="Apple-Mail=_C3376399-FA8A-4C54-9767-FAA854189FA3"
Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.1\))
Date: Mon, 28 Sep 2020 14:10:06 +0100
In-Reply-To: <aff3fde6-f120-1fb7-f8fb-eec8e16ac86e@network-heretics.com>
Cc: ietf-smtp@ietf.org
References: <cone.1601250950.437858.35945.1004@monster.email-scan.com> <ac132a1a-ec83-1ec6-dd34-85fd3bba95c5@network-heretics.com> <cone.1601252021.530626.35945.1004@monster.email-scan.com> <6330c607-5ede-4766-1823-5c8be8a9097b@network-heretics.com> <s1Gob6BEOTcfFAg3@highwayman.com> <3b1279c2-ce25-2c74-cfe4-89fe31075c06@network-heretics.com> <cone.1601257917.859397.35945.1004@monster.email-scan.com> <e37088fc-ccad-1a4b-7216-a7c11a365e0b@network-heretics.com> <399AEACC-81F0-4355-AB98-74896A772147@wordtothewise.com> <7df1611b-e664-131d-376d-1cab87ad6409@network-heretics.com> <F2BFE794-A258-4617-93BC-56ECE582CCE7@wordtothewise.com> <aff3fde6-f120-1fb7-f8fb-eec8e16ac86e@network-heretics.com>
Message-Id: <FB243215-59BA-424F-9E31-2954561E22E8@wordtothewise.com>
X-Mailer: Apple Mail (2.3608.120.23.2.1)
Archived-At: <https://mailarchive.ietf.org/arch/msg/ietf-smtp/LJZiIBxy27qCQoeayaxne0vKzpY>
Subject: Re: [ietf-smtp] EHLO domain validation requirement in RFC 5321
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: Mon, 28 Sep 2020 13:10:12 -0000


> On 28 Sep 2020, at 13:53, Keith Moore <moore@network-heretics.com> wrote:
> 
> On 9/28/20 8:04 AM, Laura Atkins wrote:
> 
>> 
>>> But if the RFC recommends poor practice, it will be harder to change that poor practice, because some people will say "but the RFC says...!"   So the RFC should not recommend poor practice.
>> 
>> What is your evidence that it is poor practice? 
>> 
>>> If, OTOH, the RFC recommends NOT filtering based on EHLO arguments, then it will be at least a bit easier for operators to stop doing that when they start               seeing that it's a bad idea.
>> 
>> What is your evidence that it’s a bad idea?
> I've made those arguments multiple times already.  "evidence" seems like the wrong thing to ask for because this is really a question of design - what choices should be made to allow the email network to continue operating seamlessly and efficiently in the event of widespread use of NAT within the network (either to gateway between IPv4 and IPv6 or to economize use of IPv4 space)?
> 
I’ve seen lots of arguments, yes, but I’ve not seen any real evidence backing up your assertions. I’m trying to better understand your point of view and understand why this is so important. But it’s been hard to find that in the sniping. 

The design question is one that should be discussed, but is this the correct space for that? 
>>> I'm thinking long term here.   I expect 5321bis, if we do our jobs right, to be around for decades.   So its recommendations need to make sense in the long term rather than the short term.
>> 
>> That presumes that your recommendation makes sense and that allowing any random NATed machine to connect to the internet and send mail is a good thing. I think we have ample evidence that this is actually an abuse vector and a bad thing.
> I disagree.   At one time NAT was mostly associated with consumer grade routers, therefore NATted mail was unlikely to originate from a mail service provider, and more likely to originate from a compromised PC.   But "carrier grade" or "large scale" NATs are increasingly being used within the network (rather than only at the periphery) in order to maximize use of IPv4 address space in the face of increasing address scarcity.   Various flavors of NAT have also emerged as the likely best way to exchange traffic between IPv6 and IPv4, and their use is also increasing.
> 
I understand carrier grade nat, thank you. 

I was struggling to come up with use cases. I understand the use case now, and better understand why you’re bringing this up thinking about the v6 to v4 NATing going on. 
>> What changes do you see happening that will make this currently good practice become a bad one. 
> The changes I see happening include the increasing scarcity of IPv4 address space and the consequent emergence of IPv6-only network providers using NAT to move packets between IPv4 and IPv6 addressing domains.  I'm also anticipating the need to eventually phase out the public IPv4 Internet altogether.    
> 
Or we could write the BIS to recommend anyone running v4 services also provide v6 services, couldn’t we? Take the burden off the v6 only systems which are likely newer entrants and put it on the ‘old timers’ who’ve been around for decades. 
> (From operators' perspective: how long does it make sense for every network to maintain its IPv4 baggage, just so that email won't be blocked?   At the very least we need input from network operators.)
> 
My experience is that folks running MTAs on IPv6 actually enact stricter technical requirements on those systems. For instance, many IPv4 servers will accept mail without valid rDNS on the sending IP or will accept mail without SPF records, while the IPv6 servers run by the same entities require those things directly. 
>>> It doesn't actually bother me that much if existing operators filter based on EHLO validation as long as they re-evaluate that policy over time.   I expect operators to be pragmatists.   But I really do expect use of NAT64 to increase, and I really think it's unhelpful to network operators if reliable email operation requires them all to maintain static IPv4 addresses and connections to the public IPv4 Internet.   It's silly for email to delay a transition away from IPv4 for this reason.
>> 
>> Can you explain this use case in more detail? 
> I'm not sure what I've left out.
> 
This makes things clearer. 

laura
-- 
Having an Email Crisis?  We can help! 800 823-9674 

Laura Atkins
Word to the Wise
laura@wordtothewise.com
(650) 437-0741		

Email Delivery Blog: https://wordtothewise.com/blog