FORWARD(5)                OpenBSD Programmer's Manual               FORWARD(5)

NAME
     forward - 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 sepa-
     rated.  Additionally, a copy of all mail may be retained on the local ma-
     chine using a ``\user'' entry.

     .forward files must not be group or world writable.  The user's home di-
     rectory 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 ALSO
     aliases(5), sendmail(8)

     Sendmail - An Internetwork Mail Router, No. 9, SMM.

     Sendmail Installation and Operation Guide, No. 8, SMM.

     http://www.sendmail.org/

OpenBSD 4.7                     August 27, 2008                              1
