Re: [RFC PATCH] CLI/reply: Remove Received by domain From detection

Subject: Re: [RFC PATCH] CLI/reply: Remove Received by domain From detection

Date: Sun, 11 Aug 2024 11:52:31 -0500

To: notmuch@notmuchmail.org, Carl Worth, Jani Nikula

Cc:

From: Liam Hupfer


Bumping this patch ([[RFC PATCH] CLI/reply: Remove Received by domain
From detection]). See the rationale there.

Does anyone depend on notmuch-reply’s fallback to Received by parsing?
Adding Carl Worth, who applied the initial implementation by Dirk
Hohndel (who doesn’t seem to be around) in [Re: [PATCH 2/2] guess From
address from Received headers], and Jani Nikula, who has refactored the
code more recently.

Note that my patch only removes step 4 from the below steps to derive
the From address:

1. Scan Reply-to, From, To, Cc, Bcc headers for a user address
2. Scan Envelope-to, X-Original-To, Delivered-To headers for a user
   address
3. Scan Received headers for “for <user address>”
4. Scan the “by” portion of Received headers for the domain part of user
   addresses
5. Fall back to the primary user address

Please let me know what you think! Thanks,

—Liam


[[RFC PATCH] CLI/reply: Remove Received by domain
From detection] <https://nmbug.notmuchmail.org/nmweb/show/87r0eq36x4.fsf%40hpfr.net>

[Re: [PATCH 2/2] guess From
address from Received headers] <https://nmbug.notmuchmail.org/nmweb/show/87aatg6n6x.fsf%40yoom.home.cworth.org>
_______________________________________________
notmuch mailing list -- notmuch@notmuchmail.org
To unsubscribe send an email to notmuch-leave@notmuchmail.org

Thread: