102-500 practice question 8 of 30
Which file, 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?
Full set: 233 questionsThe ~/.forward file is a standard mechanism used by Mail Transfer Agents (MTAs) like Sendmail and Postfix to allow individual users to manage their own email forwarding. By creating this file in their home directory and placing one or more email addresses inside it, a user can redirect all their incoming mail to the specified addresses without needing administrator intervention. The MTA automatically reads this file upon receiving a message for the user and forwards it accordingly.
A. /etc/alias: This file is for system-wide aliases and can only be modified by the root user; it is not for individual user configuration.
B. ~/.alias: This is not a standard file for mail forwarding; it is typically associated with shell command aliases.
C. /etc/mail/forwarders: This is not a standard file path or name for configuring user mail forwarding in common MTAs.
E. ~/.vacation: This file is used to configure automated "out of office" replies, not to forward all incoming email to another address.
- forward(5) Linux man page. It describes the purpose and format of the .forward file for redirecting a user's mail.
- Sendmail Operations Guide, Section 3.2 "Aliases and Forwarding". The official Sendmail documentation details the use of the .forward file for user-controlled forwarding.
- Postfix documentation, local(8) man page. Under the "FILES" section, it lists ~/.forward as the per-user aliasing file, demonstrating its use in a "similar MTA system".
Keep practicing
Take the free 102-500 practice test
Ten exam-style questions with answers and explanations, plus the exam facts and study guides.
More questions
Other 102-500 practice questions
- Question 1What output is produced by the following command sequence? echo ‘1 2 3 4 5 6’ | while rea…
- Question 2Which command will set the local machine's timezone to UTC?
- Question 3Which of the following SQL statements will select the fields name and address from the co…
- Question 4Which of the following commands can remove a user from a group?
- Question 5Where are user specific crontabs stored?
- Question 6Which of the following crontab entries will execute myscript at 30 minutes past every hou…
