exam questions

Exam LX0-104 All Questions

View all questions & answers for the LX0-104 exam

Exam LX0-104 topic 4 question 14 discussion

Actual exam question from CompTIA's LX0-104
Question #: 14
Topic #: 4
[All LX0-104 Questions]

SIMULATION -
Which command, available with all MTAs, is used to list the contents of the MTA's mail queue? (Specify ONLY the command without any path or parameters.)

Show Suggested Answer Hide Answer
Suggested Answer: mailq -or- /usr/bin/mailq -or- sendmail -bp -or- /usr/sbin/sendmail -bp -or- /usr/lib/sendmail -bp -or- sendmail -or- /usr/sbin/sendmail -or- /usr/lib/

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
linux_admin
2 years, 2 months ago
he command used to list the contents of the mail queue for most MTAs (Mail Transfer Agents) is "mailq". The exact syntax of the command may vary depending on the MTA you are using, but the basic format is usually as follows: mailq This command will display a list of all messages currently in the MTA's mail queue, including information such as the recipient, the sender, the date, and the size of each message. In some cases, additional options may be available to display more detailed information or to perform other actions on the messages in the queue. For example, in the case of the Postfix MTA, you can use the following command to display a more detailed view of the mail queue: postqueue -p n the case of the Sendmail MTA, you can use the following command: sendmail -bp It's important to note that different MTAs may have different ways of managing the mail queue, so it's a good idea to consult the documentation for your specific MTA for more information.
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago