🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.privacy.anon-server
Article #313100

Re: Why are pingers looking so healthy?

#313100
From: Grant Taylor
Date: Wed, 03 Feb 2021 23:07
124 lines
5905 bytes
On 2/3/21 8:54 PM, SEC3 wrote:
> I suspect I do not fully understand how the mail queue works. Maybe 
> you might explain it to me.

I'm happy to share my working understanding.  I think it's correct, but 
I can't guarantee it.

> I use Postfix. But I imagine a Sendmail queue works essentially the 
> same way.

I agree that the specific queuing implementation shouldn't matter as 
they all do overall the same thing.

In general, a queue / pool / spool / what have you, is a collection of 
some things that needs to have something done to them.  For an email 
server, it's usually emails that need to be sent.  Maybe it's emails 
that have come in and are waiting to be processed and moved to the queue 
of messages waiting to be sent.  This applies to Sendmail, Postfix, 
Mixmaster, YAMN, and many other things.

The overall mail path through tncmm is as follows.

1)  Email comes into the MTA.
2)  The MTA has the LDA deliver the message to a mailbox.
3)  Mixmaster periodically picks up the messages out of the mailbox.
4)  Mixmaster processes the message and puts it into it's pool, waiting 
to send.
5)  Mixmaster periodically sends some of the messages from it's pool to 
the MTA.
6a)  The MTA receives the message and sends it on to the next remailer.
6b)  The MTA receives the message and stores it in the outgoing queue 
because it was unable to send it on to the next remailer.  --  The MTA 
will peridoically try to re-send the messages from it's queue.

Here are the queues in this list:
A)  The mailbox listed in steps 2 & 3.
B)  Mixmaster's pool listed in steps 4 & 5.
C)  The MTA's queue listed in step 6.

Think of each queue as a line at the supermarket where you (the message) 
have to wait your (it's) turn.  In these days of COVID, the line to get 
into the store is like A.  Then you might have to wait your turn to go 
down the aisle is like B.  Finally, waiting in like to check out is like C.

Each queue behaves a little bit different and is for a different thing. 
But you / the message must go through all of them.

Different queues have different rules.  Some MTAs prioritize based on 
message size / priority / date / age.  Some checkouts are card 
-exclusive or- cash only, thus can't take the other.

I believe Mixmaster (and most things in general) tend to read a mailbox 
(A) in a first in first out (FIFO) order.

Mixmaster has an explicitly random queue processing for various reasons. 
  (B).

Sendmail, as I've got it configured*, will try to send the message out 
as soon as it receives it (actually as part of the process of receiving) 
and then fall back to queuing if it can't send it immediately.  It will 
then process the queue in priority / size / age order.  (C).

> My caputo server hosts both a mixmaster remailer (off) and a Mixmaster 
> pinger (SEC3).

That just influences the nominal size of the queue and how big the 
backlog can get.

> Currently the mail queue at caputo contains approx 14,000 
> emails.

That seems quite large to me.

Mine usually stays in the low to mid triple digits.

> That's unusually large. Its usually less than 100.

That's more what I would expect.

> Most of these messages are deferred messages destined for redjohn 
> and kreti and austria.

That makes sense.

Sendmail has the capability of dividing things into multiple different 
queues and servicing them at differing rates.  The default is one queue.

> Some of those 14,000 are certainly SEC3 pings destined to Redjohn 
> and Kreti and Austria.

I'm guessing that all of them are queued because they couldn't be 
delivered.  Thus they are waiting for retry.

> This queue of 14,000 goes out at a snails pace.

Ya.  It's likely draining slower than it's filling.

> And then more show up every 10 minutes from Off's mix pool.

*nod*

Sendmail has an option to keep track of destination mail server status 
and avoid wasting time processing messages for them.  This means that it 
can get to other messages in the queue.

This, by itself, probably would explain why other messages are still 
getting through despite the massive backlog.

> Despite this situation (akin to walking up a downward moving 
> escalator) SEC3 ping messages are regularly sent out to redjohn, 
> kreti and austria and are returned promptly. This despite the huge 
> backlog for those remailers. That's what confuses me.

You need to have some understanding of where all of the queues are in 
the path and some understanding of how each of them behaves.

Work beacons.  Please ask clarifying questions or refute anything you 
feel is not accurate.



-- 
Grant. . . .
unix || die
Technical Details
Message-ID: <rvfak6$j9e$1@tncsrv09.home.tnetconsulting.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail
References: <wkbUcXmHsOaTKbzupQFPGgbdNNNTvmMi@news.usenet.farm> <rvetrt$a48$1@tncsrv09.home.tnetconsulting.net> <CEMbSWiOQEPxvIJjjSuIAdNbQlPpzAum@news.usenet.farm>

Show Full Headers
Complete Article Headers
Message-ID: <rvfak6$j9e$1@tncsrv09.home.tnetconsulting.net>
Subject: Re: Why are pingers looking so healthy?
Date: Wed, 3 Feb 2021 16:07:09 -0700
From: Grant Taylor <gtaylor@tnetconsulting.net>
References: <wkbUcXmHsOaTKbzupQFPGgbdNNNTvmMi@news.usenet.farm> <rvetrt$a48$1@tncsrv09.home.tnetconsulting.net> <CEMbSWiOQEPxvIJjjSuIAdNbQlPpzAum@news.usenet.farm>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!apf1.newsdeef.eu!not-for-mail
Newsgroups: alt.privacy.anon-server
Organization: TNet Consulting
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Wed, 3 Feb 2021 23:12:06 -0000 (UTC)
Injection-Info: tncsrv09.home.tnetconsulting.net; posting-host="alpha.home.tnetconsulting.net:198.18.18.251"; logging-data="19758"; mail-complaints-to="newsmaster@tnetconsulting.net"
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.6.0
In-Reply-To: <CEMbSWiOQEPxvIJjjSuIAdNbQlPpzAum@news.usenet.farm>
Content-Language: en-US
Lines: 123