Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ ali(1mh) — Ultrix-32 3.1D RISC

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

mh-alias(5mh)

ali(1mh)

NAME

ali − list mail aliases

SYNTAX

ali [−alias aliasfile] [−list] [−nolist] [−normalize] [−nonormalize] [−user <useradr>] [−nouser] aliases ...  [−help]

DESCRIPTION

The command ali 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.

OPTIONS

You specify the alias files using the -alias aliasfile option.  You can specify more than one alias file, but each aliasfile must be preceded by its own −alias flag. You must specify an aliasfile; either at the command line itself, or in your .mh_profile.

If you specify the −list option, each address appears on a separate line; otherwise, the addresses are separated by commas and printed on as few lines as possible.

You can make ali display all the aliases that contain a specific name by using the −user useraddress option The −user option directs ali to perform its processing in an inverted fashion: instead of listing the addresses that each given alias expands to, ali lists the aliases that expand to each given address.  You must specify the complete username that you have used in your mh−alias file.  The following example shows how this option can be used.

% ali −user Parker@Venus
Parker@Venus:  Group, Reviewers, Badminton

If the −normalize option is given, ali tries to track down the official hostname of the address.

Each alias is processed as described in mh−alias(.).

The defaults for ali are:
−alias /usr/new/lib/mh/MailAliases
−nolist
−nonormalize
−nouser

FILES

$HOME/.mh_profile The user profile
/etc/passwd List of users
/etc/group List of groups

SEE ALSO

mh-alias(5mh)

Commands

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026