find the spaming domain and delete
postqueue -p -c /etc/postfix |grep -i | cut -d ' ' -f 1 > /tmp/cleanoutqueue.sh
cat /tmp/cleanoutqueue.sh |awk '{print "sudo postsuper -c /etc/postfix/ -d " $1}'> /tmp/cleanoutgo1.sh
chmod +x /tmp/cleanoutgo1.sh
sh /tmp/cleanoutgo1.sh
postqueue -p -c /etc/postfix |grep
cat /tmp/cleanoutqueue.sh |awk '{print "sudo postsuper -c /etc/postfix/ -d " $1}'> /tmp/cleanoutgo1.sh
chmod +x /tmp/cleanoutgo1.sh
sh /tmp/cleanoutgo1.sh
Comments
Post a Comment