myshellconfig/bin/rmfrozen

8 lines
126 B
Text
Raw Normal View History

#!/bin/bash
echo remove frozen mails from mailq
sudo bash <<"EOF"
exim -Mrm $(mailq|awk '$0 ~ /.*frozen.*/ {print $3}')
EOF