Hi folks,
I am here for some advice, please let me know, How to remove all frozen emails from the mail queue?
Hi folks,
I am here for some advice, please let me know, How to remove all frozen emails from the mail queue?
We know the Exim command to remove emails from mail queue, “exim -Mrm” then followed by the . Remove all frozen emails from mail queue
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
I agree with above post it will work
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 🙂
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
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.
Hello everyone,
I have no idea about it so please suggest me..
Here is the command for you -
Explanation -exim -bp | grep "frozen"| awk '{system ("exim -Mrm "$3)}'
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
you can use this command through your command line: exiqgrep -iz|xargs exim -Mrm
Sharing a link with you: https://www.tranzmedia.com/blog/2017...im-mail-queue/
Hope it will work for you.
#froz
Exim -bpc
|
Bookmarks