How to Enable Passive FTP

Passive FTP is not enabled with pure-ftp by default. To enable this, edit /etc/pure-ftpd.conf and uncomment out this line: PassivePortRange 30000 50000 This means that FTP will answer passively on the range of ports between 30000 and 50000, so you may want to narrow the scope to something like 30000 to 35000. Once you do…

Read more

Changing a Site’s IP Address

There are three ways to change a site’s IP address on a cPanel server: Via WHM: Go to WHM > Change site’s IP Address , select the account, then select the IP Via Command Line: /usr/local/cpanel/bin/setsiteip -u $user $ip Manually: (This is also useful for changing the IP address of a single domain in an…

Read more

Installing and Configuring Dovecot

Enabling Dovecot You can convert a server from cppop or Courier IMAP to dovecot by running the following command: /scripts/setupmailserver dovecot   Configuring Dovecot Most relevant configurations can be made via WHM > Mailserver Configuration, but you can also change these via the config templates. You generally have to save the config via WHM at…

Read more

Modifying SMTP Relay Settings for Exim

cPanel’s stock installation of Exim includes a Tailwatchd driver called Antirelayd . Antirelayd is a daemon that checks /var/log/maillog for POP3 and IMAP logins and keeps track of valid logins for SMTP relaying. It reads /etc/relayhosts file automatically which is dynamically-updated, so any IPs that you add to this file will not be retained. By…

Read more

Installing ImageMagick on a cPanel Server

This post is obsolete as of cPanel 11.36. To install ImageMagick:  yum -y install ImageMagick-devel ImageMagick-c++-devel For PHP: /usr/bin/pecl install imagick For Perl: yum -y install ImageMagick-perl (You may need to temporarily remove “perl*” from /etc/yum.conf) LEGACY VERSION INSTALLATION: Some time in earlier 2009 cPanel added a new script to their repository to allow cPanel…

Read more

Installing an SSL Certificate for MySQL

From time to time I’ve had users ask me to install an SSL certificate for their MySQL server. Currently this support is not enabled in cPanel automatically, nor is there an option to use it in WHM > Manage Service SSL Certificates at the time this article was written. However, you can install a certificate manually by following a few simple steps.…

Read more

Increasing the Size of tmpDSK (/tmp)

You may have noticed that cPanel’s default partition size for /tmp is 512 MB, which in some cases can be way too small. The /tmp partition on cPanel servers, assuming it was the one cPanel created and not one you did yourself, is a file-based partition that can easily be resized.…

Read more

Log in