1 .\" $OpenBSD: forward.5,v 1.10 2012/08/12 17:01:35 schwarze Exp $
3 .\" Copyright (c) 2001 Marco S. Hyman
5 .\" Permission to copy all or part of this material with or without
6 .\" modification for any purpose is granted provided that the above
7 .\" copyright notice and this paragraph are duplicated in all copies.
9 .\" THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
10 .\" IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
11 .\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
13 .Dd $Mdocdate: August 12 2012 $
18 .Nd e-mail forwarding information file
20 Users may put a file named
22 in their home directory.
25 (and sendmail-like mailers) will redirect mail for the user to the list of
26 addresses found in the
32 file contains one or more lines where each line is an e-mail address
33 or the name of a private incoming mailer where incoming mail will be
35 Multiple entries may be specified on one line, comma separated.
36 Additionally, a copy of all mail may be retained
37 on the local machine using a
42 files must not be group or world writable.
43 The user's home directory should not be group writable.
46 file must be owned by and readable by the indicated user.
48 .Bl -tag -width $HOME/.forward -compact
50 e-mail forwarding information
53 .Bd -literal -offset indent
54 # lines with # in the first column are ignored
55 # empty lines are ignored
56 # #@# with whitespace on both sides may be used to start a comment
58 foo@bar.baz.com, \euser #@# is a comment anywhere
59 "| /usr/local/libexec/slocal -user foo"
65 .Lk http://www.sendmail.org/