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://mail.python.org/archives/search?mlist=mailman-users%40python.org&q=backlogged+out+queue
In particular, see https://mail.python.org/archives/list/mailman-users@python.org/message/CAKZUAYSGKKEQLTK4RTB2DVOYVJUNIQX/ 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://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/