Re: [ietf-smtp] Fwd: New Version Notification for draft-crocker-email-deliveredto-00.txt

Dave Crocker <dhc@dcrocker.net> Fri, 05 February 2021 14:53 UTC

Return-Path: <dhc@dcrocker.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 59C3C3A11E2 for <ietf-smtp@ietfa.amsl.com>; Fri, 5 Feb 2021 06:53:26 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.101
X-Spam-Level:
X-Spam-Status: No, score=-2.101 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.001, RCVD_IN_MSPIKE_H2=-0.001, 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 V084cIFS0pbK for <ietf-smtp@ietfa.amsl.com>; Fri, 5 Feb 2021 06:53:24 -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 943B13A11D7 for <ietf-smtp@ietf.org>; Fri, 5 Feb 2021 06:53:24 -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 636C3922A99; Fri, 5 Feb 2021 14:53:23 +0000 (UTC)
Received: from nl-srv-smtpout3.hostinger.io (100-96-17-21.trex.outbound.svc.cluster.local [100.96.17.21]) (Authenticated sender: hostingeremail) by relay.mailchannels.net (Postfix) with ESMTPA id 112C5922C3D; Fri, 5 Feb 2021 14:53:21 +0000 (UTC)
X-Sender-Id: hostingeremail|x-authsender|dhc@dcrocker.net
Received: from nl-srv-smtpout3.hostinger.io ([UNAVAILABLE]. [145.14.159.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384) by 100.96.17.21 (trex/6.0.2); Fri, 05 Feb 2021 14:53:23 +0000
X-MC-Relay: Neutral
X-MailChannels-SenderId: hostingeremail|x-authsender|dhc@dcrocker.net
X-MailChannels-Auth-Id: hostingeremail
X-Thoughtful-Zesty: 7810c55f384578b5_1612536803088_2576580343
X-MC-Loop-Signature: 1612536803088:1356626949
X-MC-Ingress-Time: 1612536803088
Received: from [192.168.0.109] (108-226-162-63.lightspeed.sntcca.sbcglobal.net [108.226.162.63]) (Authenticated sender: dhc@dcrocker.net) by nl-srv-smtpout3.hostinger.io (smtp.hostinger.com) with ESMTPSA id 4BD9131C338E; Fri, 5 Feb 2021 14:53:18 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=dcrocker.net; s=hostingermail-a; t=1612536800; bh=I6KeQ/0TD5QA7RKiqvFwys1LLPieWjyy6MMtG0kjzFM=; h=Reply-To:Subject:To:References:From:Date:In-Reply-To; b=XuS28u1eqfJNN/ckCxRnKBAyoqr0EI8DnHIM+xKJvZrnHZiKDK8ixioV81zl3G8Tb +57pN/Eo8gOguO60HiDV4hvJTmrV1ygal1DFmz2Z5cRztq5Ambm9bfzjMsZufi6+zh rDz7y/xDeDdgIq44ROZGTRBInHaqn85WSqQJfWvosPpmN9UJK2VJRDkX6pVuXK2kcy tHn/AISpnwrTGeNorpMLD85N7uWSbypjpeUgiNJBfdprLEeZJFdJVCn8fEcUJh5eHx NVTCERBjHdlWBqc+zWF96qN7Nj55fqu58/e7lnoKk+9EqEJjAKZ+1REG42efgEFdLa J+GIYsYZ2lkiQ==
Reply-To: dcrocker@bbiw.net
To: Alessandro Vesely <vesely@tana.it>, ietf-smtp <ietf-smtp@ietf.org>
References: <161237978029.17564.1671203014287258223@ietfa.amsl.com> <ac72f2cc-7244-23d1-3615-a8f4e5f7388c@dcrocker.net> <468945c6-04f9-12c7-c49c-51badaf04ea2@tana.it>
From: Dave Crocker <dhc@dcrocker.net>
Organization: Brandenburg InternetWorking
Message-ID: <01619e91-28c6-efaa-f6d1-da7b09fba615@dcrocker.net>
Date: Fri, 05 Feb 2021 06:53:16 -0800
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.7.0
MIME-Version: 1.0
In-Reply-To: <468945c6-04f9-12c7-c49c-51badaf04ea2@tana.it>
Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Language: en-US
Content-Transfer-Encoding: 8bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/ietf-smtp/tYoTPQlch6217CCN2aQDo3PV5Y4>
Subject: Re: [ietf-smtp] Fwd: New Version Notification for draft-crocker-email-deliveredto-00.txt
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: Fri, 05 Feb 2021 14:53:26 -0000

On 2/5/2021 2:56 AM, Alessandro Vesely wrote:
> 1)  In the sentence:
> 
>     The Delivered-To: header field is added at the time of delivery, when
>     responsibility for a message transitions from the Mail Handling
>     (Transport) Service to an agent acting on behalf of the specified
>     recipient address.
> 
> (Please substitute /Mail Handling/Message Handling/, so that it matches 
> RFC 5598.  Perhaps substituting /Transport/SMTP/ might improve 
> readability.)

oops.  good catch!


> That sentence implies there is no Delivered-To: if the message is copied 
> locally without going through MHS. 

I would claim that, in architectural terms, whatever code is doing this 
local processing, figuring out where to place the message, is part of an 
MHS.


  For example, some MDAs accept either
> email addresses (local or remote) or local mailbox paths to deliver a 
> copy.  If one specifies delivery by means of local paths, no further 
> Delivered-To: is added (and neither could be, since the agent doesn't 
> know the address in that case).  Is that worth noting?
> 
> BTW, you don't use the term Message Delivery Agent (MDA).  Is it by 
> purpose?

It was intentional.  Note that the text is MHS and not MTA.

One of the more interesting bits from the development of RFC 5598, was 
some folk putting forward the idea that the MSA and MDA each has a dual 
personality.  Part MUA; part MHS.  So the boundary for the MHS is 
/inside/ each of those architectural components.

See Figure 5 in RFC 5598, which makes this explicit.


> 2) ABNF
> 
>     "Delivered-To:" FWS Mailbox CRLF
> 
>     Note:    The field records only a single address, for one recipient.
> 
> Would it be worth to note that Mailbox (capital M) comes from [SMTP], 
> not [Mail-Fmt]?

A perfectly reasonable question, which also highlights the basic problem 
with defining shared constructs in multiple places.

But to respond to the question:

https://tools.ietf.org/html/rfc5321#section-2.3.11:

     Mailbox        = Local-part "@" ( Domain / address-literal )

https://tools.ietf.org/html/rfc5322, Section 3.4:

     mailbox         =   name-addr / addr-spec

Since the string comes from a RCPT TO, I think the ABNF details need to 
be for /only/ and address (no name) and so it's either an RFC 5321 
<mailbox> or it's an RFC 5322 <addr-spec>.  But since the source of the 
string is 5321, I'll choose the former, unless there's a strong lobby 
for the latter.  (Also, I think the existing use of the capital M 
signals that 5321's version was intended...)


> 3) IDNs:
> 
> When I write a message to user@foà.it (fake user, real domain) the MDA 
> writes
> Delivered-To: user@xn--fo-kia.it.  I see no reason for doing so.  The 
> message is SMTPUTF8 anyway because of the To: user@foà.it header field, 
> which is maintained.  Are there reasons to mangle the domain name?

I'd guess that has more to do with software implementation that document 
specification, but if there's a change to this spec you have in mind, 
please offer it.


>> The SMTP mailing list is cited in the draft as the discussion venue.
> 
> 
> Didn't find that citation.

Section 2.


d/


-- 
Dave Crocker
Brandenburg InternetWorking
bbiw.net