LFCS · Question #45
LFCS Question #45: Real Exam Question with Answer & Explanation
The correct answer is D: When configured correctly, ~/.forward can be used to forward each incoming mail to more than. The ~/.forward file is a user-specific configuration that allows incoming emails to be redirected to one or more alternative email addresses or even piped to a program. This file is processed by the local Mail Delivery Agent (MDA) for each user.
Question
What is true regarding the file ~/.forward?
Options
- AAs it is owned by the MTA and not writable by the user, it must be edited using the editaliases
- BAfter editing ~/.forward the user must run newaliases to make the mail server aware of the
- CUsing ~/.forward, root may configure any email address whereas all other users may configure
- DWhen configured correctly, ~/.forward can be used to forward each incoming mail to more than
Explanation
The ~/.forward file is a user-specific configuration that allows incoming emails to be redirected to one or more alternative email addresses or even piped to a program. This file is processed by the local Mail Delivery Agent (MDA) for each user.
Common mistakes.
- A. The
~/.forwardfile is owned by the user and is intended to be writable and editable by the user directly, not byeditaliases. - B. The
newaliasescommand is used to rebuild the system-wide mail aliases database and is not required for changes to a user's~/.forwardfile to take effect. - C. The
~/.forwardfile is user-specific; any user can configure forwarding to any valid email address, subject to MTA security restrictions, not just root.
Concept tested. User mail forwarding (~/.forward)
Reference. https://linux.die.net/man/5/forward
Topics
Community Discussion
No community discussion yet for this question.