Commit | Line | Data |
---|---|---|
e23029c3 KB |
1 | .\" Copyright (c) 1985 The Regents of the University of California. |
2 | .\" All rights reserved. | |
0db721a4 | 3 | .\" |
e23029c3 KB |
4 | .\" Redistribution and use in source and binary forms are permitted |
5 | .\" provided that the above copyright notice and this paragraph are | |
6 | .\" duplicated in all such forms and that any documentation, | |
7 | .\" advertising materials, and other materials related to such | |
8 | .\" distribution and use acknowledge that the software was developed | |
9 | .\" by the University of California, Berkeley. The name of the | |
10 | .\" University may not be used to endorse or promote products derived | |
11 | .\" from this software without specific prior written permission. | |
12 | .\" THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR | |
13 | .\" IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED | |
14 | .\" WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. | |
15 | .\" | |
16 | .\" @(#)aliases.5 6.2 (Berkeley) %G% | |
0db721a4 | 17 | .\" |
3672e047 | 18 | .TH ALIASES 5 "" |
0db721a4 KM |
19 | .UC 4 |
20 | .SH NAME | |
374bbcb5 | 21 | aliases \- aliases file for sendmail |
0db721a4 KM |
22 | .SH SYNOPSIS |
23 | .B /usr/lib/aliases | |
24 | .SH DESCRIPTION | |
374bbcb5 KM |
25 | This file describes user id aliases used by |
26 | .I /usr/lib/sendmail. | |
27 | It is formatted as a series of lines of the form | |
0db721a4 | 28 | .in +0.5i |
374bbcb5 | 29 | name: name_1, name2, name_3, . . . |
0db721a4 KM |
30 | .in |
31 | The | |
32 | .I name | |
374bbcb5 KM |
33 | is the name to alias, and the |
34 | .I name_n | |
35 | are the aliases for that name. | |
36 | Lines beginning with white space are continuation lines. | |
37 | Lines beginning with `\|#\|' are comments. | |
0db721a4 KM |
38 | .PP |
39 | Aliasing occurs only on local names. | |
374bbcb5 KM |
40 | Loops can not occur, since no message will be sent to any person more than once. |
41 | .LP | |
42 | After aliasing has been done, local and valid recipients who have a | |
43 | ``.forward'' file in their home directory have messages forwarded to the | |
44 | list of users defined in that file. | |
0db721a4 KM |
45 | .PP |
46 | This is only the raw data file; the actual aliasing information is | |
47 | placed into a binary format in the files | |
374bbcb5 | 48 | .I /usr/lib/aliases.dir |
0db721a4 | 49 | and |
374bbcb5 | 50 | .I /usr/lib/aliases.pag |
0db721a4 | 51 | using the program |
374bbcb5 | 52 | .IR newaliases (1). |
0db721a4 KM |
53 | A |
54 | .I newaliases | |
55 | command should be executed each time the aliases file is changed for the | |
56 | change to take effect. | |
374bbcb5 KM |
57 | .SH "SEE ALSO" |
58 | newaliases(1), dbm(3X), sendmail(8) | |
59 | .br | |
60 | SENDMAIL Installation and Operation Guide. | |
61 | .br | |
62 | SENDMAIL An Internetwork Mail Router. | |
0db721a4 KM |
63 | .SH BUGS |
64 | Because of restrictions in | |
374bbcb5 | 65 | .IR dbm (3X) |
0db721a4 | 66 | a single alias cannot contain more than about 1000 bytes of information. |
374bbcb5 KM |
67 | You can get longer aliases by ``chaining''; that is, make the last name in |
68 | the alias be a dummy name which is a continuation alias. |