OpenBSD manual page server

Manual Page Search Parameters

FORWARD(5) File Formats Manual FORWARD(5)

forwarde-mail forwarding information file

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.

$HOME/.forward
e-mail forwarding information

# 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"

aliases(5), sendmail(8)

http://www.sendmail.org/

August 12, 2012 OpenBSD-5.4