Linux_FoundationLinux_Foundation
LFCS · Question #556
LFCS Question #556: Real Exam Question with Answer & Explanation
The correct answer is C: mailq. The mailq command is used to display the contents of the mail queue on a system, listing messages awaiting delivery by the mail transfer agent.
Submitted by kwame.gh· Apr 18, 2026Service Configuration
Question
Which of the following commands should be used to print a listing of emails in the system's mail queue?
Options
- Asendmail -l
- Blpq
- Cmailq
- Dmlq
Explanation
The mailq command is used to display the contents of the mail queue on a system, listing messages awaiting delivery by the mail transfer agent.
Common mistakes.
- A.
sendmail -lis not a standard command or option to list the mail queue;sendmailitself is a Mail Transfer Agent. - B.
lpqis used to examine the spool queue for printing jobs, not email messages. - D.
mlqis not a standard command for displaying the mail queue.
Concept tested. Linux mail queue management
Reference. https://man7.org/linux/man-pages/man8/mailq.8.html
Topics
#Mail queue#Email management#System commands
Community Discussion
No community discussion yet for this question.