LPIC-1 Exam 102 v5 (Linux Administrator) — Question 96
What is true regarding the file ~/.forward?
Answer options
- A. When configured correctly ~/.forward can be used to forward each incoming mail to one or more other recipients.
- 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. As ~/.forward is owned by the MTA and not writable by the user, it must be edited using the editaliases command.
- E. By default, only ~/.forward files of users in the group mailq are processed while all other user's ~/.forward files are ignored.
Correct answer: A
Explanation
Option A is correct because ~/.forward is specifically designed to forward incoming emails to designated recipients when set up properly. Option B is incorrect as newaliases is not required for ~/.forward changes; it is primarily used for alias updates. Option C is misleading since all users can configure their own addresses, while root may have broader capabilities. Option D is false because users can edit their own ~/.forward files directly. Option E is not accurate as all user's ~/.forward files can be processed, not just those in the mailq group.