1 .TH ALI %manext1% "March 21, 2013" "%nmhversion%"
6 ali \- list mail aliases
13 .RB [ \-list " | " \-nolist ]
14 .RB [ \-normalize " | " \-nonormalize ]
15 .RB [ \-user " | " \-nouser ]
22 searches the named mail alias files for each of the given
24 It creates a list of addresses for those
26 and writes that list on standard output. If no arguments are given,
28 outputs all alias entries.
30 By default, when an aliases expands to multiple addresses, the addresses
31 are separated by commas and printed on as few lines as possible. If the
33 option is specified, then when an address expands to multiple
34 addresses, each address will appear on a separate line.
40 to perform its processing in
41 an inverted fashion: instead of listing the addresses that each given
44 will list the aliases that expand to each
50 try to track down the official hostname of the address.
52 The files specified by the profile entry
53 .RI \*(lq Aliasfile \*(rq
54 and any additional alias files given by the
57 switch will be read. Each
59 is processed as described in
62 Alias files are looked up in multiple locations: if the pathname is
63 absolute or starts with
67 then it's accessed directly; otherwise tilde expansion is done on
68 usernames, then files are searched for in the user's
70 directory as specified in their profile. If not found there, the directory
71 .RI \*(lq %etcdir% \*(rq
77 .SH "PROFILE COMPONENTS"
82 To determine the user's nmh directory
85 For a default alias file
108 is not entirely accurate, as it
109 does not replace local nicknames for hosts with their official site names.