Penguin
Annotated edit history of aliases(5) version 1, including all changes. View license author blame.
Rev Author # Line
1 CraigBox 1 !!NAME
2 aliases - aliases file for sendmail
3
4 !!SYNOPSIS
5 __aliases__
6
7 !!DESCRIPTION
8 This file describes user ID aliases used by sendmail. The file resides in /etc/mail and is formatted as a series of lines of the form
9 ;: name: addr_1, addr_2, addr_3, . . .
10
11 The ''name'' is the name to alias, and the ''addr_n'' are the aliases for that name. ''addr_n'' can be another alias, a local username, a local filename, a command, an include file, or an external address.
12 ;__Local Username__ : username
13 ;: The username must be available via getpwnam(3).
14 ;__Local Filename__ : /path/name
15 ;: Messages are appended to the file specified by the full pathname (starting with a slash (/))
16 ;__Command__ : |command
17 ;: A command starts with a pipe symbol (|), it receives messages via standard input.
18 ;__Include File__ : :include: /path/name
19 ;: The aliases in pathname are added to the aliases for ''name.''
20 ;__E-Mail Address__ : user@domain
21 ;: An e-mail address in RFC 822 format.
22
23 Lines beginning with white space are continuation lines. Another way to continue lines is by placing a backslash directly before a newline. Lines beginning with # are comments.
24
25 Aliasing occurs only on local names. Loops can not occur, since no message will be sent to any person more than once.
26
27 After aliasing has been done, local and valid recipients who have a ``.forward" file in their home directory have messages forwarded to the list of users defined in that file.
28
29 This is only the raw data file; the actual aliasing information is placed into a binary format in the file /etc/mail/aliases.db using the program newaliases(1). A newaliases command should be executed each time the aliases file is changed for the change to take effect.
30
31 !!SEE ALSO
32 newaliases(1), dbm(3), dbopen(3), db_open(3), sendmail(8), SENDMAIL Installation and Operation Guide, SENDMAIL An Internetwork Mail Router.
33
34 !!BUGS
35 If you have compiled sendmail with DBM support instead of NEWDB, you may have encountered problems in dbm(3) restricting a single alias to about 1000 bytes of information. You can get longer aliases by "chaining"; that is, make the last name in the alias be a dummy name which is a continuation alias.
36
37 !!HISTORY
38 The __aliases__ file format appeared in 4.0BSD.
This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.