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

Unlimited Access

Get Unlimited Contributor Access to the all ExamTopics Exams!
Take advantage of PDF Files for 1000+ Exams along with community discussions and pass IT Certification Exams Easily.

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 3 years, 11 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 12 times
...
brrbrr
Highly Voted 3 years, 9 months ago
mailq is the right answer
upvoted 8 times
...
Cybersec1989
Most Recent 1 year, 5 months ago
mailq ist the answer according to lpic study guide
upvoted 4 times
...
Wellison
1 year, 6 months ago
The command mailq is equivalent to sendmail -bp, and they should be present regardless of the MTA installed in the system. https://learning.lpi.org/en/learning-materials/102-500/108/108.3/108.3_01/
upvoted 2 times
...
drliu1202
1 year, 8 months ago
mailq According to Japanese LPI official guide.
upvoted 2 times
...
Lazylinux
2 years 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 3 times
...
Dolus
3 years, 7 months 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
3 years, 4 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
2 years 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 3 times
...
...
...
Boqon1234
3 years, 11 months ago
answer is wrong, correct is " sendmail -bp"
upvoted 2 times
biggydanny
3 years, 8 months ago
they both do the same thing
upvoted 1 times
...
Timfdklfajlksdjlakf
2 years, 9 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 ...