Postfix disable IPv6
To disable IPv6 on the postfix mail server, edit
1 |
vi /etc/postfix/main.cf |
Find
1 |
inet_protocols = all |
Replace with
1 |
inet_protocols = ipv4 |
Restart postfix
1 |
systemctl restart postfix |
Method 2
1 2 |
postconf -e inet_protocols=ipv4 systemctl restart postfix |
To see the current configuration, run
1 2 3 |
[root@server ~]# postconf inet_protocols inet_protocols = ipv4 [root@server ~]# |