清空mailq 队列里面的邮件时间:2023-03-09 08:54:31 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 功能