PrepAway - Latest Free Exam Questions & Answers

What file must you create in your home directory in order to enable mail forwarding?

What file must you create in your home directory in order to enable mail forwarding?

PrepAway - Latest Free Exam Questions & Answers

A.
.redirect

B.
.forward

C.
.plan

D.
.mail

E.
None of the choices

Explanation:
From http://www.faqs.org/docs/Linux-HOWTO/Mail-User-HOWTO.html:

MTA aliases usually require administrator privileges to set up. But it is desirable for mail users to be able to set up forwarding of their own mail without administrator intervention. To support this, most MTAs follow sendmail’s lead and look for a file called .forward in your home directory. The contents of this file is interpreted like the target of an alias which should receive all your mail. The most common use for this facility is to redirect your mail to an account on another machine.

One Comment on “What file must you create in your home directory in order to enable mail forwarding?

  1. Steven says:

    It is possible to automatically forward your Linux e-mail by creating a file called .forward in your homedirectory. The contents should be the e-mail adress that you want to forward the mail to, for example:

    anotheremail@example.org

    This will only work if the access permissions of your home directory and the .forward do not include group and other writable bits. Perform the following commands to be sure:

    chmod go-w $HOME
    chmod go-w $HOME/.forward

    .forward is also used to filter e-mail, using procmail or vacation




    0



    0

Leave a Reply