Centos failed to start postfix

Centos failed to start postfix

error code

Job for postfix.service failed because the control process exited with error code. See “systemctl status postfix.service” and “journalctl -xe” for details.

wrong reason

parameter inet_interfaces: no local interface found for ::1

Solution

Modify the configuration file /etc/postfix/main.cf

inet_interfaces = localhost
inet_protocols = all

Change

inet_interfaces = all
inet_protocols = all

Restart postfix

Released seven original articles · won praise 3 · Views 168

Guess you like

Origin blog.csdn.net/qinghuan100/article/details/105163973