What is true regarding the command sendmail?

A. With any MTA, the sendmail command must be run periodically by the cron daemon.
B. All MTAs, including Postfix and Exim, provide a sendmail command.
C. The sendmail command prints the MTAs queue history of which mails have been sent successfully.
D. It is only available when the sendmail MTA is installed.

题解

选项 A,「sendmail」指令可以直接使用,不需要透过 cron 调度。

选项 B,正确答案。

选项 C,「sendmail」指令会从标准输入中读取要送出的消息,接着存入寄信队列中。

选项 D,所有的 MTA 都有 sendmail 指令。