0
|
1 .\" @(MHWARNING)
|
|
2 .\" @(#)$Id$
|
|
3 .SC ALI 1
|
|
4 .NA
|
|
5 ali \- list mail aliases
|
|
6 .SY
|
|
7 ali
|
|
8 \%[\-alias\ aliasfile]
|
|
9 \%[\-list] \%[\-nolist]
|
|
10 \%[\-normalize] \%[\-nonormalize]
|
|
11 \%[\-user] \%[\-nouser]
|
|
12 aliases\ ...
|
|
13 \%[\-help]
|
|
14 .DE
|
|
15 \fIAli\fR
|
|
16 searches the named mail alias files for each of the given \fIaliases\fR.
|
|
17 It creates a list of addresses for those \fIaliases\fR,
|
|
18 and writes that list on standard output.
|
|
19 If the `\-list' option is specified, each address appears on a separate line;
|
|
20 otherwise, the addresses are separated by commas and printed on
|
|
21 as few lines as possible.
|
|
22
|
|
23 The `\-user' option directs \fIali\fR to perform its processing in an
|
|
24 inverted fashion:
|
|
25 instead of listing the addresses that each given alias expands to,
|
|
26 \fIali\fR will list the aliases that expand to each given address.
|
|
27 If the `\-normalize' switch is given,
|
|
28 \fIali\fR will try to track down the official hostname of the address.
|
|
29
|
|
30 The files specified by the profile entry \*(lqAliasfile:\*(rq and any
|
|
31 additional alias files given by the `\-alias aliasfile' switch will be read.
|
|
32 Each \fIalias\fR is processed as described in \fImh\-alias\fR\0(5).
|
|
33 .Fi
|
|
34 ^$HOME/\&.mh\(ruprofile~^The user profile
|
|
35 ^/etc/passwd~^List of users
|
|
36 ^/etc/group~^List of groups
|
|
37 .Pr
|
|
38 ^Path:~^To determine the user's MH directory
|
|
39 .Ps
|
|
40 ^Aliasfile:~^For a default alias file
|
|
41 .Sa
|
|
42 mh\-alias(5)
|
|
43 .De
|
|
44 `\-alias @(MHETCPATH)/MailAliases'
|
|
45 .Ds
|
|
46 `\-nolist'
|
|
47 .Ds
|
|
48 `\-nonormalize'
|
|
49 .Ds
|
|
50 `\-nouser'
|
|
51 .Co
|
|
52 None
|
|
53 .Bu
|
|
54 The `\-user' option with `\-nonormalize' is not entirely accurate,
|
|
55 as it does not replace local nicknames for hosts with their official
|
|
56 site names.
|
|
57 .En
|