
Here are the steps to Force postfix to use only IPv4 protocol -
1. Open postfix configuration file. (main.cf)
1. Open postfix configuration file. (main.cf)
# vi /etc/postfix/main.cf
2. Change inet_protocols value from inet_protocols = all to inet_protocols = ipv4
3. Now, restart postfix service by using below command.
#service postfix restart
Now, postfix will use only IPv4 protocol.