linux扫除邮件队列

linux清除邮件队列
[[email protected] mail]#tmp=`mailq | grep -E "root" | awk '{print $1}'`
[[email protected] mail]# echo $tmp
8F5B4C0653 9A100C065A
[[email protected] mail]# for i in $tmp;do postsuper -d $i;done

相关内容推荐