How to force Force postfix to use only IPv4 protocol?

Here are the steps to Force postfix to use only IPv4 protocol - 

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.

Was this answer helpful?

 Print this Article

Also Read

How to retrieve plesk panel admin password?

Steps to retrieve plesk panel admin password -For Plesk versions 10.x-12.x :Log in to server via...

How to resolve POST request fails while adding the sub-domain?

While adding sub-domain, I'm facing issue with POST request. I tried adding sub-domain, server is...

How to repair vhost permissions for domains?

Here is the solution to repair the vhost permission - Login to your plesk server via SSH and...

Required PHP version greater than equal to 5.4.45 AND found version is : 5.3.3

While installing application via Softaculous Application Installer it appears the following error...

How to install and configure the Mod Security on Plesk 12 admin?

Mod Security installer is used for preventing the attacks on web applications. Mod security will...

Powered by WHMCompleteSolution