我在我的Fedora 21 Server安装上安装了sendmail但是当我启动它并检查它的状态时,我得到以下内容:
[root@localhost mail]# systemctl status sendmail
● sendmail.service - Sendmail Mail Transport Agent
Loaded: loaded (/usr/lib/systemd/system/sendmail.service; enabled)
Active: failed (Result: resources) since Thu 2015-06-04 11:23:31 CEST; 2min 39s ago
Process: 31776 ExecStart=/usr/sbin/sendmail -bd $SENDMAIL_OPTS $SENDMAIL_OPTARG (code=exited, status=0/SUCCESS)
Process: 31766 ExecStartPre=/etc/mail/make aliases (code=exited, status=0/SUCCESS)
Process: 31763 ExecStartPre=/etc/mail/make (code=exited, status=0/SUCCESS)
Jun 04 11:23:31 localhost.localdomain sendmail[31776]: -bd is not supported by sSMTP
Jun 04 11:23:31 localhost.localdomain systemd[1]: Failed to start Sendmail Mail Transport Agent.
Jun 04 11:23:31 localhost.localdomain systemd[1]: Unit sendmail.service entered failed state.
Jun 04 11:23:31 localhost.localdomain systemd[1]: sendmail.service failed.
这是什么问题?我认为-bd is not supported by sSMTP
是一个提示。但我也无法找到任何相关内容。
答案 0 :(得分:2)
sSMTP是一个仅发送的sendmail模拟器。当作为守护进程运行时,它不支持-bd选项(请参阅" man ssmtp")。 F21中的当前sendmail是ssmtp的别名。您需要完全从F21中删除ssmtp(yum erase sSMTP)。