FORWARD(5) OpenBSD Programmer's Manual FORWARD(5)NAMEforward - e-mail forwarding information file
DESCRIPTION
Users may put a file named .forward in their home directory. If this
file exists, sendmail(8) (and sendmail-like mailers) will redirect mail
for the user to the list of addresses found in the .forward file.
A .forward file contains one or more lines where each line is an e-mail
address or the name of a private incoming mailer where incoming mail will
be forwarded. Multiple entries may be specified on one line, comma
separated. Additionally, a copy of all mail may be retained on the local
machine using a ``\user'' entry.
.forward files must not be group or world writable. The user's home
directory should not be group writable. The .forward file must be owned
by and readable by the indicated user.
FILES
$HOME/.forward e-mail forwarding information
EXAMPLES
# lines with # in the first column are ignored
# empty lines are ignored
# #@# with whitespace on both sides may be used to start a comment
foo@bar.baz.com, \user #@# is a comment anywhere
"| /usr/local/libexec/slocal -user foo"
SEE ALSOaliases(5), sendmail(8)
http://www.sendmail.org/
OpenBSD 4.9 October 18, 2010 OpenBSD 4.9