Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

"Tell the truth and run." -- Yugoslav proverb


computers / comp.mail.sendmail / Re: Submit by running sendmail submits to 127.0.0.1 ?

SubjectAuthor
* Submit by running sendmail submits to 127.0.0.1 ?John Levine
`- Re: Submit by running sendmail submits to 127.0.0.1 ?Marco Moock

1
Submit by running sendmail submits to 127.0.0.1 ?

<usj746$1ec3$1@gal.iecc.com>

  copy mid

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

  copy link   Newsgroups: comp.mail.sendmail
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!news.iecc.com!.POSTED.news.iecc.com!not-for-mail
From: johnl@taugh.com (John Levine)
Newsgroups: comp.mail.sendmail
Subject: Submit by running sendmail submits to 127.0.0.1 ?
Date: Sun, 10 Mar 2024 02:49:42 -0000 (UTC)
Organization: Taughannock Networks
Message-ID: <usj746$1ec3$1@gal.iecc.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Injection-Date: Sun, 10 Mar 2024 02:49:42 -0000 (UTC)
Injection-Info: gal.iecc.com; posting-host="news.iecc.com:2001:470:1f07:1126:0:676f:7373:6970";
logging-data="47491"; mail-complaints-to="abuse@iecc.com"
Cleverness: some
X-Newsreader: trn 4.0-test77 (Sep 1, 2010)
Originator: johnl@iecc.com (John Levine)
 by: John Levine - Sun, 10 Mar 2024 02:49 UTC

I was looking at the logs and saw this when I sent myself a test
message by running sendmail and typing the message:

Mar 9 21:21:36 xxx sendmail[58329]: 42A2LKNa058329: from=jrl396, size=57, class=0, nrcpts=1, msgid=<202403100221.42A2LKNa058329@xxx>, relay=jrl396@localhost
Mar 9 21:21:36 xxx sendmail[58608]: 42A2Lah7058608: from=<jrl396@xxx>, size=386, class=0, nrcpts=1, msgid=<202403100221.42A2LKNa058329@xxx>, proto=ESMTP, daemon=MTA, relay=localhost [127.0.0.1]
Mar 9 21:21:36 xxx sendmail[58329]: 42A2LKNa058329: to=johnl@iecc.com, ctladdr=jrl396 (14132/14132), delay=00:00:16, xdelay=00:00:00, mailer=relay, pri=30057, relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (42A2Lah7058608 Message accepted for delivery)

It looks like sendmail submitted the message by ESMTP to 127.0.0.1.

So to check that, I telnet'ed to 127.0.0.1 and sending it directly:

Mar 9 21:25:12 xxx sendmail[63488]: 42A2OcIV063488: from=<jrl396@xxx>, size=58, class=0, nrcpts=1, msgid=<202403100224.42A2OcIV063488@xxx>, proto=ESMTP, daemon=MTA, relay=localhost [127.0.0.1]
Mar 9 21:25:12 xxx sendmail[64171]: STARTTLS=client, relay=mail.xxx., version=TLSv1/SSLv3, verify=FAIL, cipher=ECDHE-RSA-AES256-GCM-SHA384, bits=256/256

Yup, that worked fine.

Submitting to 127.0.0.1 rather than running sendmail will always be
faster since it's doing less work, right?

--
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: Submit by running sendmail submits to 127.0.0.1 ?

<usjol6$2rpj3$1@dont-email.me>

  copy mid

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

  copy link   Newsgroups: comp.mail.sendmail
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: mm+usenet-es@dorfdsl.de (Marco Moock)
Newsgroups: comp.mail.sendmail
Subject: Re: Submit by running sendmail submits to 127.0.0.1 ?
Date: Sun, 10 Mar 2024 08:48:54 +0100
Organization: A noiseless patient Spider
Lines: 33
Message-ID: <usjol6$2rpj3$1@dont-email.me>
References: <usj746$1ec3$1@gal.iecc.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Injection-Date: Sun, 10 Mar 2024 07:48:54 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="d51114f154be1bb5a6f9db15ee5d2533";
logging-data="3008099"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19dSFIPqLvqxWxV/mPpz15D"
Cancel-Lock: sha1:SGvEpzzjufb4iUbEaYEwm1qpngI=
 by: Marco Moock - Sun, 10 Mar 2024 07:48 UTC

On 10.03.2024 um 02:49 Uhr John Levine wrote:

> It looks like sendmail submitted the message by ESMTP to 127.0.0.1.

The MSP (mail submission program, calling sendmail directly to send the
mail) sends it to 127.0.0.1:25 by default. See submit.mc.

> So to check that, I telnet'ed to 127.0.0.1 and sending it directly:
>
> Mar 9 21:25:12 xxx sendmail[63488]: 42A2OcIV063488:
> from=<jrl396@xxx>, size=58, class=0, nrcpts=1,
> msgid=<202403100224.42A2OcIV063488@xxx>, proto=ESMTP, daemon=MTA,
> relay=localhost [127.0.0.1] Mar 9 21:25:12 xxx sendmail[64171]:
> STARTTLS=client, relay=mail.xxx., version=TLSv1/SSLv3, verify=FAIL,
> cipher=ECDHE-RSA-AES256-GCM-SHA384, bits=256/256
>
> Yup, that worked fine.
>
> Submitting to 127.0.0.1 rather than running sendmail will always be
> faster since it's doing less work, right?

By default, yes.
At least in Debian, it uses different queues for the MSP and the MTA
and the mail will be saved to both in that situation. See SuperSafe
config option.
If you have slow disks, this can take seconds to finish and go out.

--
kind regards
Marco

Send spam to 1710035382muell@cartoonies.org

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor