Jump to content

Mailman/Runbooks

From Wikitech

A collection of mailman/lists related runbooks.

MailmanOutQueueHigh

An internal mailman issue can result in the out queue being stalled until mailman is restarted (T397642) . First, isolate the event in the logs:

sudo journalctl -n 5000 -u mailman3.service > ${HOME}/mailman3_$(date +%s).log
sudo systemctl status mailman3.service
sudo journalctl -fln50 -u mailman3.service

Then you can try restarting mailman3:

sudo systemctl restart mailman3.service

Then confirm your action has resulted in the out queue decreasing in volume: https://grafana.wikimedia.org/goto/1P8EsLEHR?orgId=1

MailmanBounceQueueHigh

The mail queue for bounced mails is elevated for an extended period of time. This indicates problem with the mailman3 or mailserver (exim4) process on the lists hosts.

Check the mailman3 logs by running

sudo journalctl -u mailman3.service
sudo systemctl status mailman3.service

Check the exim logs by running:

sudo journalctl -u exim4.service
sudo systemctl status exim4.service

Then you can try restarting mailman3:

sudo systemctl restart mailman3.service 
sudo systemctl restart mailman3-web.service # for the web server