Author Topic: postfix force ipv4  (Read 7331 times)

0 Members and 1 Guest are viewing this topic.

Offline
***
postfix force ipv4
« on: September 21, 2020, 02:18:23 PM »
 inet_protocols = ipv4 will not allow restart postfix.

Update: I confused protocols with interfaces
« Last Edit: September 21, 2020, 02:31:21 PM by Namaste »
Listen to everything Pixelpadre says.

Offline
***
Re: postfix force ipv4
« Reply #1 on: September 21, 2020, 02:27:35 PM »
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.

Offline
*
Re: postfix force ipv4
« Reply #2 on: September 22, 2020, 08:40:16 AM »
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.

Offline
***
Re: postfix force ipv4
« Reply #3 on: December 20, 2020, 11:18:34 PM »
Its really really really important to set

inet_protocols = ipv4

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

Offline
*****
Re: postfix force ipv4
« Reply #4 on: December 21, 2020, 01:27:40 PM »
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