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
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
|
Bookmarks