Postfix disable IPv6

To disable IPv6 on the postfix mail server, edit

vi /etc/postfix/main.cf

Find

inet_protocols = all

Replace with

Advertisement

inet_protocols = ipv4

Restart postfix

systemctl restart postfix

Method 2

postconf -e inet_protocols=ipv4
systemctl restart postfix

To see the current configuration, run

[root@server ~]# postconf inet_protocols
inet_protocols = ipv4
[root@server ~]#
Add a comment

Leave a Reply

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

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Advertisement