Hi Mark,

Thanks very much for your fast response--I have a lot to learn and I really 
appreciate the help.

The qfiles/out directory is clear, the queued messages are in var/spool/mqueue.

We use Sendmail as our MTA , I'll ping our Unix admin on the setting that you 
referenced below:

"If delivery is too slow, you may be able to address this in the MTA. You want 
the MTA to do no address verification at incoming SMTP time and minimal other 
checking."

I'll keep doing some digging, thanks again for the links and helpful 
information!

John

-----Original Message-----
From: Mark Sapiro <m...@msapiro.net> 
Sent: Friday, October 29, 2021 3:49 PM
To: mailman-users@python.org
Subject: [Mailman-Users] Re: Expected mailq behavior/maintenance commands

On 10/29/21 8:18 AM, John Lake wrote:
> 
> It is now below 200 messages.  I have not monitored the queue this 
> closely before and it has raised some questions.  😊
> 
> I’ve looked through the documentation and community posts on the GNU website 
> and I have not found specific information relating to what the expected mailq 
> behavior/healthy number of messages is.  I expect that this would vary by the 
> environment and number of messages sent but am curious as to what would 
> considered to be a normal/healthy threshold of queued messages.


Are you talking about MTA queues or Mailman's out queue? If you are talking 
about messages queued in the MTA, There's not much Mailman can do about that. 
If you are talking about messages queued in Mailman's out queue, normally this 
queue should be empty and if it has lots of queued messages, the queue is 
backlogged due to slow delivery to the MTA.

What to do about this depends on the MTA and some Mailman settings. 
There are many posts on this in the archives of this list. See 
https://urldefense.com/v3/__https://mail.python.org/archives/search?mlist=mailman-users*40python.org&q=backlogged*out*queue__;JSsr!!C5qS4YX3!T8Jt2kqtKunmlhTuLnmR_AgyvFvPCI-M5Bf0_THJBd-eqJBhL6jxN6StoUlCbrw2DUI$
 

In particular, see
https://urldefense.com/v3/__https://mail.python.org/archives/list/mailman-users@python.org/message/CAKZUAYSGKKEQLTK4RTB2DVOYVJUNIQX/__;!!C5qS4YX3!T8Jt2kqtKunmlhTuLnmR_AgyvFvPCI-M5Bf0_THJBd-eqJBhL6jxN6StoUlC7h0Ifcc$
for what to look for in Mailman's smtp log. If delivery is too slow, you may be 
able to address this in the MTA. You want the MTA to do no address verification 
at incoming SMTP time and minimal other checking. 
You may want to set up an alternate port for Mailman to deliver to.


> Are there purge/maintenance commands that can be leveraged for normal 
> maintenance or in the case above—more of a kill-switch purge?


All you can do is manually move *.pck files out of Mailman's qfiles/out/ 
directory, but then those messages won't be delivered until you put them back.

If you have reason to believe some messages are unwanted, you can use Mailman's 
bin/show_qfiles command to inspect them and then delete unwanted ones.

-- 
Mark Sapiro <m...@msapiro.net>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan
------------------------------------------------------
Mailman-Users mailing list -- mailman-users@python.org To unsubscribe send an 
email to mailman-users-le...@python.org 
https://urldefense.com/v3/__https://mail.python.org/mailman3/lists/mailman-users.python.org/__;!!C5qS4YX3!T8Jt2kqtKunmlhTuLnmR_AgyvFvPCI-M5Bf0_THJBd-eqJBhL6jxN6StoUlCbGA7Upg$
Mailman FAQ: 
https://urldefense.com/v3/__http://wiki.list.org/x/AgA3__;!!C5qS4YX3!T8Jt2kqtKunmlhTuLnmR_AgyvFvPCI-M5Bf0_THJBd-eqJBhL6jxN6StoUlClSf9GTs$
Security Policy: 
https://urldefense.com/v3/__http://wiki.list.org/x/QIA9__;!!C5qS4YX3!T8Jt2kqtKunmlhTuLnmR_AgyvFvPCI-M5Bf0_THJBd-eqJBhL6jxN6StoUlCjUjHW7k$
Searchable Archives: 
https://urldefense.com/v3/__https://www.mail-archive.com/mailman-users@python.org/__;!!C5qS4YX3!T8Jt2kqtKunmlhTuLnmR_AgyvFvPCI-M5Bf0_THJBd-eqJBhL6jxN6StoUlCb_AL0KA$
 
    
https://urldefense.com/v3/__https://mail.python.org/archives/list/mailman-users@python.org/__;!!C5qS4YX3!T8Jt2kqtKunmlhTuLnmR_AgyvFvPCI-M5Bf0_THJBd-eqJBhL6jxN6StoUlC-FETgxs$
 
------------------------------------------------------
Mailman-Users mailing list -- mailman-users@python.org
To unsubscribe send an email to mailman-users-le...@python.org
https://mail.python.org/mailman3/lists/mailman-users.python.org/
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: https://www.mail-archive.com/mailman-users@python.org/
    https://mail.python.org/archives/list/mailman-users@python.org/

Reply via email to