1ALI(1)                      General Commands Manual                     ALI(1)
2
3
4

NAME

6       ali - list nmh mail aliases
7

SYNOPSIS

9       ali [-help] [-version] [-alias aliasfile] [-list | -nolist] [-user |
10            -nouser] [aliases ...]
11

DESCRIPTION

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 alias expands to multiple addresses, the addresses
19       are separated by commas and printed on as few lines  as  possible.   If
20       the  -list  switch is specified, and an address expands to multiple ad‐
21       dresses, each address will appear on a separate line.
22
23       The -user switch 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.
26
27       The files specified by the profile entry “Aliasfile” and any additional
28       alias  files  given  by the -alias aliasfile switch will be read.  Each
29       alias is processed as described in mh-alias(5).
30

FILES

32       Alias files are looked up in multiple locations: if the pathname is ab‐
33       solute  or starts with “.”  or “..”  it is accessed directly; otherwise
34       tilde expansion is done on usernames, then files are  searched  for  in
35       the  user's Mail directory as specified in their profile.  If not found
36       there, the directory “/etc/nmh” is checked.
37
38       $HOME/.mh_profile   The user's profile.
39

PROFILE COMPONENTS

41       Path:               To determine the user's nmh directory
42       Aliasfile:          For a default alias file
43

SEE ALSO

45       mh-alias(5)
46

DEFAULTS

48       aliasfile  /etc/nmh/MailAliases
49       -nolist
50       -nouser
51

CONTEXT

53       None
54
55
56
57nmh-1.8                           2013-12-05                            ALI(1)
Impressum