Manual Page Result
0
Command: ali | Section: 1 | Source: Digital UNIX | File: ali.1.gz
ali(1) General Commands Manual ali(1)
NAME
ali - list mail aliases (only available within the message handling
system, mh)
SYNOPSIS
ali [ -alias aliasfile ] [ -help ] [ -[no]list ] [ -[no]normalize ] [
-user useraddr ] [ -nouser ] [ aliases ... ]
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.
FLAGS
-alias aliasfile
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 .mh_profile so that ali auto-
matically consults an alias file. To do this, add the Alias-
file entry to your profile. See mh_profile(4) for more in-
formation.
-help Prints a list of the valid options to this command.
-list
-nolist Prints the addresses on separate lines. If you do not spec-
ify the -list option, the addresses are separated by commas
and printed on as few lines as possible.
-normalize
-nonormalize
Instructs ali to try to track down the official hostname of
the address. This can be suppressed by using -nonormalize.
The default is -nonormalize.
-user useraddr
-nouser Displays all the aliases that contain a specific name. In-
stead 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
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
PROFILE COMPONENTS
tab(+); l l. Path:+Location of your Mail directory. Aliasfile:+Loca-
tion of your personal alias file.
FILES
$HOME/.mh_profile
The user profile.
/usr/lib/mh/MailAliases
The system alias file.
/etc/passwd
The system password file.
/etc/group
The system group file.
RELATED INFORMATION
mh-alias(4) delim off
ali(1)