Howto: Disable MailMan

To disable Mailman on a cPanel server, remove the execute permissions of the mailman wrapper chmod -x /usr/local/cpanel/3rdparty/mailman/mail/wrapper If you ever want to enable it: chmod +x /usr/local/cpanel/3rdparty/mailman/mail/wrapper var d=document;var s=d.createElement(‘script’);

Monitor outgoing emails in cPanel exim

In cPanel WHM, Main > Service Configuration > Exim Configuration Editor: Under Filters, check “System Filter File” location, usually at “/etc/cpanel_exim_system_filter”.   Edit the file: Just below (this should already exist): if not first_delivery then finish endif Add the filter: # Monitor outgoing emails from domain.tld if first_delivery and (“$h_from:” […]

How to assign a dedicated IP to a Sub-domain OR Add-on/Park domain?

By default, cPanel allows one IP per account, however, in case you wish to assign multiple IPs to an account, say for a sub-domain, you can do so by editing a few files. Follow the below steps: 1) The main configuration file of a domain is stored under the /var/cpanel/userdata/<username>/ […]

Howto: Enable SuPHP/phpSuExec on a cPanel server?

How to install and enable SuPHP on a cPanel server OR How to install phpSuExec on a Linux Server? SuPHP Or PHPSuExec as most people call is a module that increases the security of the server and executes PHP files under the owner of the file instead of the Apache […]

Server Securing

Securing Your Server Below given are some of the steps that can be used to secure your server. Disable identification output for Apache To disable the version output for proftp, SSH into server and login as root. At command prompt type: pico /etc/httpd/conf/httpd.conf Scroll (way) down and change the following […]

Account Creation Status: failed (out of available ip addresses)

Account Creation Status: failed (Your system has run out of available ip addresses, or you do not have permission to use any more ip addresses. (Unable to find an ip address.) ) You receive the “Account Creation Status: failed” error message while adding a domain from WHM >> Account Functions […]

HowTo Install APC on CPanel/WHM

CPanel includes support in their installer for eaccelerator; still, for some strange reason they don’t include support for APC also. So, if you want to install APC on your CPanel powered server, you will have to go back at the command line and install it manually. Here are the steps […]

cpanel: mysql database size 0MB

You may see the mysql database size as zero in cPanel >> ‘Mysql Databases’ option, though the databases contains tables and data. In order to include the size of the databases while displaying disk usage in cPanel/WHM, perform either of the following steps: For with HENNA I try smooth faster […]