1 | .\" Dummy comment to avoid confusing man |
---|
2 | .so /usr/athena/share/tmac/tmac.doc |
---|
3 | .\" Copyright (c) 1998 Sendmail, Inc. All rights reserved. |
---|
4 | .\" Copyright (c) 1983, 1997 Eric P. Allman. All rights reserved. |
---|
5 | .\" Copyright (c) 1985, 1991, 1993 |
---|
6 | .\" The Regents of the University of California. All rights reserved. |
---|
7 | .\" |
---|
8 | .\" By using this file, you agree to the terms and conditions set |
---|
9 | .\" forth in the LICENSE file which can be found at the top level of |
---|
10 | .\" the sendmail distribution. |
---|
11 | .\" |
---|
12 | .\" |
---|
13 | .\" @(#)aliases.5 8.8 (Berkeley) 5/19/1998 |
---|
14 | .\" |
---|
15 | .Dd May 19, 1998 |
---|
16 | .Dt ALIASES 5 |
---|
17 | .Os BSD 4 |
---|
18 | .Sh NAME |
---|
19 | .Nm aliases |
---|
20 | .Nd aliases file for sendmail |
---|
21 | .Sh SYNOPSIS |
---|
22 | .Nm aliases |
---|
23 | .Sh DESCRIPTION |
---|
24 | This file describes user |
---|
25 | .Tn ID |
---|
26 | aliases used by |
---|
27 | .Pa /usr/sbin/sendmail . |
---|
28 | The file resides in |
---|
29 | .Pa /etc |
---|
30 | and |
---|
31 | is formatted as a series of lines of the form |
---|
32 | .Bd -filled -offset indent |
---|
33 | name: name_1, name2, name_3, . . . |
---|
34 | .Ed |
---|
35 | .Pp |
---|
36 | The |
---|
37 | .Em name |
---|
38 | is the name to alias, and the |
---|
39 | .Em name_n |
---|
40 | are the aliases for that name. |
---|
41 | Lines beginning with white space are continuation lines. |
---|
42 | Lines beginning with |
---|
43 | .Ql # |
---|
44 | are comments. |
---|
45 | .Pp |
---|
46 | Aliasing occurs only on local names. |
---|
47 | Loops can not occur, since no message will be sent to any person more than once. |
---|
48 | .Pp |
---|
49 | After aliasing has been done, local and valid recipients who have a |
---|
50 | .Dq Pa .forward |
---|
51 | file in their home directory have messages forwarded to the |
---|
52 | list of users defined in that file. |
---|
53 | .Pp |
---|
54 | This is only the raw data file; the actual aliasing information is |
---|
55 | placed into a binary format in the file |
---|
56 | .Pa /etc/aliases.db |
---|
57 | using the program |
---|
58 | .Xr newaliases 1 . |
---|
59 | A |
---|
60 | .Xr newaliases |
---|
61 | command should be executed each time the aliases file is changed for the |
---|
62 | change to take effect. |
---|
63 | .Sh SEE ALSO |
---|
64 | .Xr newaliases 1 , |
---|
65 | .Xr dbopen 3 , |
---|
66 | .Xr dbm 3 , |
---|
67 | .Xr sendmail 8 |
---|
68 | .Rs |
---|
69 | .%T "SENDMAIL Installation and Operation Guide" |
---|
70 | .Re |
---|
71 | .Rs |
---|
72 | .%T "SENDMAIL An Internetwork Mail Router" |
---|
73 | .Re |
---|
74 | .Sh BUGS |
---|
75 | If you have compiled |
---|
76 | .Xr sendmail |
---|
77 | with DBM support instead of NEWDB, |
---|
78 | you may have encountered problems in |
---|
79 | .Xr dbm 3 |
---|
80 | restricting a single alias to about 1000 bytes of information. |
---|
81 | You can get longer aliases by ``chaining''; that is, make the last name in |
---|
82 | the alias be a dummy name which is a continuation alias. |
---|
83 | .Sh HISTORY |
---|
84 | The |
---|
85 | .Nm |
---|
86 | file format appeared in |
---|
87 | .Bx 4.0 . |
---|