JavaScript Required.
We're sorry, but Pega7 doesn't work without JavaScript enabled. Please enable and refresh.
<p>Let's say you don't want to run the Mailman mailing list manager. Since this is a default option in cPanel, there are several steps to completely disable it.<br /> <em><strong>Note:</strong> new VPS's do not have Mailman enabled by default.</em></p> <h2>Disabling Mailman for cPanel Users</h2> <ol> <li> <p><a href="https://www.asmallorange.com/help/article/aso-log-into-whm" target="_blank">Log in to WHM</a></p> </li> <li> <p>Navigate to Server Configuration and then Tweak Settings</p> </li> <li> <p>Scroll down to Mail and uncheck the box for Mailman</p> </li> <li> <p>Scroll to the bottom and click Save</p> </li> </ol> <h2>Removing the Mailman Alias in Apache</h2> <ol> <li> <p>Using SSH to connect to your server and login as root</p> </li> <li> <p>Edit 'httpd.conf' (do not use the Virtuozzo file editor to do this) using vi or nano</p> <p>nano /usr/local/apache/conf/httpd.conf</p> <p> </p> </li> <li> <p>Scroll down to these lines:</p> <p>Alias /mailman/archives/ /usr/local/cpanel/3rdparty/mailman/archives/public/<br /> ScriptAlias /mailman/ /usr/local/cpanel/3rdparty/mailman/cgi-bin/<br /> Alias /pipermail/ /usr/local/cpanel/3rdparty/mailman/archives/public/</p> </li> <li> <p> </p> <p>#Alias /mailman/archives/ /usr/local/cpanel/3rdparty/mailman/archives/public/</p> <p>#ScriptAlias /mailman/ /usr/local/cpanel/3rdparty/mailman/cgi-bin/</p> <p>#Alias /pipermail/ /usr/local/cpanel/3rdparty/mailman/archives/public/</p> <p> </p> <p>This disables the mailman aliases without removing the entry (you may want it later).</p> </li> <li> <p>Save the file and restart Apache:</p> <p>service httpd restart</p> <p> </p> </li> </ol> <h2 id="hn_Removing_the_cron_entries">Removing the cron Entries</h2> <p>While logged in via SSH as root, enter this command:</p> <p>crontab -d -i -u mailman</p> <p> </p> <p>This will delete the mailman's nightly cron tasks. Alternately (recommended), you can edit mailman's crontab:</p> <p>crontab -e -u mailman<br /> </p> <p>Comment out each line by placing a # in front of all the entries. Any line that already starts with a # is a comment.</p>