Postfix Delete specific email address or domain from mailq

 Echo to have a look first:

mailq |grep -i -B 1 bad@thisdomain.com |sed ’s/–//g’|cut -f 1 -d ‘ ‘|sed ’s/*//g’|sed ’s/ //g’|sed ‘/^$/d’|while read line; do echo $line ; done

 

Here is real delete !

mailq |grep -i -B 1 bad@thisdomain.com |sed ’s/–//g’|cut -f 1 -d ‘ ‘|sed ’s/*//g’|sed ’s/ //g’|sed ‘/^$/d’|while read line; do echo $line ; done

即時留言

請注意: 你的 評論/意見 已提交或許會出現廷遲 / 在審閱後才刊登。 請不用再次提交你的意見。