If you want to print a listing of your computer’s mail queues, what command would you use?
A.
sendmail -l
B.
lpq
C.
mailq
D.
mlq
Explanation/Reference:
From the man pages:
mailq List the mail queue. Each entry shows the queue file ID, message size, arrival time, sender, and the recipients that still need to be delivered. If mail could not be delivered upon the last attempt, the reason for failure is shown. This mode of operation is implemented by executing the postqueue(1) command.A) there is no -l option in sendmail
B) print queue status
D) does not exist