Issue When Deactivating Maiman
As I don’t need Mailman at all and noticed it keeps consuming server recourses, I decided to switch it off at Server Configuration > Tweak Settings and restarted server.
I thought that would be enough but still noticed Mailman was still using server resources and that was because its cronjob. So, I simply comment out all lines and apparently everything worked as desired.
Point is system keeps me sending
[check_cpanel_pkgs] warnings about cpanel-mailman,2.2.0.40,1.cp130~el9-/etc/cron.d/mailman
And of course, if I run /usr/local/cpanel/scripts/check_cpanel_pkgs –fix the cronjob is restored and gets me back to initial point.
I can simply ignore such messages but I think once Mailman was disable, cron should be disable as well and never receive and [check_cpanel_pkgs] as well. At least other disabled services it never happened.
Running on AlmaLinux v9.7.0 STANDARD kvm and cPanel 132.0.22
Should I remove Mailman using yum remove mailman ? I mean, perhaps it may cause more warnings or so. Perhaps there are Mailman references somewhere that need to be removed also.
Any piece of advice will be welcome.
-
Forgot to mention that I did disabled Mailman in Service Configuration > Service Manager
0 -
Yes when you disable Mailman is Tweak settings it's also automatically disabled in Service Manager
0 -
You can't remove the package itself as that will be reinstalled as part of the nightly updates.
If you have removed both checkboxes next to Mailman in WHM >> Service Manager I would expect that to kill any processes that are running as that shuts off both the service and the monitoring for it.
Are you still seeing processes for Mailman even after you do that? If so, can you share what those processes are here? I'd be interested in seeing those.
0 -
Hi cPRex
Both Mailman checkboxes were uncheck WHM >> Service Manager and I thought I got rid of it. But a couple days later checking WHM>>Daily Process Log as a quick view, I’ve notice Mailman was still showing up there.
As I never use mailman, a Cronjob was the only thing that came into my mind and checking that out I’ve notice mailman cron was still running so I’ve just comment all out and finally mailman processes stop showing up anywhere.
The only thing at the moment are [check_cpanel_pkgs] warnings as I mentioned.
I’m currently ignoring that as my system looks pretty good to me, in fact disabling Mailman as I never use it was a good thing.
The question is why mailman cron was still running after disabling it?
0 -
That one I don't have a good explanation for. On my test server everything stopped after I disabled Mailman in Service Manager.
0 -
Quick question: in your server, does mailman cron still keep running? Or it’s commented out or deleted?
0 -
I don't see the mailman cron at all after the software is disabled.
0 -
Disabling Mailman in Tweak Settings only stops it from being used by cPanel, but the package is still installed, which is why check-cpanel-pkgs keeps restoring the cron file and generating warnings. That script simply ensures all cPanel-managed packages remain intact.
You generally shouldn’t remove it with yum remove mailman, because cPanel expects the package to exist, and it may create more warnings or break dependencies.
The safest approach is to leave the package and cron as they are and just keep Mailman disabled in Tweak Settings. If it’s not actively used, the resource impact should be minimal.
0
Please sign in to leave a comment.
Comments
8 comments