Stop the qmail-send first.
svc -d /service/qmail-send
Wait till it goes down. It can take really long time to go down, if your qmail queue is busy
while ! svstat /service/qmail-send | grep ‘: down’
do
echo “Not down yet!”
sleep 5
done
It will exit out as soon as it is down
Now use `qmqtool‘ to delete your message from queue
qmqtool -d -f [...]
Filed under: qmail | 1 Comment »