LFCS practice question 12 of 35
What is true regarding the file ~/.forward?
Full set: 260 questionsThe ~/.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.
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.
- 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.
Keep practicing
Take the free LFCS practice test
Ten exam-style questions with answers and explanations, plus the exam facts and study guides.
More questions
Other LFCS practice questions
- Question 1Which of the following commands should be added to /etc/bash_profile in order to change t…
- Question 2Which of the following commands reboots the system when using SysV init? (Choose TWO corr…
- Question 3Which of the following tasks can be accomplished using the command date? (Choose TWO corr…
- Question 4Which of the following environment variables overrides or extends the list of directories…
- Question 5Which of the following are syslog facilities? (Choose TWO correct answers.)
- Question 6Which of the following programs uses the hosts.allow file to perform its main task of che…
