add manual pages, correct copyright notices
[unix-history] / usr / src / usr.sbin / sendmail / src / aliases.5
CommitLineData
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 21aliases \- aliases file for sendmail
0db721a4
KM
22.SH SYNOPSIS
23.B /usr/lib/aliases
24.SH DESCRIPTION
374bbcb5
KM
25This file describes user id aliases used by
26.I /usr/lib/sendmail.
27It is formatted as a series of lines of the form
0db721a4 28.in +0.5i
374bbcb5 29name: name_1, name2, name_3, . . .
0db721a4
KM
30.in
31The
32.I name
374bbcb5
KM
33is the name to alias, and the
34.I name_n
35are the aliases for that name.
36Lines beginning with white space are continuation lines.
37Lines beginning with `\|#\|' are comments.
0db721a4
KM
38.PP
39Aliasing occurs only on local names.
374bbcb5
KM
40Loops can not occur, since no message will be sent to any person more than once.
41.LP
42After aliasing has been done, local and valid recipients who have a
43``.forward'' file in their home directory have messages forwarded to the
44list of users defined in that file.
0db721a4
KM
45.PP
46This is only the raw data file; the actual aliasing information is
47placed into a binary format in the files
374bbcb5 48.I /usr/lib/aliases.dir
0db721a4 49and
374bbcb5 50.I /usr/lib/aliases.pag
0db721a4 51using the program
374bbcb5 52.IR newaliases (1).
0db721a4
KM
53A
54.I newaliases
55command should be executed each time the aliases file is changed for the
56change to take effect.
374bbcb5
KM
57.SH "SEE ALSO"
58newaliases(1), dbm(3X), sendmail(8)
59.br
60SENDMAIL Installation and Operation Guide.
61.br
62SENDMAIL An Internetwork Mail Router.
0db721a4
KM
63.SH BUGS
64Because of restrictions in
374bbcb5 65.IR dbm (3X)
0db721a4 66a single alias cannot contain more than about 1000 bytes of information.
374bbcb5
KM
67You can get longer aliases by ``chaining''; that is, make the last name in
68the alias be a dummy name which is a continuation alias.