nerdexam
CompTIA

LX0-104 · Question #472

The user bob complains that he cannot access his email. In which directory would you look to see if there is any deliverable email for him?

The correct answer is A. /var/spool/mail. Undelivered or incoming mail for users is typically stored in a centralized spool directory before being accessed by a mail client. This location allows mail servers to deliver messages to a standard mailbox file for each user.

Essential System Services

Question

The user bob complains that he cannot access his email. In which directory would you look to see if there is any deliverable email for him?

Options

  • A/var/spool/mail
  • B/var/mail/mqueue
  • C/var/spool/mqueue
  • D/home/bob/.mail

How the community answered

(21 responses)
  • A
    95% (20)
  • D
    5% (1)

Why each option

Undelivered or incoming mail for users is typically stored in a centralized spool directory before being accessed by a mail client. This location allows mail servers to deliver messages to a standard mailbox file for each user.

A/var/spool/mailCorrect

In many Unix-like systems, including Linux, the traditional location for user mailboxes (where incoming mail is spooled before being read) is /var/spool/mail. Each user typically has a file named after their username in this directory, e.g., /var/spool/mail/bob.

B/var/mail/mqueue

/var/mail/mqueue is not a standard directory for user mailboxes; mqueue often refers to a mail queue for outgoing or deferred messages, not user inboxes.

C/var/spool/mqueue

/var/spool/mqueue is a common location for the mail server's queue for outgoing or temporarily undeliverable messages, not the inbox for a specific user like bob.

D/home/bob/.mail

/home/bob/.mail could be a custom mail directory or used by specific mail clients for local storage, but it is not the universal default location where the system initially spools incoming mail for user bob.

Concept tested: User mail spool directory

Source: https://refspecs.linuxfoundation.org/FHS_3.0/fhs/ch05s08.html

Topics

#email#mail spool#/var/spool/mail#troubleshooting

Community Discussion

No community discussion yet for this question.

Full LX0-104 Practice