Localdomains vs. Remotedomains

Have you ever dealt with a user that pointed their MX records to another server but email from their website or other users on the same server isn’t going there? This is because Exim on is configured to use files called localdomains and remotedomains, which tell Exim whether a domain’s email is hosted locally or…

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

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

Log in