About Config Server Mail queue

Server mail Queue (on Linux) means Mail sent to and from your server passes through the mail queue. Sometimes messages can get stuck in the queue, due to number of reasons. It may indicate that spam is being sent from your server, and it is clogging the queue. Check the Deferred queue for suspicious messages and so on.

Here in this tutorial to you can know about mail queue features and how to configure this in your server whm,

The mail queue configuration is an special add on feature available in Whm/Cpanel.It will provides with a full feature interface to cpanel exim mail queues from within whm.

This addon feature provides with an interface to the cPanel user accounts email configuration without having to login to their accounts.

It is domain based not the account based.


The following are the important features of mail queue,

  • View, edit and delete email accounts, email forwarders and email filters.
  • View and modify email account quotas
  • Modify email account passwords
  • List only email accounts that are over quota
  • Modify Outgoing Mail Hourly Limits
  • List only email accounts that are over a specified size
  • View the total number of emails in an email account
  • Empty an email account
  • View emails in an email account
  • Individually delete emails in an email account

How to install :-

You can  also see the latest version of config server mail queue and it can be downloaded from https://download.configserver.com/cmq.tgz

1. Upload the cmq.tgz file to your server

2. Untar the file distribution:

    tar -xzf cmq.tgz

3. cd into the directory created and run the install script:

    cd cmq/
    sh install.sh

4. Login to WHM

Go to Plugins and >> Select ConfigServer mail queues

Config server mail queue manage section

In config server manage section you have options that help to sort the mails based on our preference. Check boxes are availed that help to sort out the frozen mails, bounce mails, incoming mails, outgoing mails etc.

Also there are search options availed with email subject, Emails older than etc.

Output based on search preferences

In this section, message ids of emails are listed with the information such as age, size details and from, to address of each emails are listed. Here there are options to delete email, deliver email and view the delivery log of email which are obtained from the exim_mainlog file.

Delivery log

Here in this log actual message with complete message headers and message body are availed when you click on the message id.


Login to the server

cd /usr/src
rm -fv /usr/src/cmq.tgz
wget http://download.configserver.com/cmq.tgz
tar -xzf cmq.tgz
cd cmq
sh uninstall.sh
rm -Rfv /usr/src/cmq*


The drawback in shared server hosting is ,When we manage shared hosting one of the things that we are commonly facing are out of control mail queues.

This plugin give you a graphical interface and helps to manage mail queues and delete excess emails without removing legitimate mail.

In order to start the mail services and modify exim ports in the server click here.


Leave a Reply

Your email address will not be published.