On 2025/04/20 3:15 PM, Sander ter Steege via Exim-users wrote:
Hi Jeremy,
On 20 Apr 2025, at 15:19, Jeremy Harris via Exim-users
<exim-users@lists.exim.org> wrote:
On 2025/04/20 2:06 PM, Sander ter Steege via Exim-users wrote:
This is the log I made with the debug console in Thunderbird (I replaced the
actual mail addresses and server name):
Ah, I was assuming you were talking about actual Exim debug, as opposed to
Thunderbird.
So more something like this ?:
1322640 >>Headers received:
1322640 Message-ID: <0098181d-88ea-44a8-864e-fbd671c46...@example.com>
1322640 Date: Sun, 20 Apr 2025 15:44:18 +0200
1322640 MIME-Version: 1.0
1322640 User-Agent: Mozilla Thunderbird
1322640 Content-Language: en-US
1322640 To: Sander <gmail-u...@gmail.com>
1322640 From: Test user <testu...@example.com>
^^^ the From: header recived by Exim
1322640 Subject: Test message
1322640 Content-Type: text/plain; charset=UTF-8; format=flowed
1322640 Content-Transfer-Encoding: 7bit
1322640
1322640 qualify & rewrite recipients list
1322640 LOG: address_rewrite MAIN
1322640 "testu...@example.com" from env-from rewritten as
""testu...@example.com"@primary_hostname.com" by submission mode
1322640 rewrite rules on sender address
1322640 qualify and rewrite headers
1322640 rewrite_one_header: type=T:
1322640 To: Sander <gmail-u...@gmail.com>
1322640 rewrite_one_header: type=F:
1322640 From: Test user <testu...@example.com>
1322640 rewrite_one_header: type=S:
1322640 Sender: "testu...@example.com"@primary_hostname.com
1322640 search_tidyup called
1322640 >>Headers after rewriting and local additions:
1322640 I Message-ID: <0098181d-88ea-44a8-864e-fbd671c46...@example.com>
1322640 Date: Sun, 20 Apr 2025 15:44:18 +0200
1322640 MIME-Version: 1.0
1322640 User-Agent: Mozilla Thunderbird
1322640 Content-Language: en-US
1322640 T To: Sander <gmail-u...@gmail.com>
1322640 F From: Test user <testu...@example.com>
^^^ the From: header after rewrites. Unchanged.
1322640 Subject: Test message
1322640 Content-Type: text/plain; charset=UTF-8; format=flowed
1322640 Content-Transfer-Encoding: 7bit
1322640 S Sender: "testu...@example.com"@primary_hostname.com
So you're actually not talking about the From: header
but either the Sender: header or the envelope-from?
Being sure on that might help the docs search.
I suspect you got
"If a non-empty domain is specified by the submission control, the local part is
$authenticated_id, and the domain is the specified domain."
for Sender: followed by
"Whenever a Sender: header line is created"
for env-from.
--
Cheers,
Jeremy
--
## subscription configuration (requires account):
## https://lists.exim.org/mailman3/postorius/lists/exim-users.lists.exim.org/
## unsubscribe (doesn't require an account):
## exim-users-unsubscr...@lists.exim.org
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/