Mailserver Configuration Options in WHM

Mailserver Configuration Options in WHM

Your Mailserver is used to transmit all emails that are sent or received between you and other people. Since there are many different ways to manage a Mailserver, we will show you how to access the available options and go over some of the primary settings.

Follow along to learn how to configure your Mailserver in the WebHost Manager (WHM). This will ensure that you are familiar with how to set up and secure your server to deliver emails successfully.

You must have a VPS host or Dedicated Server account with WHM to follow this guide.

Secure VPS HostingEnjoy high-performance, lightning-fast servers with increased security and maximum up-time with our Secure VPS Hosting!

check markLinux VPS check markcPanel or Control Web Panel check markScalable check markWebsite Migration Assistance

Linux VPS Hosting

How to Access MailServer Configuration Options

Many of the primary Mailserver options can be accessed in WHM on the Mailserver Configuration page. Here is how to get there.

  1. Login to WHM.
  2. Search for “mailserver” without the quotation marks.
  3. Click the Mailserver Configuration link under Service Configuration.
    Mailserver Configuration in WHM
  4. You can then select your Mailserver settings as needed. For an outline of the specific options, see the official Mailserver Configuration documentation by WHM.
  5. You can also access the Use Default values or Reset Form buttons on the bottom if you have made a mistake.
    Reset Form Values
  6. Click Save Changes on the bottom after choosing your settings.

How to Switch Mailserver Between Mdbox and Maildir

If you are running into issues with disk or inode usage, you may want to consider switching from maildir to mdbox. 

Before proceeding, we recommend reading the “Warning” section on the official Mailbox Conversion documentation from WHM.

  1. Login to WHM.
  2. Type “mailbox” in the search field without the quotation marks.
  3. Click the Mailbox Conversion link.
  4. It will list how many accounts are utilizing each format. Select the appropriate one you want to utilize. Options are: Convert to maildir and Convert to mdbox.
    Mailserver Conversion Settings in WHM
  5. Click the Next button.
  6. Check the box next to the accounts you want to convert then click the Next button.
  7. Check the box next to the Keep old mailbox files option if you want to save them in case there is a problem. Keep in mind that if you check this box, the files will have to be deleted manually.
  8. Click the Convert Selected button. You are finished when you see a “Completed” message.

Exim Configuration Manager

First we will show you how to configure the exim settings with the basic and advanced editors. Then, we will cover how to backup, restore, and reset your settings. For more detailed information, see the official Exim Configuration Manager documentation.

Basic Editor

The basic editor is the recommended way for most people to make exim setting changes. Here are the steps.

  1. Login to WHM.
  2. Type “exim” in the search box, without the quotation marks.
  3. Click the Exim Configuration Manager link under Service Configuration.
  4. Make sure you are on the Basic Editor tab.
  5. You can then scroll down to select your settings as needed. Click the tabs to sort by the following sections: All, ACL Options, Access Lists, Domains and IPs, Filters, Mail, RBLs, Security, Apache SpamAssassin™ Options.
    Basic Exim Editor
  6. Scroll all the way down and click the Save button after making any changes. You are finished when you see a message stating “Your changes have been saved.”
    Basic Exim Mailserver Settings Saved

Advanced Editor

We do not recommend making changes to your exim configuration using the Advanced Editor unless you know exactly what you are modifying.

  1. Login to WHM.
  2. Type “exim” in the search box, without the quotation marks.
  3. Click the Exim Configuration Manager link under Service Configuration.
  4. Click the Advanced Editor tab.
    Advanced Exim Editor
  5. You can then modify the exim configuration as needed.
    Advanced Exim Settings
  6. Scroll down and click the Save button after making your changes. Your settings will then be saved and exim will be restarted.
    Saving Advanced Exim Settings

Backup Exim Configuration

To migrate or save your exim settings you can use the backup option. Here are the steps.

  1. Login to WHM.
  2. Type “exim” in the search box, without the quotation marks.
  3. Click the Exim Configuration Manager link under Service Configuration.
  4. Click the Backup tab.
    Exim Mailserver Backup
  5. Select if you want the Download or Save on the Server option.
  6. Click the Run Backup button. You are finished when you see a “Backup Successful” message.

Restore Exim Configuration

Here are the steps to import exim settings that were previously exported.

  1. Login to WHM.
  2. Type “exim” in the search box, without the quotation marks.
  3. Click the Exim Configuration Manager link under Service Configuration.
  4. Click the Restore tab.
    Restore Exim Mailserver Settings
  5. Click the Choose File button then select and open your backup file.
  6. Click the Upload button.

Reset Exim Configuration

There may be some times when you want to restore your exim configuration settings. Here are the steps.

  1. Login to WHM.
  2. Type “exim” in the search box, without the quotation marks.
  3. Click the Exim Configuration Manager link under Service Configuration.
  4. Click the Reset tab.
    Resetting Exim Mailserver Settings
  5. Click the drop-down menu next to the Reset type option and choose the reset option you want to use.
  6. Click the Reset button. The settings will then be reset and exim will be restarted.

Mailserver Security Guides

Check out the following articles to learn the best ways to secure your Mailserver.

Here are some links to more step-by-step articles on managing email via WHM.

Now you are more familiar with Mailserver configuration options in WHM. For lots of helpful guides, visit our WebHost Manager Education Channel.

JB
John-Paul Briones Content Writer II

John-Paul is an Electronics Engineer that spent most of his career in IT. He has been a Technical Writer for InMotion since 2013.

More Articles by John-Paul

Was this article helpful? Join the conversation!