Warning: mysqli::__construct(): (HY000/1203): User howardkn already has more than 'max_user_connections' active connections in D:\Inetpub\vhosts\howardknight.net\al.howardknight.net\includes\artfuncs.php on line 21
Failed to connect to MySQL: (1203) User howardkn already has more than 'max_user_connections' active connections
Warning: mysqli::query(): Couldn't fetch mysqli in D:\Inetpub\vhosts\howardknight.net\al.howardknight.net\index.php on line 66
Article <usga9o$21st$1@gal.iecc.com>
Deutsch   English   Français   Italiano  
<usga9o$21st$1@gal.iecc.com>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!news.iecc.com!.POSTED.news.iecc.com!not-for-mail
From: John Levine <johnl@taugh.com>
Newsgroups: comp.mail.sendmail
Subject: Re: Fastest way to inject a lot of mail?
Date: Sat, 9 Mar 2024 00:25:28 -0000 (UTC)
Organization: Taughannock Networks
Message-ID: <usga9o$21st$1@gal.iecc.com>
References: <us8204$2viu$1@gal.iecc.com> <usblhb$vuu$1@news.misty.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
Injection-Date: Sat, 9 Mar 2024 00:25:28 -0000 (UTC)
Injection-Info: gal.iecc.com; posting-host="news.iecc.com:2001:470:1f07:1126:0:676f:7373:6970";
	logging-data="67485"; mail-complaints-to="abuse@iecc.com"
In-Reply-To: <us8204$2viu$1@gal.iecc.com> <usblhb$vuu$1@news.misty.com>
Cleverness: some
X-Newsreader: trn 4.0-test77 (Sep 1, 2010)
Originator: johnl@iecc.com (John Levine)
Bytes: 2226
Lines: 31

According to Claus Aßmann  <INVALID_NO_CC_REMOVE_IF_YOU_DO_NOT_POST_ml+sendmail(-no-copies-please)@esmtp.org>:
>John Levine  wrote:
>
>>  Is there a faster way to do it? SMTP to 127.0.0.1? LMTP?
>
>First you need to identify the bottleneck(s),
>then you can work on solutions.

Well, yeah, that's why I was wondering whether running the sendmail program
is likely to be slow.

>BTW: did you read the fine documentation?
>(hint: "TUNING"...)

I did and unless I missed something, it says nothing about injecting
mail via the sendmail command other than the obvious thing that you
want to queue rather than delivering synchronously.

So here's a question: I have on the order of 10,000 messages, each
with a dozen or so recipients. It's currently running the sendmail
command for each one. If I opened a connection to 127.0.0.1 and
did a sequence of MAIL FROM/RCPT TO/DATA, would that be faster? How
about if I did it with N processes in parallel for some modest N? It
currently takes about 6 hours on a moderately fast VPS.

If nobody has any idea, OK, but it's hard to believe I'm the first person
ever to wonder about this.

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