8 date 92.02.11.00.47.53; author jromine; state Exp;
13 date 90.04.05.15.09.39; author sources; state Exp;
18 date 90.03.22.11.30.47; author sources; state Exp;
23 date 90.03.20.19.41.22; author sources; state Exp;
28 date 90.03.20.17.32.48; author sources; state Exp;
33 date 90.03.16.15.40.26; author sources; state Exp;
38 date 90.03.16.15.30.58; author sources; state Exp;
50 @document Aliasfile may be more than one file
54 .\" @@(#)$Id: ali.rf,v 1.6 1990/04/05 15:09:39 sources Exp jromine $
57 ali \- list mail aliases
60 \%[\-alias\ aliasfile]
61 \%[\-list] \%[\-nolist]
62 \%[\-normalize] \%[\-nonormalize]
63 \%[\-user] \%[\-nouser]
68 searches the named mail alias files for each of the given \fIaliases\fR.
69 It creates a list of addresses for those \fIaliases\fR,
70 and writes that list on standard output.
71 If the `\-list' option is specified, each address appears on a separate line;
72 otherwise, the addresses are separated by commas and printed on
73 as few lines as possible.
75 The `\-user' option directs \fIali\fR to perform its processing in an
77 instead of listing the addresses that each given alias expands to,
78 \fIali\fR will list the aliases that expand to each given address.
79 If the `\-normalize' switch is given,
80 \fIali\fR will try to track down the official hostname of the address.
82 The files specified by the profile entry \*(lqAliasfile:\*(rq and any
83 additional alias files given by the `\-alias aliasfile' switch will be read.
84 Each \fIalias\fR is processed as described in \fImh\-alias\fR\0(5).
86 ^$HOME/\&.mh\(ruprofile~^The user profile
87 ^/etc/passwd~^List of users
88 ^/etc/group~^List of groups
90 ^Path:~^To determine the user's MH directory
92 ^Aliasfile:~^For a default alias file
96 `\-alias @@(MHETCPATH)/MailAliases'
106 The `\-user' option with `\-nonormalize' is not entirely accurate,
107 as it does not replace local nicknames for hosts with their official
123 The file specified by the profile entry \*(lqAliasfile:\*(rq and any
129 @put things back, do .NA stuff another way
143 .TH ALI 1 @@(MHCENTERFOOT) @@(MHLEFTFOOT)
153 @fixup for makewhatis
164 @document Aliasfile: profile entry