Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.

Exam 102-500 topic 1 question 33 discussion

Actual exam question from LPI's 102-500
Question #: 33
Topic #: 1
[All 102-500 Questions]

FILL BLANK -
Which command, available with all sendmail-compatible 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

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
lanc
Highly Voted 2 years, 4 months ago
mailq Behave as if the option -bp were present before any other options. The -bp option requests a listing of the contents of the mail queue on the standard output
upvoted 10 times
...
brrbrr
Highly Voted 2 years, 2 months ago
mailq is the right answer
upvoted 6 times
...
drliu1202
Most Recent 1 month, 4 weeks ago
mailq According to Japanese LPI official guide.
upvoted 1 times
...
Lazylinux
5 months, 1 week ago
SENDMAIL - Yes it does meet the requirements to be the answer - as question clearly said DO NOT include any parameters meaning they know the required command does require parameters otherwise would not state it and would rather state Just write the command..so correct answer is SENDMAIL but i believe if either SENDMAIL or mailq were answered you still get the credit for it as both answers are correct Question with answer from LPIC study guide Which command can the root user execute to list the undelivered messages that originated on the local system? The command mailq or sendmail -bp. from page 372 Also the following comments The command mailq is equivalent to sendmail -bp, and they should be present regardless of the MTA installed in the system. To ensure backward compatibility, most MTAs provide these traditional mail administration commands.
upvoted 1 times
...
Dolus
2 years, 1 month ago
Think the answer is wrong, it should be sendmail (without the parameters -bp) see this site: https://learning.lpi.org/en/learning-materials/102-500/108/108.3/108.3_01/
upvoted 2 times
MIU
1 year, 10 months ago
if it is without the parameter, it doesn't meet the requirement, and this question is asking no options. So the answer is mailq.
upvoted 2 times
Lazylinux
5 months, 1 week ago
Yes it does meet the requirements - as question clearly said DO NOT include any parameters meaning they know the required command does require parameters otherwise would not state it and would rather state Just write the command..so correct answer is SENDMAIL but i believe if either SENDMAIL or mailq were answered you still get the credit for it as both answers are correct
upvoted 1 times
...
...
...
Boqon1234
2 years, 4 months ago
answer is wrong, correct is " sendmail -bp"
upvoted 1 times
biggydanny
2 years, 2 months ago
they both do the same thing
upvoted 1 times
...
Timfdklfajlksdjlakf
1 year, 2 months ago
Brah. They asked about a command, not a command with options. You are wrong! Yeah mailq and sendmail -bp both work. The latter one includes options though and they asked about a command.
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 ...