Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

"Everyone's head is a cheap movie show." -- Jeff G. Bone


computers / comp.mail.sendmail / Re: The rogue EAI problem

SubjectAuthor
* The rogue EAI problemJohn Levine
`* Re: The rogue EAI problemClaus Aßmann
 `- Re: The rogue EAI problemJohn Levine

1
The rogue EAI problem

<saim56$22ge$1@gal.iecc.com>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=234&group=comp.mail.sendmail#234

  copy link   Newsgroups: comp.mail.sendmail
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.snarked.org!border2.nntp.dca1.giganews.com!nntp.giganews.com!news.iecc.com!.POSTED.news.iecc.com!not-for-mail
From: johnl@taugh.com (John Levine)
Newsgroups: comp.mail.sendmail
Subject: The rogue EAI problem
Date: Fri, 18 Jun 2021 17:46:14 -0000 (UTC)
Organization: Taughannock Networks
Message-ID: <saim56$22ge$1@gal.iecc.com>
Injection-Date: Fri, 18 Jun 2021 17:46:14 -0000 (UTC)
Injection-Info: gal.iecc.com; posting-host="news.iecc.com:2001:470:1f07:1126:0:676f:7373:6970";
logging-data="68110"; mail-complaints-to="abuse@iecc.com"
Cleverness: some
X-Newsreader: trn 4.0-test77 (Sep 1, 2010)
Originator: johnl@iecc.com (John Levine)
Lines: 67
 by: John Levine - Fri, 18 Jun 2021 17:46 UTC

Here's what happens when I send the message locally with -v.

$ sendmail -v -fuser1@xn--5nq21jyu9d1ta.xn--5nqx41au4nqohsp3axcg.xn--fiqs8s atest@xn--fct.xn--5nqx41au4nqohsp3axcg.xn--fiqs8s
Subject: another manual test

hi there
^D
atest@xn--fct.xn--5nqx41au4nqohsp3axcg.xn--fiqs8s... Connecting to [127.0.0.1] via relay...
220 xn--5nq21jyu9d1ta.xn--5nqx41au4nqohsp3axcg.xn--fiqs8s ESMTP Sendmail 8.17.0.2/8.16.1; Fri, 18 Jun 2021 16:56:38 GMT
>>> EHLO xn--5nq21jyu9d1ta.xn--5nqx41au4nqohsp3axcg.xn--fiqs8s
250-xn--5nq21jyu9d1ta.xn--5nqx41au4nqohsp3axcg.xn--fiqs8s Hello localhost [127.0.0.1], pleased to meet you
250-ENHANCEDSTATUSCODES
250-PIPELINING
250-8BITMIME
250-SIZE
250-DSN
250-SMTPUTF8
250-ETRN
250-STARTTLS
250-DELIVERBY
250 HELP
>>> STARTTLS
220 2.0.0 Ready to start TLS
>>> EHLO xn--5nq21jyu9d1ta.xn--5nqx41au4nqohsp3axcg.xn--fiqs8s
250-xn--5nq21jyu9d1ta.xn--5nqx41au4nqohsp3axcg.xn--fiqs8s Hello localhost [127.0.0.1], pleased to meet you
250-ENHANCEDSTATUSCODES
250-PIPELINING
250-8BITMIME
250-SIZE
250-DSN
250-SMTPUTF8
250-ETRN
250-DELIVERBY
250 HELP
>>> MAIL From:<user1@xn--5nq21jyu9d1ta.xn--5nqx41au4nqohsp3axcg.xn--fiqs8s> SIZE=39
250 2.1.0 <user1@xn--5nq21jyu9d1ta.xn--5nqx41au4nqohsp3axcg.xn--fiqs8s>... Sender ok
>>> RCPT To:<atest@xn--fct.xn--5nqx41au4nqohsp3axcg.xn--fiqs8s>
>>> DATA
250 2.1.5 <atest@xn--fct.xn--5nqx41au4nqohsp3axcg.xn--fiqs8s>... Recipient ok
354 Enter mail, end with "." on a line by itself
>>> .
250 2.0.0 15IGucDw095566 Message accepted for delivery
atest@xn--fct.xn--5nqx41au4nqohsp3axcg.xn--fiqs8s... Sent (15IGucDw095566 Message accepted for delivery)
Closing connection to [127.0.0.1]
>>> QUIT
221 2.0.0 xn--5nq21jyu9d1ta.xn--5nqx41au4nqohsp3axcg.xn--fiqs8s closing connection

and here's the Received lines when it arrives at my server. In that middle received line it
looks like it turned into EAI:

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 42248/25) id 678221553
tls TLS1_3_ECDHE_RSA_AES_256_GCM_AEAD; 18 Jun 2021 16:56:40 -0000
Received: from xn--5nq21jyu9d1ta.xn--5nqx41au4nqohsp3axcg.xn--fiqs8s (localhost [127.0.0.1])
by xn--5nq21jyu9d1ta.xn--5nqx41au4nqohsp3axcg.xn--fiqs8s (8.17.0.2/8.16.1) with UTF8SMTPS id 15IGucDw095566
(version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO)
for <atest@xn--fct.xn--5nqx41au4nqohsp3axcg.xn--fiqs8s>; Fri, 18 Jun 2021 16:56:39 GMT
(envelope-from user1@xn--5nq21jyu9d1ta.xn--5nqx41au4nqohsp3axcg.xn--fiqs8s)
Received: (from johnl@localhost)
by xn--5nq21jyu9d1ta.xn--5nqx41au4nqohsp3axcg.xn--fiqs8s (8.17.0.2/8.16.1/Submit) id 15IGuQJX095564
for atest@xn--fct.xn--5nqx41au4nqohsp3axcg.xn--fiqs8s; Fri, 18 Jun 2021 16:56:26 GMT
(envelope-from user1@xn--5nq21jyu9d1ta.xn--5nqx41au4nqohsp3axcg.xn--fiqs8s)
--
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

Re: The rogue EAI problem

<saipug$fed$1@news.misty.com>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=235&group=comp.mail.sendmail#235

  copy link   Newsgroups: comp.mail.sendmail
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.snarked.org!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-vm.kithrup.com!news.misty.com!.POSTED!not-for-mail
From: INVALID_NO_CC_REMOVE_IF_YOU_DO_NOT_POST_ml+sendmail(-no-copies-please)@esmtp.org (Claus Aßmann)
Newsgroups: comp.mail.sendmail
Subject: Re: The rogue EAI problem
Date: Fri, 18 Jun 2021 18:50:56 +0000 (UTC)
Organization: MGT Consulting
Lines: 30
Sender: <ml+sendmail(-no-copies-please)@esmtp.org>
Message-ID: <saipug$fed$1@news.misty.com>
References: <saim56$22ge$1@gal.iecc.com>
NNTP-Posting-Host: kiel.esmtp.org
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: news.misty.com 1624042256 15821 195.244.235.220 (18 Jun 2021 18:50:56 GMT)
X-Complaints-To: abuse@misty.com
NNTP-Posting-Date: Fri, 18 Jun 2021 18:50:56 +0000 (UTC)
Mail-Copies-To: never
X-Newsreader: trn 4.0-test77 (Sep 1, 2010)
Originator: ca@x2.esmtp.org (Claus Assmann)
 by: Claus Aßmann - Fri, 18 Jun 2021 18:50 UTC

John Levine wrote:
> Here's what happens when I send the message locally with -v.

> $ sendmail -v -fuser1@xn--5nq21jyu9d1ta.xn--5nqx41au4nqohsp3axcg.xn--fiqs8s
> atest@xn--fct.xn--5nqx41au4nqohsp3axcg.xn--fiqs8s
> Subject: another manual test
>
> hi there

> Received: from xn--5nq21jyu9d1ta.xn--5nqx41au4nqohsp3axcg.xn--fiqs8s (localhost [127.0.0.1])
> by xn--5nq21jyu9d1ta.xn--5nqx41au4nqohsp3axcg.xn--fiqs8s (8.17.0.2/8.16.1)
> with UTF8SMTPS id 15IGucDw095566
> (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO)
> for <atest@xn--fct.xn--5nqx41au4nqohsp3axcg.xn--fiqs8s>; Fri, 18 Jun 2021
> 16:56:39 GMT
> (envelope-from user1@xn--5nq21jyu9d1ta.xn--5nqx41au4nqohsp3axcg.xn--fiqs8s)

This doesn't happen on my test systems.

Please start the sendmail daemon with -odq, run the test again,
make a copy of the qf/df files for this test message, then run
sendmail -Am -v -qRatest@xn--fct.xn--5nqx41au4nqohsp3axcg.xn--fiqs8s 2>&1 |tee log.1
and post log.1, the qf file, and the definition of the Received:
header in your .cf file.

--
Note: please read the netiquette before posting. I will almost never
reply to top-postings which include a full copy of the previous
article(s) at the end because it's annoying, shows that the poster
is too lazy to trim his article, and it's wasting the time of all readers.

