How to disable IPv6 for postfix service node?

Refers to:

  • Plesk for Linux

Created:

2016-11-16 13:06:45 UTC

Modified:

2017-02-21 14:29:29 UTC

11

Was this article helpful?


Have more questions?

Submit a request

How to disable IPv6 for postfix service node?

Symptoms

How to disable IPv6 on a Postfix Service Node?

Resolution

Enforcing Postfix to use IPv4 an be done by specifying inet_protocols parameter in main.cf configuration file:

  1. Open /etc/postfix/main.cf with text editor (for example, vi) on the Postfix service node.

  2. Change inet_protocols value from inet_protocols = all to inet_protocols = ipv4 .

  3. Restart Postfix service:

    # /etc/init.d/postfix restart

It defines what protocols Postfix will use, when it makes or accepts network connections, and also controls what DNS lookups Postfix will use, when it makes network connections.

For additional information, please, check Postfix documentation .

Have more questions? Submit a request
Please sign in to leave a comment.