source: trunk/third/sendmail/sendmail/aliases.5 @ 19204

Revision 19204, 2.8 KB checked in by zacheiss, 21 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r19203, which included commits to RCS files with non-trunk default branches.
Line 
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.
6.\"
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.
10.\"
11.\"
12.\"     $Id: aliases.5,v 1.1.1.1 2003-04-08 15:11:45 zacheiss Exp $
13.\"
14.TH ALIASES 5 "$Date: 2003-04-08 15:11:45 $"
15.SH NAME
16aliases
17\- aliases file for sendmail
18.SH SYNOPSIS
19.B aliases
20.SH DESCRIPTION
21This file describes user
22ID
23aliases used by
24sendmail.
25The file resides in
26/etc/mail
27and
28is formatted as a series of lines of the form
29.IP
30name: addr_1, addr_2, addr_3, . . .
31.PP
32The
33.I name
34is the name to alias, and the
35.I addr_n
36are the aliases for that name. 
37.I addr_n
38can be another alias, a local username, a local filename,
39a command,
40an include file,
41or an external address.
42.TP
43.B Local Username
44username
45.IP
46The username must be available via getpwnam(3).
47.TP
48.B Local Filename
49/path/name
50.IP
51Messages are appended to the file specified by the full pathname
52(starting with a slash (/))
53.TP
54.B Command
55|command
56.IP
57A command starts with a pipe symbol (|),
58it receives messages via standard input.
59.TP
60.B Include File
61:include: /path/name
62.IP
63The aliases in pathname are added to the aliases for
64.I name.
65.TP
66.B E-Mail Address
67user@domain
68.IP
69An e-mail address in RFC 822 format.
70.PP
71Lines beginning with white space are continuation lines. 
72Another way to continue lines is by placing a backslash
73directly before a newline. 
74Lines beginning with
75#
76are comments.
77.PP
78Aliasing occurs only on local names. 
79Loops can not occur, since no message will be sent to any person more than once.
80.PP
81After aliasing has been done, local and valid recipients who have a
82``.forward''
83file in their home directory have messages forwarded to the
84list of users defined in that file.
85.PP
86This is only the raw data file; the actual aliasing information is
87placed into a binary format in the file
88/etc/mail/aliases.db
89using the program
90newaliases(1). 
91A
92newaliases
93command should be executed each time the aliases file is changed for the
94change to take effect.
95.SH SEE  ALSO
96newaliases(1),
97dbm(3),
98dbopen(3),
99db_open(3),
100sendmail(8)
101.PP
102.I
103SENDMAIL Installation and Operation Guide.
104.PP
105.I
106SENDMAIL An Internetwork Mail Router.
107.SH BUGS
108If you have compiled
109sendmail
110with DBM support instead of NEWDB,
111you may have encountered problems in
112dbm(3)
113restricting a single alias to about 1000 bytes of information. 
114You can get longer aliases by ``chaining''; that is, make the last name in
115the alias be a dummy name which is a continuation alias.
116.SH HISTORY
117The
118.B aliases
119file format appeared in
1204.0BSD.
Note: See TracBrowser for help on using the repository browser.