Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ ali(1) — AIX/RT 2.2.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

comp

dist

forw

repl

send

whom

mh-alias

mh-profile

ali

PURPOSE

     Lists mail aliases and their addresses.

SYNOPSIS
     ali [-alias aliasfile][-list][-nolist][-normalize][-nonormalize]
         [-user][-nouser]aliases ...
     ali -help


DESCRIPTION

     The  ali command  is used  to list  mail aliases  and the
     addresses that the aliases represent.  ali is part of the
     MH (Message Handling) package and  can be used with other
     MH and AIX commands.

     The ali  command searches the specified  mail alias files
     for each given  alias, and writes to  standard output the
     addresses of each alias.  If  you specify the -user flag,
     ali interprets  the alias arguments as  actual addresses,
     searches the alias files for the addresses, and writes to
     standard output  the aliases that contain  definitions of
     the addresses.  Thus, if you  want to find the address of
     an alias, use  the default -nouser flag.  If  you want to
     find the aliases that represent an address, use the -user
     flag.

FLAGS

     -alias file    Specifies that  file is a mail  alias file
                    to be searched for  each given alias.  The
                    default        alias        file        is
                    /usr/lib/mh/MailAliases.
     -help          Displays help information for the command.
     -list          Displays each address on a separate line.
     -nolist        Displays addresses separated  by commas on
                    as few  lines as  possible.  This  flag is
                    the default.
     -nonormalize   Does  not attempt  to convert  local nick-
                    names  of  hosts  to their  official  host
                    names.  This flag is the default.
     -normalize     Attempts  to  convert local  nicknames  of
                    hosts to their official host names.

     -nouser        Lists  the  addresses that  the  specified
                    aliases  represent.   This   flag  is  the
                    default.
     -user          Lists the aliases  that contain the speci-
                    fied  addresses.    When  the   -user  and
                    -nonormalize flags are  used together, the
                    result may  be a  partial list  of aliases
                    that contain the specified addresses.

FILES

     /usr/lib/mh/MailAliases    The default mail alias file.
     $HOME/.mh_profile          The MH user profile.
     /etc/passwd                List of users.
     /etc/group                 List of groups.

RELATED INFORMATION

     Other  MH  commands:   "comp,"  "dist,"  "forw,"  "repl,"
     "send," "whom."

     The mh-alias and mh-profile files in AIX Operating System
     Technical Reference.

     The "Overview  of the  Message Handling Package"  in Man-
     aging the AIX Operating System.

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