aliases.5
上传用户:xu_441
上传日期:2007-01-04
资源大小:1640k
文件大小:2k
- ." Copyright (c) 1998, 1999 Sendmail, Inc. and its suppliers.
- ." All rights reserved.
- ." Copyright (c) 1983, 1997 Eric P. Allman. All rights reserved.
- ." Copyright (c) 1985, 1991, 1993
- ." The Regents of the University of California. All rights reserved.
- ."
- ." By using this file, you agree to the terms and conditions set
- ." forth in the LICENSE file which can be found at the top level of
- ." the sendmail distribution.
- ."
- ."
- ." $Id: aliases.5,v 8.14 1999/06/22 20:41:34 tony Exp $
- ."
- .TH ALIASES 5 "$Date: 1999/06/22 20:41:34 $"
- .SH NAME
- .B aliases
- - aliases file for sendmail
- .SH SYNOPSIS
- .B aliases
- .SH DESCRIPTION
- This file describes user
- ID
- aliases used by
- /usr/sbin/sendmail.
- The file resides in
- /etc/mail
- and
- is formatted as a series of lines of the form
- .IP
- name: name_1, name2, name_3, . . .
- .PP
- The
- .I name
- is the name to alias, and the
- .I name_n
- are the aliases for that name.
- 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.
- .PP
- Aliasing occurs only on local names.
- Loops can not occur, since no message will be sent to any person more than once.
- .PP
- 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.
- .PP
- 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.
- .SH SEE ALSO
- newaliases(1),
- dbopen(3),
- dbm(3),
- sendmail(8)
- .PP
- .I
- SENDMAIL Installation and Operation Guide.
- .PP
- .I
- SENDMAIL An Internetwork Mail Router.
- .SH BUGS
- 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.
- .SH HISTORY
- The
- .B aliases
- file format appeared in
- 4.0BSD.