nerdexam
CompTIA

LX0-104 · Question #288

An administrator is running an email server configured with the default settings. In which directory will the administrator commonly find the delivered mail for the user foo?

The correct answer is A. /var/spool/mail. Under default settings on a Linux email server, delivered mail for a user like 'foo' is commonly found in the /var/spool/mail/ directory.

Essential System Services

Question

An administrator is running an email server configured with the default settings. In which directory will the administrator commonly find the delivered mail for the user foo?

Options

  • A/var/spool/mail
  • B/home/foo/mail
  • C/var/mail/spool
  • D/var/users/mail

How the community answered

(37 responses)
  • A
    89% (33)
  • B
    3% (1)
  • C
    5% (2)
  • D
    3% (1)

Why each option

Under default settings on a Linux email server, delivered mail for a user like 'foo' is commonly found in the `/var/spool/mail/` directory.

A/var/spool/mailCorrect

On most Unix-like systems, including Linux, the default location for storing incoming mail for users (typically in Mbox format) is within the `/var/spool/mail/` directory. Each user's mail is stored in a file within this directory, usually named after their username (e.g., `/var/spool/mail/foo`).

B/home/foo/mail

`/home/foo/mail` is a possible location if mail delivery agents are configured to use Maildir format or store mail in user home directories, but it is not the traditional default Mbox spool directory.

C/var/mail/spool

While `/var/mail` is also a common mail spool directory (often a symlink to `/var/spool/mail`), `/var/mail/spool` is not a standard default path.

D/var/users/mail

`/var/users/mail` is not a standard default directory for user mailboxes on Linux systems.

Concept tested: Linux email system mail spool locations

Source: https://tldp.org/HOWTO/Mail-Administrator-HOWTO/x45.html

Topics

#email server#mail spool#system directories

Community Discussion

No community discussion yet for this question.

Full LX0-104 Practice