1 .TH ALI %manext1% "December 4, 2013" "%nmhversion%"
6 ali \- list mail aliases
15 .RB [ \-list " | " \-nolist ]
16 .RB [ \-user " | " \-nouser ]
21 searches the named mail alias files for each of the given
23 It creates a list of addresses for those
25 and writes that list on standard output. If no arguments are given,
27 outputs all alias entries.
29 By default, when an aliases expands to multiple addresses, the addresses
30 are separated by commas and printed on as few lines as possible. If the
32 option is specified, then when an address expands to multiple
33 addresses, each address will appear on a separate line.
39 to perform its processing in
40 an inverted fashion: instead of listing the addresses that each given
43 will list the aliases that expand to each
46 The files specified by the profile entry
47 .RI \*(lq Aliasfile \*(rq
48 and any additional alias files given by the
51 switch will be read. Each
53 is processed as described in
56 Alias files are looked up in multiple locations: if the pathname is
57 absolute or starts with
61 then it's accessed directly; otherwise tilde expansion is done on
62 usernames, then files are searched for in the user's
64 directory as specified in their profile. If not found there, the directory
65 .RI \*(lq %nmhetcdir% \*(rq
71 .SH "PROFILE COMPONENTS"
76 To determine the user's nmh directory
79 For a default alias file
87 %nmhetcdir%/MailAliases