Dedicated Servers

How to clean the messages from the mail queue on a dedicated server?

The process to clean the messages from the mail queue on a dedicated server.

Clearing the queue of e-mails at regular intervals on a dedicated server is vital as your application may suffer as a result of a large number of spam messages that may block your mails.

  • For this purpose login to the XcellHost with your root user.
  • Then type the following command to delete your mail queue:

                            clearq

  • Note that this command will delete the new messages that were not delivered yet.
  • This may lead to the loss of important information for you!