![postfix/postfix-script:致命:邮件系统启动失败](https://linux22.com/image/751027/postfix%2Fpostfix-script%EF%BC%9A%E8%87%B4%E5%91%BD%EF%BC%9A%E9%82%AE%E4%BB%B6%E7%B3%BB%E7%BB%9F%E5%90%AF%E5%8A%A8%E5%A4%B1%E8%B4%A5.png)
在装有 Debian 10 (buster) 的 Digital Ocean droplet 中,尝试设置 postfix + dovecot 电子邮件服务器。尝试执行以下操作postfix start
:
$ sudo postfix start
postfix/postfix-script: warning: symlink leaves directory: /etc/postfix/./makedefs.out
postfix/postfix-script: starting the Postfix mail system
postfix/postfix-script: fatal: mail system startup failed
地位:
$ sudo postfix status
postfix/postfix-script: the Postfix mail system is not running
重新加载:
$ sudo postfix reload
postfix/postfix-script: fatal: the Postfix mail system is not running
权限:
$ sudo postfix set-permissions
重新开始:
$ sudo systemctl status postfix
● postfix.service - Postfix Mail Transport Agent
Loaded: loaded (/lib/systemd/system/postfix.service; enabled; vendor preset: enabled)
Active: active (exited) since Wed 2020-04-15 02:36:43 UTC; 19s ago
Process: 7465 ExecStart=/bin/true (code=exited, status=0/SUCCESS)
Main PID: 7465 (code=exited, status=0/SUCCESS)
abr 15 02:36:43 mail systemd[1]: Starting Postfix Mail Transport Agent...
abr 15 02:36:43 mail systemd[1]: Started Postfix Mail Transport Agent.
重试:
$ sudo postfix start
postfix/postfix-script: warning: symlink leaves directory: /etc/postfix/./makedefs.out
postfix/postfix-script: starting the Postfix mail system
postfix/postfix-script: fatal: mail system startup failed