LX0-104 · Question #567
Which of the following files, when using Sendmail or a similar MTA system, will allow a user to redirect all their mail to another address and is configurable by the user themselves?
The correct answer is D. ~/.forward. The ~/.forward file allows individual users to redirect their incoming email to another address or program, providing a user-configurable mechanism for mail forwarding in MTA systems like Sendmail.
Question
Options
- A/etc/alias
- B/etc/mail/forwarders
- C~/.alias
- D~/.forward
How the community answered
(33 responses)- B3% (1)
- C3% (1)
- D94% (31)
Why each option
The `~/.forward` file allows individual users to redirect their incoming email to another address or program, providing a user-configurable mechanism for mail forwarding in MTA systems like Sendmail.
`/etc/alias` is a system-wide aliases file managed by the system administrator, not by individual users.
`/etc/mail/forwarders` is not a standard file for user-configurable mail forwarding; system-wide forwarding configurations are typically handled differently.
`~/.alias` is not a standard file for mail forwarding; it is commonly used for shell command aliases, not email redirection.
The `~/.forward` file (located in a user's home directory) is a standard mechanism in many Unix-like mail transfer agents, including Sendmail, for individual users to specify an alternative email address or program to which their incoming mail should be delivered. This file is directly controlled by the user, fitting the question's criteria.
Concept tested: User-level email forwarding configuration (Sendmail)
Source: https://manpages.ubuntu.com/manpages/jammy/en/man5/forward.5.html
Topics
Community Discussion
No community discussion yet for this question.