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 this post

One thought on “How to disable IPv6 in Postfix?

Post Comment