Re: [ietf-smtp] Who should set the Sender: header field?

John Levine <johnl@taugh.com> Mon, 13 December 2021 19:25 UTC

Return-Path: <johnl@iecc.com>
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 CEDAE3A0A90 for <ietf-smtp@ietfa.amsl.com>; Mon, 13 Dec 2021 11:25:04 -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=fUUjWiTX; dkim=pass (2048-bit key) header.d=taugh.com header.b=XQbkaHC1
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 P9bCO4OehEQy for <ietf-smtp@ietfa.amsl.com>; Mon, 13 Dec 2021 11:24:59 -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 13B193A0A84 for <ietf-smtp@ietf.org>; Mon, 13 Dec 2021 11:24:58 -0800 (PST)
Received: (qmail 79555 invoked from network); 13 Dec 2021 19:24:55 -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=136c0.61b79e07.k2112; bh=KFVa6ooMeIVVcIWwFzluAbfhmpKutMIHOtrdHC75K3o=; b=fUUjWiTX1Sn5OauDOiInt5mJluqLR5XIpE214Ss1Ty+lnOUG2R74WTJnjdwPOhVib9RF35g5LFfjXR+xG5TwwNrPjsJsGbwG4SiWpyoS0AksSJruLgYgVl0k/ez4SSWg0YkbOYhPrlyunPnxyFBBBr5FALtTNW3ObNrujXSC8AK/VgzqflBNGXk+ScCAJJBjKUEyUf4HgvEQMzKsylAXw8BAHCFUbCmpv/Msvtj5Pia1prQZp+09uHjSxXzsqlGABznH1CxL9dywAnXjekY/mzfErNPleRQhgbypJvZolRFwzQbOo7uAmoiw9i26R1Dz6D/BMjTegJp5GNUBJifROw==
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=136c0.61b79e07.k2112; bh=KFVa6ooMeIVVcIWwFzluAbfhmpKutMIHOtrdHC75K3o=; b=XQbkaHC1sF0jfg27G0aV3S/3At1AA872+2YqpDCmpK7K2KyP66NgRSnMRheOJOFIHKVqQLu0kIBL2Gz6YMeRK6bWEc5YhjgTywsWbq6S+4nimss7v46HJOoysHLj50e9UTnXcwHEHcSan8jHQPhaAqt1iyAyEnsmJ5H7352Cfuuii5Sqy40ZsjS3xCGjH/o1ihk3qfQ0yUCogi1gmPTM4U096q3zqWmj9tUrCD51FvJE8eZtAkgTKq/9VwWIfBY/dmfuNh/oxqYyFRM1Ea1G98mB6/8PMlxF0f4dpCJPcbHaAH2pqohNuBDjTCOnKrpaoUdkKXzW90/iXREd8MJKvQ==
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; 13 Dec 2021 19:24:55 -0000
Received: by ary.qy (Postfix, from userid 501) id 8BB96315F3E1; Mon, 13 Dec 2021 14:24:52 -0500 (EST)
Date: Mon, 13 Dec 2021 14:24:52 -0500
Message-Id: <20211213192454.8BB96315F3E1@ary.qy>
From: John Levine <johnl@taugh.com>
To: ietf-smtp@ietf.org
Cc: vesely@tana.it
In-Reply-To: <63b0427a-d710-a98d-4d05-11807a60104b@tana.it>
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/ietf-smtp/tS6HVh-6JDodYQlQuMEoM4mN6Tw>
Subject: Re: [ietf-smtp] Who should set the Sender: header field?
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, 13 Dec 2021 19:25:05 -0000

It appears that Alessandro Vesely  <vesely@tana.it> said:
>using Thunderbird, for one, it is easy to modify the From: field of the message 
>being edited, possibly setting multiple mailboxes.  However, that software 
>omits to add a Sender: field, which is required in such cases.  Where's the 
>bug?  Options are:
>
>* The MUA should prompt for a Sender:, or

How very annoying for the 99% of cases where the sender would be
redundant with the from.

>* the submission server adds Sender according to the logged-in identity.

Sorry, but submission servers are not the source of truth for someone's "real"
email address, much less their identity.  I have hundreds of e-mail addresses.
All of them are me, and I would not appreciate some piece of software picking
one arbitrarily and adding a sender header to my mail.  

On my system, the submission server puts the submission account, which
is not necessarily an email address, in the Received header in case
there is some need to figure out where a message came from.

>I realize that both might take care of that, but where should I file a bug first?

Nowhere, please.  If for some reason you want to add a sender header, there are
plugins like Header Tools which let you do so.

R's,
John