PDA

View Full Version : How to remove all frozen emails from the mail queue?



arianagrand
04-04-2017, 08:07 AM
Hi folks,

I am here for some advice, please let me know, How to remove all frozen emails from the mail queue?

alpa
04-04-2017, 01:23 PM
We know the Exim command to remove emails from mail queue, “exim -Mrm” then followed by the . Remove all frozen emails from mail queue

kunalkumar
04-14-2017, 08:45 AM
The exiqgrep command with ‘-i’ switch list the message ID from mail queue, then remove the mail by using the mail ID.

Method III:

exim -bp | awk '/^ *[0-9]+[mhd]/{print "exim -Mrm " $3}' | bash

farhandiesel
04-19-2017, 01:54 AM
I agree with above post it will work

prithost.com
04-25-2017, 07:44 AM
Here we goes! You can remove the frozen mails by executing different combinations of Exim commands.

Method I : By using ‘exim -bp’ command

# exim -bp|grep frozen|awk '{print $3}' |xargs exim -Mrm
Method II : By using ‘exiqgrep’ command

# exiqgrep -zi|xargs exim -Mrm
Cool 🙂

prithostsales
04-26-2017, 08:09 AM
Here we goes! You can remove the frozen mails by executing different combinations of Exim commands.

Method I : By using ‘exim -bp’ command

# exim -bp|grep frozen|awk '{print $3}' |xargs exim -Mrm
Method II : By using ‘exiqgrep’ command

# exiqgrep -zi|xargs exim -Mrm
Cool

bidaddy
04-26-2017, 11:26 AM
Good to know if we come across an Exim mailserver :mrgreen:

WRONG forum dude! Here we point and click... Like hitting beavers with a hammer :wink:

Server9host
04-27-2017, 01:23 AM
Here we go !You can remove the frozen mails by executing different combinations of Exim commands.

Method I : By using ‘exim -bp’ command

# exim -bp|grep frozen|awk '{print $3}' |xargs exim -Mrm
Method II : By using ‘exiqgrep’ command

# exiqgrep -zi|xargs exim -Mrm

I hope this helped you.

stuartspindlow6
04-27-2017, 04:13 AM
Hello everyone,

I have no idea about it so please suggest me..

24x7servermanag
07-31-2017, 07:12 AM
Here is the command for you -


exim -bp | grep "frozen"| awk '{system ("exim -Mrm "$3)}'

Explanation -

i. exim -bp - It will provide the count of mails in mail queue on server.
ii. grep "frozen"- It will list only frozen emails from mail queue on server

kurozetka
10-13-2017, 11:18 AM
you can use this command through your command line: exiqgrep -iz|xargs exim -Mrm

kunalkumar
02-11-2020, 05:00 AM
Sharing a link with you: https://www.tranzmedia.com/blog/2017/08/29/how-to-remove-all-frozen-emails-from-exim-mail-queue/

Hope it will work for you.

GoMummy-GM
02-17-2020, 01:42 AM
#froz

Exim -bpc