How to disable IPv6 in Postfix?

How to make Postfix use IPv4 only?

Well, we only need to edit /etc/postfix/, and set inet_protocols to ipv4, like this,

inet_protocols = ipv4

Restart is needed.

Leave a comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.