0

I installed sendmail on my Fedora 21 Server installation but when I start it and check it's status I get the following:

[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.

What is the problem here? I thought the -bd is not supported by sSMTP was a hint. But I can't find anything on this either.

4

1 に答える 1

3

sSMTP は、送信専用の sendmail エミュレーターです。デーモンとして実行する場合、-bd オプションはサポートされません (「man ssmtp」を参照)。F21 の現在の sendmail は ssmtp のエイリアスです。F21 (yum erase sSMTP) から ssmtp を完全に削除する必要があります。

于 2015-06-04T10:45:42.070 に答える