]> diplodocus.org Git - nmh/blob - docs/historical/mh-jun-1982/man/ali.1
Replaced use of snprintf() with memcpy()/memmove().
[nmh] / docs / historical / mh-jun-1982 / man / ali.1
1 .TH ALI 1 RAND
2 .SH NAME
3 ali \- list mail aliases
4 .SH SYNOPSIS
5 .B ali
6 [
7 .B \-l
8 ] name ...
9 .SH DESCRIPTION
10 .I Ali
11 searches the mail alias file for each of the given
12 \fIname\fRs.
13 It creates a list of users for whom those
14 \fIname\fRs
15 are aliases, and writes that list on standard output.
16 If the
17 .B \-l
18 option is specified, each username appears on a separate line;
19 otherwise, the names are separated by commas and printed on
20 as few lines as possible. Usernames are not repeated on the
21 output list.
22 .PP
23 Each
24 .I name
25 is processed as described in mh-alias(5). After
26 processing, any resulting names that do not appear
27 in the password file are printed with an error message.
28 .SH FILES
29 /etc/passwd
30 .br
31 /etc/MailAliases
32 .br
33 /etc/group
34 .SH SEE ALSO
35 deliver(8),mh-alias(5)