LFCS · 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. On a Linux email server with default settings, delivered mail for a user like 'foo' is commonly found in the /var/spool/mail directory.
Question
Options
- A/var/spool/mail
- B/home/foo/mail
- C/var/mail/spool
- D/var/users/mail
How the community answered
(25 responses)- A92% (23)
- C4% (1)
- D4% (1)
Why each option
On a Linux email server with default settings, delivered mail for a user like 'foo' is commonly found in the `/var/spool/mail` directory.
The `/var/spool/mail` directory is the standard and default location on Unix-like operating systems where incoming email for local users is stored, with each user typically having a separate file named after their username within this directory.
`/home/foo/mail` could be a user's personal mail directory (e.g., for Maildir format), but it is not the default system-wide spool directory for newly delivered mail.
While `/var/mail` is sometimes used and often a symlink to `/var/spool/mail`, `/var/mail/spool` is not a standard default directory structure for mail spools.
`/var/users/mail` is not a standard or commonly used directory path for mail spooling on Linux systems.
Concept tested: Linux mail server default mail spool
Source: https://refspecs.linuxfoundation.org/FHS_3.0/fhs/ch03s15.html
Topics
Community Discussion
No community discussion yet for this question.