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

Understanding Dovecot IMAP and Maildir

Maildir (run by Courier IMAP or Dovecot) is a mail format used in conjunction with an MTA to store email on the server as separate files within folders. This post covers Courier IMAP as a service, not in terms of mail client usage. Directory Structure A user’s email is store in ”’/home/user/mail/<domain>/<emailuser>/…”’. Below is a…

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

Log in