Re: The rogue EAI problem

<sajd1f$dhr$1@gal.iecc.com>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=236&group=comp.mail.sendmail#236

  copy link   Newsgroups: comp.mail.sendmail
Path: i2pn2.org!i2pn.org!paganini.bofh.team!news.dns-netz.com!news.freedyn.net!news.imp.ch!usenet.csail.mit.edu!news.iecc.com!.POSTED.news.iecc.com!not-for-mail
From: johnl@taugh.com (John Levine)
Newsgroups: comp.mail.sendmail
Subject: Re: The rogue EAI problem
Date: Sat, 19 Jun 2021 00:16:47 -0000 (UTC)
Organization: Taughannock Networks
Message-ID: <sajd1f$dhr$1@gal.iecc.com>
References: <saim56$22ge$1@gal.iecc.com> <saipug$fed$1@news.misty.com>
Injection-Date: Sat, 19 Jun 2021 00:16:47 -0000 (UTC)
Injection-Info: gal.iecc.com; posting-host="news.iecc.com:2001:470:1f07:1126:0:676f:7373:6970";
logging-data="13883"; mail-complaints-to="abuse@iecc.com"
In-Reply-To: <saim56$22ge$1@gal.iecc.com> <saipug$fed$1@news.misty.com>
Cleverness: some
X-Newsreader: trn 4.0-test77 (Sep 1, 2010)
Originator: johnl@iecc.com (John Levine)
 by: John Levine - Sat, 19 Jun 2021 00:16 UTC

According to Claus A�mann <INVALID_NO_CC_REMOVE_IF_YOU_DO_NOT_POST_ml+sendmail(-no-copies-please)@esmtp.org>:
>Please start the sendmail daemon with -odq, run the test again,
>make a copy of the qf/df files for this test message, then run
>sendmail -Am -v -qRatest@xn--fct.xn--5nqx41au4nqohsp3axcg.xn--fiqs8s 2>&1 |tee log.1
>and post log.1, the qf file, and the definition of the Received:
>header in your .cf file.

Well, that's strange, this time there's no EAI, and I restarted things a few times, still no EAI.
Will see if I can get it to do what it did before.

I still think you should get rid of the -U flag and decide whether a mesasge needs EAI during the submission
cleanup, like Postfix and Exim and Gmail do.

R's,
John

$ cat log.1
Running /var/spool/mqueue/15J067OQ096648 (sequence 1 of 1)
<atest@xn--fct.xn--5nqx41au4nqohsp3axcg.xn--fiqs8s>... Connecting to mail1.iecc.com. via esmtp...
220 mail1.iecc.com mailfront ESMTP
>>> EHLO xn--5nq21jyu9d1ta.xn--5nqx41au4nqohsp3axcg.xn--fiqs8s
250-mail1.iecc.com
250-SMTPUTF8
250-AUTH LOGIN
250-LIMITS RCPTMAX=20 MAILMAX=5
250-SIZE 100000000
250-8BITMIME
250-ENHANCEDSTATUSCODES
250-PIPELINING
250-CHUNKING
250 STARTTLS
>>> STARTTLS
220 2.0.0 Ready to start TLS
>>> EHLO xn--5nq21jyu9d1ta.xn--5nqx41au4nqohsp3axcg.xn--fiqs8s
250-mail1.iecc.com
250-SMTPUTF8
250-AUTH LOGIN
250-LIMITS RCPTMAX=20 MAILMAX=5
250-SIZE 100000000
250-8BITMIME
250-ENHANCEDSTATUSCODES
250-PIPELINING
250-CHUNKING
250 STARTTLS
>>> MAIL From:<user1@xn--5nq21jyu9d1ta.xn--5nqx41au4nqohsp3axcg.xn--fiqs8s> SIZE=1146
250 2.1.0 Sender accepted.
>>> RCPT To:<atest@xn--fct.xn--5nqx41au4nqohsp3axcg.xn--fiqs8s>
>>> DATA
250 2.1.5 Recipient accepted.
354 End your message with a period on a line by itself.
>>> .
250 2.6.0 Accepted message qp 11959 bytes 1798
<atest@xn--fct.xn--5nqx41au4nqohsp3axcg.xn--fiqs8s>... Sent (Accepted message qp 11959 bytes 1798)
Closing connection to mail1.iecc.com.
>>> QUIT
221 2.0.0 Good bye.
--
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

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor