Re: [ietf-smtp] How is EAI mail implemented ?

John Levine <johnl@taugh.com> Wed, 16 June 2021 16:14 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 1717D3A1E0F for <ietf-smtp@ietfa.amsl.com>; Wed, 16 Jun 2021 09:14:40 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.451
X-Spam-Level:
X-Spam-Status: No, score=-1.451 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_INVALID=0.1, DKIM_SIGNED=0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.249, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=no autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=fail (2048-bit key) reason="fail (message has been altered)" header.d=iecc.com header.b=U/A4KHlB; dkim=fail (2048-bit key) reason="fail (message has been altered)" header.d=taugh.com header.b=I2U33zPG
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 FbJjcBbiP-bf for <ietf-smtp@ietfa.amsl.com>; Wed, 16 Jun 2021 09:14:34 -0700 (PDT)
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 B26E63A1E0B for <ietf-smtp@ietf.org>; Wed, 16 Jun 2021 09:14:34 -0700 (PDT)
Received: (qmail 24989 invoked by uid 100); 16 Jun 2021 16:14:32 -0000
Date: 16 Jun 2021 16:14:31 -0000
Message-ID: <sad817$oci$1@gal.iecc.com>
From: "John Levine" <johnl@taugh.com>
To: ietf-smtp@ietf.org
DKIM-Signature: v=1; a=rsa-sha256; c=simple; d=iecc.com; h=date:message-id:from:to:subject:references:in-reply-to:cleverness; s=6194.60ca2368.k2106; i=news@user.iecc.com; bh=Iw6xFu4P4PCWjJhEixXxh+2d9hRyo2M1kCLpOKHxUMs=; b=U/A4KHlBQwBrcP4WJws91VCdjnaC4qCO2ZD8Z0eUDdcdaso8UQHjgS+cn7QqRzthNfmhNDk24RDihR3WsPDJn3bECq+ETXbEwGJx1UG8ipEHBYL6MGhEV2YwBNNKASPQ6VdqYtZ6ESsxcCL3POoljADeJK8zrNNZQFmm74/itmoxWSdNfTbwg++nqX3Q4swO4dIlW3EEORMWJDfrt289ABIoPopjgA2RSsEFGiLhFw2HPvAIJbEMFiZBBXYm8J/nUq4xlNx+IfpT4WXb1SFDaEWtos5pMDeuWjV7rogDkvj2xv7NjuWzFLabGErRgpajP5bouF/jgeSkh6AOIQl3WQ==
DKIM-Signature: v=1; a=rsa-sha256; c=simple; d=taugh.com; h=date:message-id:from:to:subject:references:in-reply-to:cleverness; s=6194.60ca2368.k2106; olt=news@user.iecc.com; bh=Iw6xFu4P4PCWjJhEixXxh+2d9hRyo2M1kCLpOKHxUMs=; b=I2U33zPGMAucq02Pjk3x2FIqzdhYuknqkBcgETj02ZxX1JMKiY2MqmiIarrtEvCQmncgOpbYpF+hNKNNRcFHAYxQHrPu2U6eIFvZINyTirdtN3W5zcBPS65s786j+r6ybfNHyOzT5VtJrqXKEfGasc34dlrmqCWNpZTq0vaVzvui2ygDb7pZg2pDvrDEtJaAFZbVtyZ15e6E/GlyITpCTKcSbSL0ZWp22boaSvZ41vvpGg2THvG9za71bkkN5AZSNFbr+7IODpX6o8UkQUcvzLQBlMkKfp++38fAxJExrXu5XsY4zby3foY5R0+cpdU+8Ivd8BvbMt348uEFwCWn1Q==
Organization: Taughannock Networks
References: <5bb26c2f-a94d-ccaf-8fc1-51684f25f48@taugh.com> <20210615182626.GA57503@kiel.esmtp.org> <50d39b92-77b7-3857-d73c-d6902b6a7ee@taugh.com> <20210616054157.GA49467@kiel.esmtp.org>
In-Reply-To: <5bb26c2f-a94d-ccaf-8fc1-51684f25f48@taugh.com> <20210615182626.GA57503@kiel.esmtp.org> <50d39b92-77b7-3857-d73c-d6902b6a7ee@taugh.com> <20210616054157.GA49467@kiel.esmtp.org>
Cleverness: some
X-Newsreader: trn 4.0-test77 (Sep 1, 2010)
Originator: johnl@iecc.com (John Levine)
Archived-At: <https://mailarchive.ietf.org/arch/msg/ietf-smtp/iMW5plQ_lBoKHNC0pYCgsDk_Iw0>
Subject: Re: [ietf-smtp] How is EAI mail implemented ?
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: Wed, 16 Jun 2021 16:14:41 -0000

According to Claus Assmann  <ietf-smtp@ietf.org>rg>:
>On Tue, Jun 15, 2021, John R Levine wrote:
>
>> Huh.  Why does it set the UTF8 flag on MAIL FROM when sending ASCII messages?
>
>I could look at it if you specify how to reproduce that (without
>having to install lots of things for some test suite) -- did you
>use the -U flag by chance?

It was locally injected with "sendmail -fuser1@xn--5nq21jyu9d1ta.xn--5nqx41au4nqohsp3axcg.xn--fiqs8s atest@xn--fct.xn--5nqx41au4nqohsp3axcg.xn--fiqs8s"

I thought it might be the -U flag but I checked and that test doesn't set ut.


Jun 16 16:09:06 xn--5nq21jyu9d1ta sendmail[85985]: 15GG96Ga085985: Authentication-Warning: localhost.my.domain: eaitest set sender to user1@xn--5nq21jyu9d1ta.xn--5nqx41au4nqohsp3axcg.xn--fiqs8s using -f
Jun 16 16:09:06 xn--5nq21jyu9d1ta sendmail[85985]: 15GG96Ga085985: from=user1@xn--5nq21jyu9d1ta.xn--5nqx41au4nqohsp3axcg.xn--fiqs8s, size=323, class=0, nrcpts=1, msgid=<202106161609.15GG96Ga085985@xn--5nq21jyu9d1ta.xn--5nqx41au4nqohsp3axcg.xn--fiqs8s>8s>, relay=eaitest@localhost
Jun 16 16:09:07 xn--5nq21jyu9d1ta sendmail[85985]: STARTTLS=client, relay=[127.0.0.1], version=TLSv1.3, verify=FAIL, cipher=TLS_AES_256_GCM_SHA384, bits=256/256
Jun 16 16:09:07 xn--5nq21jyu9d1ta sm-mta[85986]: STARTTLS=server, relay=localhost [127.0.0.1], version=TLSv1.3, verify=NO, cipher=TLS_AES_256_GCM_SHA384, bits=256/256
Jun 16 16:09:07 xn--5nq21jyu9d1ta sm-mta[85986]: 15GG96OH085986: from=<user1@xn--5nq21jyu9d1ta.xn--5nqx41au4nqohsp3axcg.xn--fiqs8s>8s>, size=856, class=0, nrcpts=1, msgid=<202106161609.15GG96Ga085985@xn--5nq21jyu9d1ta.xn--5nqx41au4nqohsp3axcg.xn--fiqs8s>8s>, proto=UTF8SMTPS, daemon=IPv4, relay=localhost [127.0.0.1]
Jun 16 16:09:07 xn--5nq21jyu9d1ta sendmail[85985]: 15GG96Ga085985: to=atest@xn--fct.xn--5nqx41au4nqohsp3axcg.xn--fiqs8s, delay=00:00:01, xdelay=00:00:01, mailer=relay, pri=30323, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (15GG96OH085986 Message accepted for delivery)
Jun 16 16:09:07 xn--5nq21jyu9d1ta sm-mta[85988]: STARTTLS=client, relay=mail1.iecc.com., version=TLSv1.3, verify=FAIL, cipher=TLS_AES_256_GCM_SHA384, bits=256/256
Jun 16 16:09:08 xn--5nq21jyu9d1ta sm-mta[85988]: 15GG96OH085986: to=<atest@xn--fct.xn--5nqx41au4nqohsp3axcg.xn--fiqs8s>8s>, delay=00:00:01, xdelay=00:00:01, mailer=esmtp, pri=30856, relay=mail1.iecc.com. [IPv6:2001:470:1f07:1126:33:5370:616d:6d31], dsn=2.6.0, stat=Sent (Accepted message qp 24085 bytes 1975)

-- 
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