102-500 · Question #72
Which of the following is true regarding the command sendmail?
The correct answer is E. All common MTAs, including Postfix and Exim, provide a sendmail command. Option E is correct because sendmail is a standardized interface - virtually all MTAs (Mail Transfer Agents) on Unix/Linux systems implement a /usr/sbin/sendmail binary or symlink that accepts the same basic command-line arguments, allowing scripts and applications to send mail…
Question
Options
- AWith any MTA, the sendmail command must be run periodically by the cron daemon.
- BWhen using systemd, sendmail is an alias to relayctl.
- CThe sendmail command prints the MTA's queue history of which mails have been sent
- DIt is only available when the sendmail MTA is installed.
- EAll common MTAs, including Postfix and Exim, provide a sendmail command.
How the community answered
(23 responses)- A9% (2)
- C4% (1)
- E87% (20)
Explanation
Option E is correct because sendmail is a standardized interface - virtually all MTAs (Mail Transfer Agents) on Unix/Linux systems implement a /usr/sbin/sendmail binary or symlink that accepts the same basic command-line arguments, allowing scripts and applications to send mail without knowing which MTA is installed underneath. Postfix, Exim, and other common MTAs all provide this compatibility wrapper.
Why the distractors are wrong:
- A is false -
sendmailis invoked directly to inject messages, not by cron; cron may trigger queue processing (sendmail -q), but that's distinct. - B is false -
relayctlis an OpenBSD tool for managingrelayd; it has nothing to do withsendmailunder systemd. - C is false -
sendmailsubmits or processes mail; queue history isn't its function. Usemailqorpostqueue -pto inspect the queue. - D is false - this is the key misconception; even if the original Sendmail MTA is not installed, Postfix and Exim still provide a
/usr/sbin/sendmailcommand for compatibility.
Memory tip: Think of sendmail as a universal "drop mail here" slot - every MTA builds one so the slot always exists, regardless of which MTA is behind the wall.
Topics
Community Discussion
No community discussion yet for this question.