Re: [ietf-smtp] Endless debate on IP literals

Hector Santos <hsantos@isdg.net> Thu, 02 January 2020 16:48 UTC

Return-Path: <hsantos@isdg.net>
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 D565E120178 for <ietf-smtp@ietfa.amsl.com>; Thu, 2 Jan 2020 08:48:46 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level:
X-Spam-Status: No, score=-2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, 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=isdg.net header.b=LB0OH+1c; dkim=pass (1024-bit key) header.d=beta.winserver.com header.b=Sb5yHx4f
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 oEi1HpyrqTbj for <ietf-smtp@ietfa.amsl.com>; Thu, 2 Jan 2020 08:48:44 -0800 (PST)
Received: from mail.winserver.com (mail.winserver.com [76.245.57.69]) (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 2ECC5120170 for <ietf-smtp@ietf.org>; Thu, 2 Jan 2020 08:48:44 -0800 (PST)
DKIM-Signature: v=1; d=isdg.net; s=tms1; a=rsa-sha1; c=simple/relaxed; l=3938; t=1577983719; atps=ietf.org; atpsh=sha1; h=Received:Received:Received:Received:Message-ID:Date:From: Organization:To:Subject:List-ID; bh=lqh0ajvLWUCiaVLrclTgdaf1nSU=; b=LB0OH+1cuY0fkPYOl0gIq9bPH/g7eOiaY7TLUPSXBb0qpwH4HmDCePgS8IPbpi mK/FsusDSXJV7EjjHC67u+Wkz/PvlCpe7KtQe8jQmuZlyx3jjTjbtOSmTYgf6/y4 XXCftOsbk3BPJt5Vs9PrrHhjFyoit/E0jwazODSPBh7gY=
Received: by winserver.com (Wildcat! SMTP Router v8.0.454.9) for ietf-smtp@ietf.org; Thu, 02 Jan 2020 11:48:39 -0500
Authentication-Results: dkim.winserver.com; dkim=pass header.d=beta.winserver.com header.s=tms1 header.i=beta.winserver.com; dmarc=pass policy=reject author.d=isdg.net signer.d=beta.winserver.com (atps signer);
Received: from beta.winserver.com ([76.245.57.74]) by winserver.com (Wildcat! SMTP v8.0.454.9) with ESMTP id 1596086578.1.4644; Thu, 02 Jan 2020 11:48:38 -0500
DKIM-Signature: v=1; d=beta.winserver.com; s=tms1; a=rsa-sha256; c=simple/relaxed; l=3938; t=1577983540; h=Received:Received: Message-ID:Date:From:Organization:To:Subject:List-ID; bh=CeN6RJG GQn+24f4eJXTahbv8rk/kRCWesyUgjaIWlSI=; b=Sb5yHx4fje42eZjO8gvXYD/ kHS5LpVI/wtt9loDeFMtEjilfUn7vjrUM0b05kgZMrwluJXr7LpN21U0c8G75wrY yNhvMpmucqP6sVj3dgiMBZBanVjwHAQq8cGLiAO04a9alYdVjj/BVuRBk/SJTRfi +f6OHiRs37AmlzNqHKl4=
Received: by beta.winserver.com (Wildcat! SMTP Router v8.0.454.9) for ietf-smtp@ietf.org; Thu, 02 Jan 2020 11:45:40 -0500
Received: from [192.168.1.68] ([75.26.216.248]) by beta.winserver.com (Wildcat! SMTP v8.0.454.9) with ESMTP id 2158720187.1.2020; Thu, 02 Jan 2020 11:45:39 -0500
Message-ID: <5E0E1EE7.9040506@isdg.net>
Date: Thu, 02 Jan 2020 11:48:39 -0500
From: Hector Santos <hsantos@isdg.net>
Reply-To: hsantos@isdg.net
Organization: Santronics Software, Inc.
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.8.1
MIME-Version: 1.0
To: ietf-smtp@ietf.org
References: <alpine.BSF.2.21.99999.352.2001011101090.45428@gal.iecc.com> <482744ba-3a37-1fd8-48dd-0d8f58524abe@network-heretics.com>
In-Reply-To: <482744ba-3a37-1fd8-48dd-0d8f58524abe@network-heretics.com>
Content-Type: text/plain; charset="UTF-8"; format="flowed"
Content-Transfer-Encoding: 7bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/ietf-smtp/GgAcIn_Ik8pIaLW-dN7eFK2omw4>
Subject: Re: [ietf-smtp] Endless debate on IP literals
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, 02 Jan 2020 16:48:47 -0000

On 1/1/2020 11:30 AM, Keith Moore wrote:
> On 1/1/20 11:01 AM, John R Levine wrote:
>
>> I'm thinking, for example, of DMA (Dragonfly Mail Agent), a small
>> almost MTA that I use on my small server boxes.  Even though DMA can
>> technically do all the things that 5321 says an MTA is supposed to do,
>> I have it configured to relay everything to the submission server on
>> my real MTA rather than trying to send mail directly.
>
> I've been wondering if there's a need to talk about (for lack of a
> better term) "pre-submission relaying" which happens when a message is
> (for whatever reason) not initially submitted to a real submission
> server that does whatever sanity checking and fixup are needed to make
> the message suitable for relaying into the global email system.

Interesting. A SMTP lint or MCA "Mail Compliancy Agent?"

   MTA <--> MCA
        --> MDA

The MTA connects to the MCA which can issue MCN (Mail Compliancy 
Notification) responses vis reply codes as an initial check. If 
positive, the MTA continues with the normal transport with a higher 
confidence all will work.  But what if the MCA doesn't match the 
target MDA checks, like at mail.ietf.org who will reject valid 
ip-literal usage?

Also, once MCA certification takes place, is it turn off, because it 
becomes redundant at that point.  It would be a nice idea for SMTP 
test site for new and updated MTAs.

Under wcSMTP and I believe across many other peer products, a "SMART 
HOST" concept is used. The profile and configuration in wcSMTP allows 
for sessions attributes:

- Profile Name: Target Email Domain
- required field: mail host domain
- optional field: port, default 25
- optional field: EHLO field, if blank, dynamic FQDN::IP-literal
- optional field: TLS Yes/No
- optional Field: ESMTP AUTH credentials

> The next thing I wonder is what port should be used for pre-submission
> relaying, or whether there should be a separate port for that, or
> whether there's a need for in-band signaling to tell an MTA which role
> it is supposed to play for a particular transaction.   (Somehow I
> don't think yet another port is a good idea, as I suspect that it just
> has the effect of giving people more confusing configuration choices
> to make).

No more ports please, :-) but you reminded me of another new 
legitimate section item for RFC5321bis:

- "Well-known" Protocol for MUA Configuration

https://tools.ietf.org/html/rfc8615

I did not use this, but I followed the Mozilla Thunderbird 
"well-known" setup for the next update of wcSMTP for auto-configuration:

https://wiki.mozilla.org/Thunderbird:Autoconfiguration:ConfigFileFormat

> So to my mind the
> question then becomes, how do we unambiguously indicate where that
> fixup is to be done, so that it is only done once?

I see the "MCA" as an optional testing site.  It would be redundant 
once the kinks are worked out.

Some of us remember Fidonet, but back in the day, a new Fidonet 
installation node MUST have a valid compliant mail client/server 
frontend that following FTN1 specification before getting an address 
for the world-wide public nodelist.  Each local regional networks had 
a Network Hub who did the compliancy testing.

That would be equivalent to a domain registrar or ISP not giving you a 
DOMAIN or not allowed to get on the network or put the domain in DNS 
unless your SMTP installation supported the original protocol RFC788 
which predated RFC821.

I use to say it was the beginning of the demise when Fidonet 
Developers who were now working on X.25 and the coming IP world, were 
stuck supporting a primitive FTN1 (XMODEM based packet transfer 
protocol) when we now had text-based WAZOO client/server negotiating 
link phases.  That would be akin to having EHLO. If you didn't support 
it, you would not be allowed to send/receive mail.

Fortunately, the IETF did not go to this extent.

-- 
HLS