Re: [ietf-smtp] return-path vs delivered-to, was New Version Notification for draft-crocker-email-deliveredto-00.txt

Dave Crocker <dhc@dcrocker.net> Mon, 15 February 2021 21:10 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 8D9683A117C for <ietf-smtp@ietfa.amsl.com>; Mon, 15 Feb 2021 13:10:55 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.201
X-Spam-Level:
X-Spam-Status: No, score=-0.201 tagged_above=-999 required=5 tests=[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 wz6B0EM8wOk6 for <ietf-smtp@ietfa.amsl.com>; Mon, 15 Feb 2021 13:10:54 -0800 (PST)
Received: from cross.elm.relay.mailchannels.net (cross.elm.relay.mailchannels.net [23.83.212.46]) (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 F29AE3A115C for <ietf-smtp@ietf.org>; Mon, 15 Feb 2021 13:10:53 -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 557D4342467; Mon, 15 Feb 2021 21:10:52 +0000 (UTC)
Received: from nl-srv-smtpout1.hostinger.io (100-96-18-18.trex.outbound.svc.cluster.local [100.96.18.18]) (Authenticated sender: hostingeremail) by relay.mailchannels.net (Postfix) with ESMTPA id 005C83424EF; Mon, 15 Feb 2021 21:10:50 +0000 (UTC)
X-Sender-Id: hostingeremail|x-authsender|dhc@dcrocker.net
Received: from nl-srv-smtpout1.hostinger.io ([UNAVAILABLE]. [185.224.136.7]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384) by 100.96.18.18 (trex/6.1.1); Mon, 15 Feb 2021 21:10:52 +0000
X-MC-Relay: Neutral
X-MailChannels-SenderId: hostingeremail|x-authsender|dhc@dcrocker.net
X-MailChannels-Auth-Id: hostingeremail
X-Whimsical-Lonely: 2db155a97a330ffa_1613423452024_1027978829
X-MC-Loop-Signature: 1613423452023:2312135704
X-MC-Ingress-Time: 1613423452023
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-smtpout1.hostinger.io (smtp.hostinger.com) with ESMTPSA id DA314202983B; Mon, 15 Feb 2021 21:10:45 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=dcrocker.net; s=hostingermail-a; t=1613423449; bh=2PEy/Aeg2WVo0v+bhA4AXyRrK84NDX25fEMCus/uC7Y=; h=Reply-To:Subject:To:Cc:References:From:Date:In-Reply-To; b=rrH8H7UsF+we1eZTWUobPuAsUd6fp5YJefczEO4fpJ/OpeS9gipUL77V62vzJVqcD tIkTW8H/adhEa99cpiD9pQNV1Hy6fyRmkEOAo65TWth+RfbouRpNtm4yAiHMYeXE1O 6AzlVnRutqSO5h3Fe3qpISZRxUqCOnY4ejNACMr+5cNOIuFR20in1Nqv5czQq9DYo4 mcVd9jYVI7Q1HXQXgZf8LIQT+KiWfO9WQas+t0fOwIreB5hdl8OGkHh4itdqeYcIHJ kHuVO7ufW81EQnUNOR0c0Ge6JCfrtJb1YXreaulxNKI+vrIMWvK0+9LQIUTlqPJzq/ 1Wudfjnq2xEQw==
Reply-To: dcrocker@bbiw.net
To: John Levine <johnl@taugh.com>, ietf-smtp@ietf.org
Cc: john-ietf@jck.com
References: <20210215205020.67C656E009CE@ary.qy>
From: Dave Crocker <dhc@dcrocker.net>
Organization: Brandenburg InternetWorking
Message-ID: <f57c9144-ce9b-7248-2933-325fbd34223a@dcrocker.net>
Date: Mon, 15 Feb 2021 13:10:43 -0800
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.7.1
MIME-Version: 1.0
In-Reply-To: <20210215205020.67C656E009CE@ary.qy>
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/ietf-smtp/lCIty7NvL5LSYXXY31JrivE364U>
Subject: Re: [ietf-smtp] return-path vs delivered-to, was 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: Mon, 15 Feb 2021 21:10:56 -0000

On 2/15/2021 12:50 PM, John Levine wrote:
> So here's a radical, different, new idea: let's just say Delivered-To
> is a trace header. Because that's what it is.


Not according to the definition in RFC 5321...


> 4.1.1.4.  DATA (DATA)
...
>    When the SMTP server accepts a message either for relaying or for
>    final delivery, it inserts a trace record (also referred to
>    interchangeably as a "time stamp line" or "Received" line) at the top
>    of the mail data.  

The only defined 'trace' header field is Received:.


and:

> 4.4.  Trace Information
> 
>    When an SMTP server receives a message for delivery or further
>    processing, it MUST insert trace ("time stamp" or "Received")
>    information at the beginning of the message content, as discussed in
>    Section 4.1.1.4.

The only header field defined as 'trace' is Received:.

and:

> 7.6.  Information Disclosure in Trace Fields
> 
>    In some circumstances, such as when mail originates from within a LAN
>    whose hosts are not directly on the public Internet, trace
>    ("Received") header fields produced in conformance with this
>    specification may disclose host names and similar information that
>    would not normally be available.

ditto.

Until...

> 8.  IANA Considerations
...
>    In addition, if additional trace header fields (i.e., in addition to
>    Return-path and Received) are ever created, those trace fields MUST
>    be added to the IANA registry established by BCP 90 (RFC 3864) [11]
>    for use with RFC 5322 [4].

oops.

And then, yes, RFC 5322 has an incompatible definition:

>    trace           =   [return]
>                        1*received
> 
>    return          =   "Return-Path:" path CRLF
> 

another oops, nicely demonstrating the problem with defining the same 
thing in two places.



So please stop taking some implementation behavior and then trying to 
retrofit some terminology to fit it.  Particularly since there is no 
operational or semantic need.


There is nothing wrong with the implementations you cite.  The problem 
is with making a post-hoc declaration that a new field is tied to those 
other fields.  It isn't.




d/




-- 
Dave Crocker
Brandenburg InternetWorking
bbiw.net