I am still searching for a solution to using exiqgrep with mailscanner to find and remove mail messages from the queue from the command line but have come up short. I found this old forum posting but it did not seem to have an answer.
Is there any way to remove emails from the command line using exiqgrep or some other utility once mailscanner is installed and uses an alternate outbound mail queue?