On 10/17/22 18:43, Mark Dale via Mailman-Users wrote:

After the reboot, I posted a test to the list(just the list address, no CC) and now just the one copy of the message is delivered (although it wrote my address into the CC field).

     FROM: Me via listn...@listdomain.com
            TO: listn...@listdomain.com
            CC: m...@mydomain.com


This is expected. See the comment in the code beginning at https://bazaar.launchpad.net/~mailman-coders/mailman/2.1/view/head:/Mailman/Handlers/CookHeaders.py#L201 for why we do this.


So far so good. I'll keep an eye on the qrunner over the next few days. It came good last time I restarted the qrunner, then went bad. But as you say, there may well have been more than one runner doing their bit.

Here are the steps and results I went through.


# service mailman stop

# ps -fAww |grep python
root       432     1  0 Oct01 ?        00:48:57 /usr/bin/python3 /usr/bin/fail2ban-server -xf start nobody    5659  5658  0 00:25 ?        00:00:00 /usr/bin/python /usr/local/bin/mpanel-memory-graph
root      5687  5642  0 00:26 pts/0    00:00:00 grep python
////// I SHOULD HAVE CHECKED THAT BEFORE STOPPING MAILMAN


# service mailman start
/////// FAILED TO START
...
Oct 18 00:30:12 syd systemd[1]: Starting Mailman Master Queue Runner...
Oct 18 00:30:13 syd mailmanctl[5791]: Starting Mailman's master qrunner.
Oct 18 00:30:13 syd systemd[1]: mailman.service: Can't open PID file /run/mailman/mailman.pid (yet?) after start: No such file or directory


This is not unusual. It's not a concern.


/////// oh? MAYBE IT LIVES SOMEWHERE ELSE
# find / -type f -iname "mailman.pid"
/////// NO RESULT

///////// hmmm, AM I PANICKING YET?
#reboot
///////// phew..., MAILMAN RUNNING AFTER REBOOT.

# pstree
systemd─┬─agetty
         ├─cron
..
         ├─mailmanctl───python
         ├─master─┬─anvil
         │        ├─2*[bounce]
...

# ps -fAww |grep python
////////// LOOKS LIKE ONLY 1 RUNNER. So far, so good.

root       432     1  0 00:36 ?        00:00:00 /usr/bin/python3 /usr/bin/fail2ban-server -xf start list       745     1  0 00:38 ?        00:00:00 /usr/bin/python /usr/lib/mailman/bin/mailmanctl -s start list       751   745  2 00:38 ?        00:00:04 /usr/bin/python /var/lib/mailman/bin/qrunner --runner=OutgoingRunner:0:1 -s nobody     913   911  0 00:40 ?        00:00:00 /usr/bin/python /usr/local/bin/mpanel-memory-graph
root       921   908  0 00:40 pts/0    00:00:00 grep python


There should be more. Where are ArchRunner, BounceRunner, CommandRunner, IncomingRunner, NewsRunner, VirginRunner and RetryRunner? Did you edit them out?

What does `ps -fwwu list` show?


/////// DID THAT PID FILE REAPPEAR?
# find / -type f -iname "mailman.pid"
/////// NO RESULT. ... shrug ...


I suspect an issue with the Debian/Ubuntu package. What is the content of /etc/systemd/system/mailman.service?


All seems well, the list is delivering single copies of the message (for now).

Good.

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

Reply via email to