3.3 The ~/.forward file
Users can redirect mail addressed to themselves by creating a file named
.forward
in their home directory
(see §25.7).
(The
member1, member2, ...
There can be multiple lines,
but they are treated independently
(there are no continuation lines).
Just as in the
aliases
file,
members
may be a user address, a file name,
a program reference,
or a The ability to run progams or to write to files from the .forward file is controlled by the /etc/shells file. If the owner of the .forward file lacks a valid shell as listed in /etc/shells , program execution is disallowed. The special string /SENDMAIL/ANY/SHELL/ , when placed in the /etc/shells file, allows all users to execute programs and deliver to files (see §18.8.56). |
|