Re: [Emailcore] Ticket #8: Need a registry of header fields that are Ok to add after submission

John Levine <johnl@taugh.com> Wed, 18 November 2020 02:54 UTC

Return-Path: <johnl@iecc.com>
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 13A203A1243 for <emailcore@ietfa.amsl.com>; Tue, 17 Nov 2020 18:54:27 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.85
X-Spam-Level:
X-Spam-Status: No, score=-1.85 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, HEADER_FROM_DIFFERENT_DOMAINS=0.25, 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=iecc.com header.b=VPPca85h; dkim=pass (2048-bit key) header.d=taugh.com header.b=OgB+m6nZ
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 V_s74vqPixrW for <emailcore@ietfa.amsl.com>; Tue, 17 Nov 2020 18:54:25 -0800 (PST)
Received: from gal.iecc.com (gal.iecc.com [IPv6:2001:470:1f07:1126:0:43:6f73:7461]) (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 E0BE03A102D for <emailcore@ietf.org>; Tue, 17 Nov 2020 18:54:24 -0800 (PST)
Received: (qmail 35753 invoked from network); 18 Nov 2020 02:54:24 -0000
DKIM-Signature: v=1; a=rsa-sha256; c=simple; d=iecc.com; h=date:message-id:from:to:cc:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:cleverness; s=8ba7.5fb48ce0.k2011; bh=L4noSD4R7hFrtr9wPW7Fh+CcUgdknqktK4FoZMASnrA=; b=VPPca85hFwUiu7qAZ1zPGYm1zBfKaHKtRsTmpUgrfLWFfraFh6+RtnWF1BARJ38imDmhAYTuJikMSjxbfOWBPNLq68+H0mSnE4KN055shKht2193GtuBbs8uBX/5S8BvwqrX4vBPsQWxIH5TlSHtemfFycC9/0pIN7uxzc/zewt8TaHn/8+HDcACyWDiw+jY6DncK+zL97z94X6XOsMqzCboZ7RPkfhg3e+FebcwTpKT7c06aW6nr1rRykZJV73X5St+uZtxd7aSLr/0mu7xLQqrRAzx3myLQhrCN2AgjB6DsKXJLmmd0TqzOx49pi5zIf6afvfRTjkb6KyoJngKQg==
DKIM-Signature: v=1; a=rsa-sha256; c=simple; d=taugh.com; h=date:message-id:from:to:cc:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:cleverness; s=8ba7.5fb48ce0.k2011; bh=L4noSD4R7hFrtr9wPW7Fh+CcUgdknqktK4FoZMASnrA=; b=OgB+m6nZ89UeBMyzFLpH1EY3ZLD02Pd5SRvQB9wspaoXA+SPsRbG0zjgW0RT97TiQIRneSa/IP4bBAo2f5um2tlaCM5WWkCigv02dS/Ghzgka/th/yJVT8N4X+/pX5GTW7AZ3+4m5ul2pgUDdbDRXLg4uUSJozdpgwo5mcUdz+Ni8oKZW+rJDrb8h+5X2tExEk/DkMQUZV5Lx1jG9TnT/bkm0BAabNHPYZ7+vCY3V1eVJ/xjmSk1k2W5qPRtrwpVPOpoLzaglen6NgeyzSB5VDVlWh7q9TI1i+5MJcq5QvR+9r4iWlNc4nzjpPwVW43bD5esgBtyFt7OmrmoaemVUg==
Received: from ary.qy ([IPv6:2001:470:1f07:1126::78:696d:6170]) by imap.iecc.com ([IPv6:2001:470:1f07:1126::78:696d:6170]) with ESMTPS (TLS1.2 ECDHE-RSA AES-256-GCM AEAD) via TCP6; 18 Nov 2020 02:54:23 -0000
Received: by ary.qy (Postfix, from userid 501) id 3ADF827840B1; Tue, 17 Nov 2020 21:54:22 -0500 (EST)
Date: Tue, 17 Nov 2020 21:54:22 -0500
Message-Id: <20201118025423.3ADF827840B1@ary.qy>
From: John Levine <johnl@taugh.com>
To: emailcore@ietf.org
Cc: ned.freed@mrochek.com
In-Reply-To: <01RS3ULW3EE6005PTU@mauve.mrochek.com>
Organization: Taughannock Networks
X-Headerized: yes
Cleverness: minimal
Mime-Version: 1.0
Content-type: text/plain; charset="utf-8"
Content-transfer-encoding: 8bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/emailcore/QJbPxyZ9LR5sknL5h1W1J_7iH58>
Subject: Re: [Emailcore] Ticket #8: Need a registry of header fields that are Ok to add after submission
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: Wed, 18 Nov 2020 02:54:27 -0000

In article <01RS3ULW3EE6005PTU@mauve.mrochek.com> you write:
>> On 16/11/2020 18:10, Alexey Melnikov wrote:
>> >
>> > IANA is requested to create a new subregistry for email header fields that can
>> > be added to a message header section by a “relay” and/or “delivery” SMTP
>> > system. The new subregistry would show whether a header field can be added by a
>> > “relay”, “delivery” system or both.

This is, as I think is fairly obvious, really the same topic as the
forwarding and mailing list headers one.

I think we can come up with a fairly short list of headers that are
fixed by submission time (I agree we don't try to distinguish between
MUA and MSA.) Anything else can be added when a message is relayed or
delivered up to the maxmum number of each header allowed, typically
one.  I also don't think it's useful to try to distinguish at this level
between relay and delivery since for a lot of MTAs (mine for example)
the distinction is pretty fuzzy.

There is a very short list of headers that can be deleted or replaced
when a message is relayed, currently just Authentication-Results.

This has approximately nothing to do with mailing lists which create a
new message by editing the incoming message in all of the fun and
exciting ways we know.

R's,
John