How to clear exim mail queue

The joys of dealing with a mail queue!

To clear the Exim mail queue, you can use the following methods:

Method 1: Using the exim -q command

  1. Connect to your server via SSH.
  2. Run the following command: exim -q
  3. This will process and deliver any messages in the queue.

Method 2: Using the exim -qf command

  1. Connect to your server via SSH.
  2. Run the following command: exim -qf
  3. This will force Exim to process and deliver all messages in the queue, even if they are stuck or frozen.

Method 3: Using the exim -M command

  1. Connect to your server via SSH.
  2. Run the following command: exim -M
  3. This will process and deliver messages in the queue, but only for messages that are not frozen.

Method 4: Using the exim -Mf command

  1. Connect to your server via SSH.
  2. Run the following command: exim -Mf
  3. This will force Exim to process and deliver all messages in the queue, including frozen messages.

Method 5: Using the exim -q command with options

  1. Connect to your server via SSH.
  2. Run the following command: exim -q -v (or -v for verbose mode)
  3. This will process and deliver messages in the queue, and also provide detailed output about the processing.

Additional tips:

Remember to always exercise caution when working with the Exim mail queue, as clearing the queue can potentially cause issues with your email service.