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. (
# vi /etc/postfix/

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

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...

Unable to connect FTP - Incorrect Password or User Account is disabled in Windows

Error - The domain's primary ftp user account is disabled in Windows or has an invalid password....

How to overcome the Mysql LOCK on table?

" Lock on the tables " in MySQL could cause a serious performance issue. For example we will...

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...

Powered by WHMCompleteSolution