【问题标题】:Unable to activate sendmail due to error由于错误无法激活 sendmail
【发布时间】:2015-06-04 09:31:50
【问题描述】:

我在我的 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 是一个提示。但我也找不到这方面的任何东西。

【问题讨论】:

    标签: linux sendmail fedora-21


    【解决方案1】:

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

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2023-03-04
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2022-10-21
      相关资源
      最近更新 更多