exim mail queue manager https://www.hostpoco.com/blog HostPoco Fri, 21 Jul 2023 02:18:26 +0000 en-US hourly 1 https://wordpress.org/?v=6.3 https://www.hostpoco.com/blog/wp-content/uploads/2023/07/Untitled-1.png exim mail queue manager https://www.hostpoco.com/blog 32 32 How to : Remove All messages From the Mail Queue Of Exim https://www.hostpoco.com/blog/how-to-exim-remove-all-messages-from-the-mail-queue/ Sat, 19 Feb 2022 11:55:00 +0000 https://www.hostpoco.com/blog/?p=1105 Exim is a well-known Mail transfer agent (MTA) which is compatible with similar operating systems to Unix. It’s goal is to become an all-purpose and flexible mailer with a variety of tools for checking the incoming mail. For more details, read the Exim documentation. In this post, Hostpoco will demonstrate some commands for eliminating every …

How to : Remove All messages From the Mail Queue Of Exim Read More »

The post How to : Remove All messages From the Mail Queue Of Exim appeared first on .

]]>
Exim is a well-known Mail transfer agent (MTA) which is compatible with similar operating systems to Unix. It’s goal is to become an all-purpose and flexible mailer with a variety of tools for checking the incoming mail. For more details, read the Exim documentation.

exim-mail-queue-messages-removal

In this post, Hostpoco will demonstrate some commands for eliminating every message from your Mail Queue. Follow the steps.

Step 1: Print a summary of items in the queue type the following command:

exim -bp

Step 2: To delete messages in the queue use the following command:

exim -Mrm {message-id}

Step 3:To get rid of all messages in the queue, use the following command:

exim -bp | awk ‘/^ *[0-9]+[mhd]/{print “exim -Mrm ” $3}’ | bash

Step 4:Dallas Marlow. He suggested the following clean command:

exim -bp | exiqgrep -i | xargs exim -Mrm

Step 5:Command to remove emails of perticular domain from mail queue:

exiqgrep -ir [email protected] | xargs exim -Mrm

That’s it.

The post How to : Remove All messages From the Mail Queue Of Exim appeared first on .

]]>