LFCS practice question 12 of 35

What is true regarding the file ~/.forward?

Full set: 260 questions
Answer options
A: As it is owned by the MTA and not writable by the user, it must be edited using the editaliases command.
B: After editing ~/.forward the user must run newaliases to make the mail server aware of the changes.
C: Using ~/.forward, root may configure any email address whereas all other users may configure only their own addresses.
D: When configured correctly, ~/.forward can be used to forward each incoming mail to more than one other recipient. Correct answer
Correct Answer:
D. When configured correctly, ~/.forward can be used to forward each incoming mail to more than one other recipient.
Explanation

The ~/.forward file is a user-specific mechanism for email forwarding. Each user can create and manage this file in their own home directory. It contains one or more forwarding addresses. If multiple addresses are specified (e.g., on separate lines or comma-separated, depending on the Mail Transfer Agent), a copy of each incoming email is sent to every listed recipient. This allows for flexible redirection and distribution of a user's mail without requiring system administrator intervention for system-wide alias changes.

Why Incorrect

A. The ~/.forward file is owned and writable by the user, not the MTA. editaliases is for the system-wide /etc/aliases file.
B. The newaliases command rebuilds the database for the system-wide /etc/aliases file. It is not needed for user-specific ~/.forward files.
C. Any user can create and configure their own ~/.forward file to forward their own email. This is not a root-exclusive feature.

References

- Sendmail Operations Guide, Section 3.2. "Forwarding Mail with .forward Files". O'Reilly Media. (Historically, Sendmail documentation is a foundational source for MTA behavior).

- Postfix official documentation, "LOCAL DELIVERY," section on .forward files. It states, "Upon delivery, the Postfix local delivery agent looks for a per-user file $HOME/.forward." Available at: http://www.postfix.org/local.8.html.

- University of Washington, IT Connect, "Forward your UW email to another address," describes the use of a .forward file for user-controlled forwarding.

Scroll to Top