ali(1)ali(1)NAMEali - list mail aliases (only available within the message handling
system, mh)
SYNOPSISali [-alias aliasfile] [-help] [-[no]list] [-[no]normalize] [-user
useraddr] [-nouser] [aliases...]
OPTIONS
Specifies the alias file to be consulted by ali. You can specify more
than one alias file, but each aliasfile must be preceded by -alias. In
addition to any alias files that you specify, ali consults the system
alias file /usr/lib/mh/MailAliases.
You can set up an entry in your so that ali automatically con‐
sults an alias file. To do this, add the Aliasfile entry to your
profile. See mh_profile(4) for more information. Prints a list
of the valid options to this command. Prints the addresses on
separate lines. If you do not specify the -list option, the
addresses are separated by commas and printed on as few lines as
possible. Instructs ali to try to track down the official host‐
name of the address. This can be suppressed by using -nonormal‐
ize. The default is -nonormalize. Displays all the aliases that
contain a specific name. Instead of listing the addresses that
each given alias expands to, ali lists the aliases that expand
to include each given address. You must specify the complete
user name that you have used in your alias file.
The defaults for this command are:
-alias /usr/lib/mh/MailAliases
-nolist
-nonormalize
-nouser
DESCRIPTION
The ali command searches the specified mail alias files for each of the
given aliases. It creates a list of addresses for those aliases, and
displays that list on the screen.
PROFILE COMPONENTS
Location of your mail directory. Location of your personal alias file.
EXAMPLES
The following example shows how the -user option can be used to list
all the aliases containing the address Parker@Venus: % ali-user
Parker@Venus Parker@Venus: Group, Reviewers, Badminton
FILES
The user profile. The system alias file. The system password file.
The system group file.
SEE ALSOmh-alias(4)ali(1)