On Mar 7, Michelle Dick <artemis@???> wrote:
>
> What is the best way to remove all of these from the queue without
> removing legitimate messages? Is there a way to remove all these
> messages (or have them delivered to the now existing :blackhole:
> alias) in one fell swoop? Their queue entries look like:
>
> 72m 0w36nX-0003rk-00 <> *** frozen ***
> loseweight@???
>
What I have done to remove a lot of messages is grep the input
directory, then sed out the -H and pipe the result to exim -Mrm
i.e. My nukemail script
#!/bin/sh
set -x
# input domain name
# must be run in exim's input directory
grep -l $1 * 2>/dev/null | sed -e 's/-H$//' | xargs exim -Mrm
--
Artificial Intelligence stands no chance against Natural Stupidity.
GAT d- -p+(--) c++++ l++ u++ t- m--- W--- !v
b+++ e* s-/+ n-(?) h++ f+g+ w+++ y*