Re: [Emailcore] MDAs (was: Re: Delivered-To issues)

Dave Crocker <dhc@dcrocker.net> Fri, 08 January 2021 03:01 UTC

Return-Path: <dhc@dcrocker.net>
X-Original-To: emailcore@ietfa.amsl.com
Delivered-To: emailcore@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 4EDBA3A0115 for <emailcore@ietfa.amsl.com>; Thu, 7 Jan 2021 19:01:10 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.381
X-Spam-Level:
X-Spam-Status: No, score=-2.381 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.262, RCVD_IN_MSPIKE_H4=-0.01, RCVD_IN_MSPIKE_WL=-0.01, 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 (2048-bit key) header.d=dcrocker.net
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 r8NtOv7sCTh5 for <emailcore@ietfa.amsl.com>; Thu, 7 Jan 2021 19:01:08 -0800 (PST)
Received: from hedgehog.birch.relay.mailchannels.net (hedgehog.birch.relay.mailchannels.net [23.83.209.81]) (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 593D43A0100 for <emailcore@ietf.org>; Thu, 7 Jan 2021 19:01:07 -0800 (PST)
X-Sender-Id: hostingeremail|x-authsender|dhc@dcrocker.net
Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 96C20124760; Fri, 8 Jan 2021 03:01:06 +0000 (UTC)
Received: from nl-srv-smtpout2.hostinger.io (100-98-64-116.trex.outbound.svc.cluster.local [100.98.64.116]) (Authenticated sender: hostingeremail) by relay.mailchannels.net (Postfix) with ESMTPA id 67081124076; Fri, 8 Jan 2021 03:01:04 +0000 (UTC)
X-Sender-Id: hostingeremail|x-authsender|dhc@dcrocker.net
Received: from nl-srv-smtpout2.hostinger.io ([UNAVAILABLE]. [145.14.159.14]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384) by 0.0.0.0:2500 (trex/5.18.11); Fri, 08 Jan 2021 03:01:06 +0000
X-MC-Relay: Neutral
X-MailChannels-SenderId: hostingeremail|x-authsender|dhc@dcrocker.net
X-MailChannels-Auth-Id: hostingeremail
X-Shelf-Wide-Eyed: 40c77d3e6ae69586_1610074865689_3329229057
X-MC-Loop-Signature: 1610074865688:2809054771
X-MC-Ingress-Time: 1610074865688
Received: from [192.168.0.109] (c-24-130-62-181.hsd1.ca.comcast.net [24.130.62.181]) (Authenticated sender: dhc@dcrocker.net) by nl-srv-smtpout2.hostinger.io (smtp.hostinger.com) with ESMTPSA id 4C95F333EFAF; Fri, 8 Jan 2021 03:01:01 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=dcrocker.net; s=hostingermail-a; t=1610074862; bh=YpM8NdlCfpiaEe32HbQKsKENiMNnsnvshk8EoW0Qspg=; h=Reply-To:Subject:To:Cc:References:From:Date:In-Reply-To; b=F+m1Sjq8QMclJXdVMce6o43DucI291OC4Q41etScp9k94GqNHkoE8mC3h9jYDQlzL ELNsZYbJ7gLOxUh3FQ/9cZakuNncHPC0gzAymdkfy9ekd+I//XmhOWl1gO6/UpWxgI TwsSpQtb8/plwHjhOabft2QnjGY0XMqE6ZXKqVUCOC81Ff64LAASAiR87MYLQoBEws JDuv4br76/gDrb978BXJvaaDJfK3a1rLpvCrlGE/JsxhLWBG8NQYGIMsts2f/jUsPg jfqEYdY8PaGUg62CpUTega9r7BoFnJDGXFE9NAXz80n+lYJMh7nv8ZNlVZhm6QB8mu pt3ULJ4bWTipA==
Reply-To: dcrocker@bbiw.net
To: Ned Freed <ned.freed@mrochek.com>
Cc: emailcore@ietf.org
References: <20210106170718.9F6335CC249C@ary.qy> <bc5901e1-db8c-be83-54d9-47a48d2134be@tana.it> <9AE5B08FCF664B8F9A7721C2@PSB> <c961c91c-e29a-94aa-62bd-a3c16ded14a@taugh.com> <01RU3P9I4R8W004QVR@mauve.mrochek.com>
From: Dave Crocker <dhc@dcrocker.net>
Organization: Brandenburg InternetWorking
Message-ID: <44b4b60e-58ce-7ac1-66d3-26c59722722b@dcrocker.net>
Date: Thu, 07 Jan 2021 19:00:58 -0800
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.6.0
MIME-Version: 1.0
In-Reply-To: <01RU3P9I4R8W004QVR@mauve.mrochek.com>
Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Language: en-US
Content-Transfer-Encoding: 7bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/emailcore/Q4OiRqCOfDBcbTC2q2XjN_3pR8Y>
Subject: Re: [Emailcore] MDAs (was: Re: Delivered-To issues)
X-BeenThere: emailcore@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: EMAILCORE proposed working group list <emailcore.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/emailcore>, <mailto:emailcore-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/emailcore/>
List-Post: <mailto:emailcore@ietf.org>
List-Help: <mailto:emailcore-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/emailcore>, <mailto:emailcore-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 08 Jan 2021 03:01:10 -0000

On 1/7/2021 3:31 PM, Ned Freed wrote:
> There's also the relatied issue that AKAIK aliases operations don't 
> reenter the
> MTA through a submission operation.
> And this gets to my issues with intertwining aliasing with delivery, and 
> the
> suggestion that we can just drop the discussion of aliases versus mailing
> lists.
> 
> If we do this then delivery becomes a meaningless abstraction with
> no substance. And while I agree with Dave that we must not let 
> implementation details define our model, I get very nervous when
> there's nothing whatsoever in my implementation - or any of several
> other implementations I'm familiar with - that corresponds to a major
> delineation in the model.

Consider:

2.3.11.  Mailbox and Address
...
    standard mailbox naming convention is defined to be
    "local-part@domain"; contemporary usage permits a much broader set of
    applications than simple "user names".  Consequently, and due to a
    long history of problems when intermediate hosts have attempted to
    optimize transport by modifying them, the local-part MUST be
    interpreted and assigned semantics only by the host specified in the
    domain part of the address.


Interpretation of Local-part is inappropriate for an MTA. Having the 
Local-part be globally opaque is an important feature of Internet Mail. 
  (It has enabled quite a bit of easy extensibility of the decades.)

That makes interpretation of local-part an MDA function.

While, yes, aliasing typically goes through completely different code 
paths than normal 'delivery' and 'submission', we should focus, instead, 
on scope and responsibility, rather than code.

Either aliasing is in (or after) MDA functionality, or we need to define 
aliasing as an integrated part of MTA functionality, which means 
local-part is /not/ opaque.

Or we need to define multiple types of MTAs.  But I thought that was the 
point behind defining MSA and MDA architectural components.


>> > Certainly it would be desirable for a description of
>> > Delivered-To: (or Envelope-To:) in some other spec to reference
>> > such text if it appeared in 5321bis but, ...
> 
>> It is my impression that we agree that if it goes anywhere it'll be a
>> separate draft.
> 
> Yep. And while I don't really mind discussing it on this list, if
> it's getting confused with the revision or delaying it the
> delivered-to discussion needs to be moved elsewhere.
Where should it be discussed?  I understand the charter issue, but 
really, this is the currently-active venue for email focus in the IETF. 
  (And with my typical naivety, or at least optimism, I'm hoping that 
dealing with Deliver-To goes quickly.  I expect to circulate an I-D next 
week.  Maybe this weekend.)


-- 
Dave Crocker
Brandenburg InternetWorking
bbiw.net