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?

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

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.



Leave a Reply 1

Your email address will not be published. Required fields are marked *


Steven

Steven

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:

[email protected]

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