Remove all frozen messages from exim mail queue

Sometimes it is necessary to remove all frozen messages in exim mail queue immediately. To do this just use:

exim -bpu | grep frozen | awk {'print $3'} | xargs exim -Mrm

command. You can also use specific exiqgrep command for this:

exiqgrep -z -i | xargs exim -Mrm

 



Tags: exim mail spool




You must be login first or sign-up for an account to post comments.

Maybe you should look at these also: