According to Claus Aßmann <INVALID_NO_CC_REMOVE_IF_YOU_DO_NOT_POST_ml+sendmail(-no-copies-please)@esmtp.org>:
What's the setup and what are the commands to reproduce this?
Just curious - maybe I can add something to my tests.
The scripts are here although I haven't uploaded the latest tweaks.
https://github.com/jrlevine/eaitesttools
The host where sendmail is running is called xn--5nq21jyu9d1ta.xn--5nqx41au4nqohsp3axcg.xn--fiqs8s and smeai.services.net,
with the IDN name being the hostname. My script uses ssh to log in and send the message with sendmail -U to an external
EAI address where I pick up the message and look at the Received header that sendmail added.
Again, a lot of other MTAs also put A-labels in the FROM and BY parts
of the Received header so it's not a big deal to change.
Here's the whole thing as received. My MTA adds EAI-From and EAI-Rcpt in the SMTP session to help figure
out what's going on. My MTA is a heavily patched version of qmail. For EAI support, I change all of the
envelope domains to A-labels on the way in. On the way out I change the envelopes back to U-labels if there
are UTF-8 local parts in the envelope or UTF-8 in the message headers. That limits the number of places I
have to deal with U-lablels, and means I only have to handle one version of each address for local routing.
Return-Path: <用户1@发送邮件.电子邮件测试.中国>
Delivered-To: johnl-eaihome-bø
b@xn--fct.xn--5nqx41au4nqohsp3axcg.xn--fiqs8s Received: (qmail 75693 invoked from network); 26 May 2021 02:44:22 -0000 Authentication-Results: iecc.com; spf=none spf.mailfrom=用户1@发送邮件.电子邮件测试.中国 spf.helo=xn--5nq21jyu9d1ta.xn--5nqx41au4nqohsp3axcg.xn--fiqs8s smtp.remote-ip="2606:4300:0:4::1003"
EAI-From: 用户1@发送邮件.电子邮件测试.中国
EAI-Rcpt: bøb@家.电子邮件测试.中国
Received: from xn--5nq21jyu9d1ta.xn--5nqx41au4nqohsp3axcg.xn--fiqs8s ([IPV6:2606:4300:0:4::1003])
by mail1.iecc.com ([IPV6:2001:470:1f07:1126:33:5370:616d:6d31])
with UTF8SMTPS via TCP6 (port 18822/25) id 677070195
tls TLS1_3_ECDHE_RSA_AES_256_GCM_AEAD; 26 May 2021 02:44:22 -0000
Received: from xn--5nq21jyu9d1ta.xn--5nqx41au4nqohsp3axcg.xn--fiqs8s (localhost [127.0.0.1])
by xn--5nq21jyu9d1ta.xn--5nqx41au4nqohsp3axcg.xn--fiqs8s (8.17.0.0/8.16.1) with UTF8SMTPS id 14Q2iLR7082122
(version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO)
for <bøb@家.电子邮件测试.中国>; Wed, 26 May 2021 02:44:21 GMT
(envelope-from 用户1@发送邮件.电子邮件测试.中国) Received: (from eaitest@localhost)
by xn--5nq21jyu9d1ta.xn--5nqx41au4nqohsp3axcg.xn--fiqs8s (8.17.0.0/8.16.1/Submit) id 14Q2iLY5082121
for bøb@家.电子邮件测试.中国; Wed, 26 May 2021 02:44:21 GMT
(envelope-from 用户1@发送邮件.电子邮件测试.中国) Message-Id: <
202105260244.14Q2iLY5082121@xn--5nq21jyu9d1ta.xn--5nqx41au4nqohsp3axcg.xn--fiqs8s>
X-Authentication-Warning: localhost.my.domain: eaitest set sender to 用户1@发送邮件.电子邮件测试.中国 using -f
From: Test Sender <用户1@发送邮件.电子邮件测试.中国>
To: Test Recipient <bøb@家.电子邮件测试.中国>
Date: Wed, 26 May 2021 02:44:20 +0000
Subject: EAI simple test message (测试讯息) for header checks c2d58dca71070cbe0b58
This test message header addresses and header generation
--
Regards,
John Levine,
johnl@taugh.com, Primary Perpetrator of "The Internet for Dummies",
Please consider the environment before reading this e-mail.
https://jl.ly
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)