1 | |
---|
2 | |
---|
3 | |
---|
4 | ALIASES(5) ALIASES(5) |
---|
5 | |
---|
6 | |
---|
7 | NNAAMMEE |
---|
8 | aliases - aliases file for sendmail |
---|
9 | |
---|
10 | SSYYNNOOPPSSIISS |
---|
11 | aalliiaasseess |
---|
12 | |
---|
13 | DDEESSCCRRIIPPTTIIOONN |
---|
14 | This file describes user ID aliases used by sendmail. The |
---|
15 | file resides in /etc/mail and is formatted as a series of |
---|
16 | lines of the form |
---|
17 | |
---|
18 | name: addr_1, addr_2, addr_3, . . . |
---|
19 | |
---|
20 | The _n_a_m_e is the name to alias, and the _a_d_d_r___n are the |
---|
21 | aliases for that name. _a_d_d_r___n can be another alias, a |
---|
22 | local username, a local filename, a command, an include |
---|
23 | file, or an external address. |
---|
24 | |
---|
25 | LLooccaall UUsseerrnnaammee |
---|
26 | username |
---|
27 | |
---|
28 | The username must be available via getpwnam(3). |
---|
29 | |
---|
30 | LLooccaall FFiilleennaammee |
---|
31 | /path/name |
---|
32 | |
---|
33 | Messages are appended to the file specified by the |
---|
34 | full pathname (starting with a slash (/)) |
---|
35 | |
---|
36 | CCoommmmaanndd |
---|
37 | |command |
---|
38 | |
---|
39 | A command starts with a pipe symbol (|), it |
---|
40 | receives messages via standard input. |
---|
41 | |
---|
42 | IInncclluuddee FFiillee |
---|
43 | :include: /path/name |
---|
44 | |
---|
45 | The aliases in pathname are added to the aliases |
---|
46 | for _n_a_m_e_. |
---|
47 | |
---|
48 | EE--MMaaiill AAddddrreessss |
---|
49 | user@domain |
---|
50 | |
---|
51 | An e-mail address in RFC 822 format. |
---|
52 | |
---|
53 | Lines beginning with white space are continuation lines. |
---|
54 | Another way to continue lines is by placing a backslash |
---|
55 | directly before a newline. Lines beginning with # are |
---|
56 | comments. |
---|
57 | |
---|
58 | Aliasing occurs only on local names. Loops can not occur, |
---|
59 | since no message will be sent to any person more than |
---|
60 | once. |
---|
61 | |
---|
62 | |
---|
63 | |
---|
64 | $Date: 2003-04-08 15:09:26 $ 1 |
---|
65 | |
---|
66 | |
---|
67 | |
---|
68 | |
---|
69 | |
---|
70 | ALIASES(5) ALIASES(5) |
---|
71 | |
---|
72 | |
---|
73 | After aliasing has been done, local and valid recipients |
---|
74 | who have a ``.forward'' file in their home directory have |
---|
75 | messages forwarded to the list of users defined in that |
---|
76 | file. |
---|
77 | |
---|
78 | This is only the raw data file; the actual aliasing infor- |
---|
79 | mation is placed into a binary format in the file |
---|
80 | /etc/mail/aliases.db using the program newaliases(1). A |
---|
81 | newaliases command should be executed each time the |
---|
82 | aliases file is changed for the change to take effect. |
---|
83 | |
---|
84 | SSEEEE AALLSSOO |
---|
85 | newaliases(1), dbm(3), dbopen(3), db_open(3), sendmail(8) |
---|
86 | |
---|
87 | _S_E_N_D_M_A_I_L _I_n_s_t_a_l_l_a_t_i_o_n _a_n_d _O_p_e_r_a_t_i_o_n _G_u_i_d_e_. |
---|
88 | |
---|
89 | _S_E_N_D_M_A_I_L _A_n _I_n_t_e_r_n_e_t_w_o_r_k _M_a_i_l _R_o_u_t_e_r_. |
---|
90 | |
---|
91 | BBUUGGSS |
---|
92 | If you have compiled sendmail with DBM support instead of |
---|
93 | NEWDB, you may have encountered problems in dbm(3) |
---|
94 | restricting a single alias to about 1000 bytes of informa- |
---|
95 | tion. You can get longer aliases by ``chaining''; that |
---|
96 | is, make the last name in the alias be a dummy name which |
---|
97 | is a continuation alias. |
---|
98 | |
---|
99 | HHIISSTTOORRYY |
---|
100 | The aalliiaasseess file format appeared in 4.0BSD. |
---|
101 | |
---|
102 | |
---|
103 | |
---|
104 | |
---|
105 | |
---|
106 | |
---|
107 | |
---|
108 | |
---|
109 | |
---|
110 | |
---|
111 | |
---|
112 | |
---|
113 | |
---|
114 | |
---|
115 | |
---|
116 | |
---|
117 | |
---|
118 | |
---|
119 | |
---|
120 | |
---|
121 | |
---|
122 | |
---|
123 | |
---|
124 | |
---|
125 | |
---|
126 | |
---|
127 | |
---|
128 | |
---|
129 | |
---|
130 | $Date: 2003-04-08 15:09:26 $ 2 |
---|
131 | |
---|
132 | |
---|