tmp_=`mailq | grep -E "root" | awk '{print $1}'`

for i in $tmp_;do postsuper -d $i;done

postqueue -p  or mailq  功能相同:

postqueue: warning: Mail system is down -- accessing queue directly

没有开启postfix 功能

05-04 00:16