Answer the question
In order to leave comments, you need to log in
How to disable all mail except postfix in iptables?
Is it possible in iptables to access external ports 25 to send mail to everyone except postfix?
Answer the question
In order to leave comments, you need to log in
I have a rule.
iptables -A OUTPUT -p tcp -m owner --uid-owner postfix -m tcp --dport 25 -j ACCEPT
iptables -A OUTPUT -p tcp -m tcp --dport 25 -j DROP
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question