How to disable IPv6 in Postfix?

How to make Postfix use IPv4 only?

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

inet_protocols = ipv4

Restart is needed.

Share Button

Leave a comment

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