Anyway to permanantly disable mailman?

cwalke32477

Well-Known Member
Mar 2, 2010
94
0
56
Atlanta, Georgia
cPanel Access Level
Root Administrator
Is there anyway I can permanatly kill mailman?
I have it disabled in whm tweak settings, but user are still finding a way to use it through cron jobs.
I have tried #'ing the alias lines in httpd.conf, but everytime cpanel makes changes to httpd.conf, my #'s get wiped.

Can I just rename the .../3rdparty../mailman/ folder without distrupting anything else?
 

SB-Nick

Well-Known Member
Aug 26, 2008
175
9
68
cPanel Access Level
Root Administrator
Try this:

- Disable it from Main >> Service Configuration >> Service Manager.
- Create a /usr/local/cpanel/3rdparty/mailman/cgi-bin/.htaccess file and add the following:

<Limit GET POST>
order deny,allow
deny from all
</Limit>

<Limit PUT DELETE>
order deny,allow
deny from all
</Limit>


Then add the file into cpanelsync.exclude,

"/usr/local/cpanel/3rdparty/mailman/cgi-bin/.htaccess" >> /etc/cpanelsync.exclude