CompTIA Linux+ Powered by LPI (LX0-104) — Question 7
What is true regarding the command sendmail?
Answer options
- 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.
Correct answer: B
Explanation
The correct answer is B because all major MTAs, including Postfix and Exim, support the sendmail command for compatibility purposes. Option A is incorrect as the sendmail command does not need to be run by cron; it is invoked as needed. Option C is wrong because the sendmail command itself does not print queue history; that function is typically handled by other commands. Option D is incorrect since the sendmail command is available in other MTAs as well.