1ALI(1) [nmh-1.2-20070115cvs] ALI(1)
2
3
4
6 ali - list mail aliases
7
9 ali [-alias aliasfile] [-list | -nolist] [-normalize | -nonormalize]
10 [-user | -nouser] [-version] [-help] [aliases ...]
11
13 Ali searches the named mail alias files for each of the given aliases.
14 It creates a list of addresses for those aliases, and writes that list
15 on standard output. If no arguments are given, ali outputs all alias
16 entries.
17
18 By default, when an aliases expands to multiple addresses, the
19 addresses are separated by commas and printed on as few lines as possi‐
20 ble. If the -list option is specified, then when an address expands to
21 multiple addresses, each address will appear on a separate line.
22
23 The switch -user directs ali to perform its processing in an inverted
24 fashion: instead of listing the addresses that each given alias expands
25 to, ali will list the aliases that expand to each given address. If
26 the -normalize switch is given, ali will try to track down the official
27 hostname of the address.
28
29 The files specified by the profile entry “Aliasfile” and any additional
30 alias files given by the -alias aliasfile switch will be read. Each
31 alias is processed as described in mh-alias(5).
32
33
35 $HOME/.mh_profile The user profile
36 /etc/passwd List of users
37 /etc/group List of groups
38
39
41 Path: To determine the user's nmh directory
42 Aliasfile: For a default alias file
43
44
46 mh-alias(5)
47
48
50 `aliasfiles' defaults to /etc/nmh/MailAliases
51 `-nolist'
52 `-nonormalize'
53 `-nouser'
54
55
57 None
58
59
61 The -user option with -nonormalize is not entirely accurate, as it does
62 not replace local nicknames for hosts with their official site names.
63
64
65
66MH.6.8 1 Jul 2003 ALI(1)