In my system log I see many instances of the following. Code: Jul 8 15:29:46 myhost systemd[1]: Starting Mailman Master Queue Runner... Jul 8 15:29:46 myhost mailmanctl[319787]: Traceback (most recent call last): Jul 8 15:29:46 myhost mailmanctl[319787]: File "/usr/lib/mailman/bin/mailmanctl", line 106, in <module> Jul 8 15:29:46 myhost mailmanctl[319787]: from Mailman import mm_cfg Jul 8 15:29:46 myhost mailmanctl[319787]: ImportError: No module named Mailman Jul 8 15:29:46 myhost systemd[1]: mailman.service: Control process exited, code=exited, status=1/FAILURE Jul 8 15:29:46 myhost systemd[1]: mailman.service: Failed with result 'exit-code'. Jul 8 15:29:46 myhost systemd[1]: Failed to start Mailman Master Queue Runner. I don't actually need mailman since I'm not hosting any mailing lists. What's the correct procedure safely to disable mailman on my system? (Or, is this a sign of some genuine trouble I ought to address in some other way?)
Besides removing the package, you might want to follow the mailman cleanup chapter from this guide: https://www.howtoforge.com/update-the-ispconfig-perfect-server-from-debian-10-to-debian-11/
Thanks, @pyte and @till. For what it's worth, I had performed the two mailman-cleanup steps, though from the Ubuntu 20–22 guide. Somehow that resulted in very frequent occurrences of the service startup failure messages quoted in my original post.
I meant that I performed the mailman-cleanup steps you recommended, but I performed them weeks ago when I upgraded Ubuntu from 20 to 22. Now I have also uninstalled mailman and obviously the errors pertaining to it failing to start no longer appear in the system log, which is good. Thanks!