GitLab 遇到的坑

Job for postfix.service failed because the control process exited with error

[zbb@storage1 ~]$ sudo systemctl status postfix
● postfix.service - Postfix Mail Transport Agent
Loaded: loaded (/usr/lib/systemd/system/postfix.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Tue 2018-09-18 15:58:01 CST; 47s ago
Process: 11179 ExecStart=/usr/sbin/postfix start (code=exited, status=1/FAILURE)
Process: 11175 ExecStartPre=/usr/libexec/postfix/chroot-update (code=exited, status=0/SUCCESS)
Process: 11167 ExecStartPre=/usr/libexec/postfix/aliasesdb (code=exited, status=75)

解决方法:

 
修改 /etc/postfix/main.cf的设置

inet_protocols = ipv4
 
inet_interfaces = all
原文地址:https://www.cnblogs.com/zdqc/p/9669609.html