---
title: "Mailserver Configuration Options in WHM"
description: "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..."
url: https://www.inmotionhosting.com/support/edu/whm/mailserver-configuration-options/
date: 2021-02-03
modified: 2022-06-07
author: "InMotion Hosting Contributor"
categories: ["WebHost Manager (WHM)"]
type: post
lang: en
---

# Mailserver Configuration Options in WHM

![Mailserver Configuration Options in WHM](https://www.inmotionhosting.com/support/wp-content/uploads/2021/02/Mailserver-Configuration-Options-in-WHM-1024x538.png)

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](https://www.inmotionhosting.com/vps-hosting) or [Dedicated Server ](https://www.inmotionhosting.com/dedicated-servers)account with WHM to follow this guide.

- [How to Access MailServer Configuration Options](#configuration)
- [How to Switch Mailserver Between Mdbox and Maildir](#switch)
- [Exim Configuration Manager](#config-manager)
- [Mailserver Security Guides](#security)
- [Additional Mailserver Guides](#more-guides)

![Secure VPS Hosting](https://design.inmotionhosting.com/assets/icons/custom/security.svg)Enjoy high-performance, lightning-fast servers with increased security and maximum up-time with our [Secure VPS Hosting](https://www.inmotionhosting.com/vps-hosting)!

![check mark](https://design.inmotionhosting.com/assets/icons/standard/check-blue.svg)Linux VPS ![check mark](https://design.inmotionhosting.com/assets/icons/standard/check-blue.svg)cPanel or Control Web Panel ![check mark](https://design.inmotionhosting.com/assets/icons/standard/check-blue.svg)Scalable ![check mark](https://design.inmotionhosting.com/assets/icons/standard/check-blue.svg)Website Migration Assistance

[Linux VPS Hosting](https://www.inmotionhosting.com/vps-hosting/linux-vps)

## 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](https://www.inmotionhosting.com/support/edu/whm/log-into-whm/).
2. Search for “mailserver” without the quotation marks.
3. Click the **Mailserver Configuration** link under *Service Configuration*.![Mailserver Configuration in WHM](https://www.inmotionhosting.com/support/wp-content/uploads/2021/02/mail-server-configuration.png)
4. You can then select your **Mailserver settings** as needed. For an outline of the specific options, see the official [Mailserver Configuration documentation](https://docs.cpanel.net/whm/service-configuration/mailserver-configuration/) 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](https://www.inmotionhosting.com/support/wp-content/uploads/2021/02/reset-default-form-values.png)
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](https://docs.cpanel.net/whm/email/mailbox-conversion/) from WHM.

1. [Login to WHM](https://www.inmotionhosting.com/support/edu/whm/log-into-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](https://www.inmotionhosting.com/support/wp-content/uploads/2021/02/mailbox-conversion.png)
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](https://docs.cpanel.net/whm/service-configuration/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](https://www.inmotionhosting.com/support/edu/whm/log-into-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](https://www.inmotionhosting.com/support/wp-content/uploads/2021/02/basic-editor.png)
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](https://www.inmotionhosting.com/support/wp-content/uploads/2021/02/changes-have-been-saved.png)

### 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](https://www.inmotionhosting.com/support/edu/whm/log-into-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](https://www.inmotionhosting.com/support/wp-content/uploads/2021/02/advanced-exim-configuration-manager.png)
5. You can then modify the exim configuration as needed.![Advanced Exim Settings](https://www.inmotionhosting.com/support/wp-content/uploads/2021/02/advanced-exim-editor.png)
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](https://www.inmotionhosting.com/support/wp-content/uploads/2021/02/advanced-exim-editor-settings-saved.png)

### Backup Exim Configuration

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

1. [Login to WHM](https://www.inmotionhosting.com/support/edu/whm/log-into-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](https://www.inmotionhosting.com/support/wp-content/uploads/2021/02/backup-tab.png)
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](https://www.inmotionhosting.com/support/edu/whm/log-into-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](https://www.inmotionhosting.com/support/wp-content/uploads/2021/02/exim-restore-tab.png)
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](https://www.inmotionhosting.com/support/edu/whm/log-into-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](https://www.inmotionhosting.com/support/wp-content/uploads/2021/02/reset-exim-configuration.png)
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.

- [Real-time Blackhole Lists (RBLs) in WHM for Stronger Email Security](https://www.inmotionhosting.com/support/edu/whm/rbl-whm/)
- [How to Enable SMTP Restrictions](https://www.inmotionhosting.com/support/email/how-to-enable-smtp-restrictions/)  
- [How to Configure Greylisting Settings in WHM](https://www.inmotionhosting.com/support/edu/whm/how-to-configure-greylisting-settings-in-whm/)
- [Force Email Exim Authentication](https://www.inmotionhosting.com/support/email/force-email-exim-authentication/)

## Additional Mailserver Guides

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

- [Manage the Exim Mail Queue in WHM](https://www.inmotionhosting.com/support/email/manage-the-exim-mail-queue-in-whm/)
- [Disable POP3 Mail Service on a Server](https://www.inmotionhosting.com/support/email/disable-pop3-mail-service-on-server/)
- [How to use WHM for Email Troubleshooting](https://www.inmotionhosting.com/support/email/whm-email-troubleshooting/)
- [How to Restart Services Using WHM (Exim Mailserver, IMAP Server)](https://www.inmotionhosting.com/support/edu/whm/how-to-restart-services-using-whm/)
- [Configuring Your VPS or Dedicated Server as a Mailserver](https://www.inmotionhosting.com/support/email/configuring-your-vps-dedicated-server-as-a-mail-server/)

Now you are more familiar with Mailserver configuration options in WHM. For lots of helpful guides, visit our [WebHost Manager Education Channel](https://www.inmotionhosting.com/support/edu/whm/).
