postfix force ipv4

Started by Namaste, September 21, 2020, 02:18:23 PM

Previous topic - Next topic

Namaste

 inet_protocols = ipv4 will not allow restart postfix.

Update: I confused protocols with interfaces
Listen to everything Pixelpadre says.

Namaste

Se7p 21 10:24:30 server.foreveryours.us postfix[6753]: fatal: config variable inet_interfaces: host not found: ipv4
Sep 21 10:24:31 server.foreveryours.us systemd[1]: postfix.service: control process exited, code=exited status=1
Sep 21 10:24:31 server.foreveryours.us systemd[1]: Failed to start Postfix Mail Transport Agent.
-- Subject: Unit postfix.service has failed
Listen to everything Pixelpadre says.

studio4host

Edit /etc/sysctl.conf and add the following at the end of the file.

net.ipv6.conf.all.disable_ipv6 = 1
net.ipv6.conf.default.disable_ipv6 = 1

After, run the command:

sysctl -p
VPS & Dedicated server provider with included FREE Managed support for CWP.
http://www.studio4host.com/

*** Don't allow that your server or website is down, choose hosting provider with included expert managed support for your CWP.

Namaste

Its really really really important to set

inet_protocols = ipv4

in postfix config file....../etc/postfix
Listen to everything Pixelpadre says.

Igor S.

Studio4host showed how to disable IPv6 absolutely, Postfix will use IPv4 only in this case.



You can ask me to solve any problem with your server for some money in pm  ;)






Services Monitoring & RBL Monitoring
http://centos-webpanel.com/services-monitor


Join our Development Team and get paid !
http://centos-webpanel.com/develope-modules-for-cwp

Installation Instructions
http://centos-webpanel.com/installation-instructions

Get Fast Support Here
http://centos-webpanel.com/support-services