0

我在我的 Fedora 21 服务器安装上安装了 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是一个提示。但我也找不到任何东西。

4

1 回答 1

3

sSMTP 是一个只发送邮件的模拟器。当作为守护进程运行时,它不支持 -bd 选项(参见“man ssmtp”)。F21 中的当前 sendmail 是 ssmtp 的别名。您需要从 F21 中完全删除 ssmtp(yum erase sSMTP)。

于 2015-06-04T10:45:42.070 回答