iptables -I OUTPUT 1 -p tcp --dport 25 -j DROP
iptables -I OUTPUT 1 -p tcp --dport 587 -j DROP
iptables block outgoing smtp
Leave a reply
iptables -I OUTPUT 1 -p tcp --dport 25 -j DROP
iptables -I OUTPUT 1 -p tcp --dport 587 -j DROP