BSD 4_3 release
[unix-history] / usr / man / man5 / aliases.5
CommitLineData
0db721a4
KM
1.\" Copyright (c) 1980 Regents of the University of California.
2.\" All rights reserved. The Berkeley software License Agreement
3.\" specifies the terms and conditions for redistribution.
4.\"
95f51977 5.\" @(#)aliases.5 6.1 (Berkeley) 5/15/85
0db721a4 6.\"
95f51977 7.TH ALIASES 5 "May 15, 1985"
0db721a4
KM
8.UC 4
9.SH NAME
374bbcb5 10aliases \- aliases file for sendmail
0db721a4
KM
11.SH SYNOPSIS
12.B /usr/lib/aliases
13.SH DESCRIPTION
374bbcb5
KM
14This file describes user id aliases used by
15.I /usr/lib/sendmail.
16It is formatted as a series of lines of the form
0db721a4 17.in +0.5i
374bbcb5 18name: name_1, name2, name_3, . . .
0db721a4
KM
19.in
20The
21.I name
374bbcb5
KM
22is the name to alias, and the
23.I name_n
24are the aliases for that name.
25Lines beginning with white space are continuation lines.
26Lines beginning with `\|#\|' are comments.
0db721a4
KM
27.PP
28Aliasing occurs only on local names.
374bbcb5
KM
29Loops can not occur, since no message will be sent to any person more than once.
30.LP
31After aliasing has been done, local and valid recipients who have a
32``.forward'' file in their home directory have messages forwarded to the
33list of users defined in that file.
0db721a4
KM
34.PP
35This is only the raw data file; the actual aliasing information is
36placed into a binary format in the files
374bbcb5 37.I /usr/lib/aliases.dir
0db721a4 38and
374bbcb5 39.I /usr/lib/aliases.pag
0db721a4 40using the program
374bbcb5 41.IR newaliases (1).
0db721a4
KM
42A
43.I newaliases
44command should be executed each time the aliases file is changed for the
45change to take effect.
374bbcb5
KM
46.SH "SEE ALSO"
47newaliases(1), dbm(3X), sendmail(8)
48.br
49SENDMAIL Installation and Operation Guide.
50.br
51SENDMAIL An Internetwork Mail Router.
0db721a4
KM
52.SH BUGS
53Because of restrictions in
374bbcb5 54.IR dbm (3X)
0db721a4 55a single alias cannot contain more than about 1000 bytes of information.
374bbcb5
KM
56You can get longer aliases by ``chaining''; that is, make the last name in
57the alias be a dummy name which is a continuation alias.