1 .\" Copyright (c) 1998-2000 Sendmail, Inc. and its suppliers.
2 .\" All rights reserved.
3 .\" Copyright (c) 1983, 1997 Eric P. Allman. All rights reserved.
4 .\" Copyright (c) 1985, 1991, 1993
5 .\" The Regents of the University of California. All rights reserved.
7 .\" By using this file, you agree to the terms and conditions set
8 .\" forth in the LICENSE file which can be found at the top level of
9 .\" the sendmail distribution.
12 .\" $Id: aliases.5,v 8.19 2004/07/12 05:39:21 ca Exp $
14 .TH ALIASES 5 "$Date: 2004/07/12 05:39:21 $"
17 \- aliases file for sendmail
21 This file describes user
28 is formatted as a series of lines of the form
30 name: addr_1, addr_2, addr_3, . . .
34 is the name to alias, and the
36 are the aliases for that name.
38 can be another alias, a local username, a local filename,
41 or an external address.
46 The username must be available via getpwnam(3).
51 Messages are appended to the file specified by the full pathname
52 (starting with a slash (/))
57 A command starts with a pipe symbol (|),
58 it receives messages via standard input.
63 The aliases in pathname are added to the aliases for
69 An e-mail address in RFC 822 format.
71 Lines beginning with white space are continuation lines.
72 Another way to continue lines is by placing a backslash
73 directly before a newline.
78 Aliasing occurs only on local names.
79 Loops can not occur, since no message will be sent to any person more than once.
81 If an alias is found for
83 sendmail then checks for an alias for
85 If it is found and the result of the lookup expands to a single
86 address, the envelope sender address of the message is rewritten to
88 If it is found and the result expands to more than one address, the
89 envelope sender address is changed to
92 After aliasing has been done, local and valid recipients who have a
94 file in their home directory have messages forwarded to the
95 list of users defined in that file.
97 This is only the raw data file; the actual aliasing information is
98 placed into a binary format in the file
104 command should be executed each time the aliases file is changed for the
105 change to take effect.
114 SENDMAIL Installation and Operation Guide.
117 SENDMAIL An Internetwork Mail Router.
121 with DBM support instead of NEWDB,
122 you may have encountered problems in
124 restricting a single alias to about 1000 bytes of information.
125 You can get longer aliases by ``chaining''; that is, make the last name in
126 the alias be a dummy name which is a continuation alias.
130 file format appeared in