ALI(1m,C) AIX Commands Reference ALI(1m,C) ------------------------------------------------------------------------------- ali PURPOSE Lists mail aliases and their addresses. SYNTAX +--- -alias /usr/lib/mh/MailAliases ----+ +-- -nolist --+ ali ---| |---| +---------+ |---> +---------- -alias file -----------+ +-| -list |-+ ^ | | -nolist | +--------------------+ +---------+ +-- -nonormalize --+ +-- -nouser --+ >---| one of |---| one of |-- alias --| | +--------------+ | | +---------+ | ^ | +-| -normalize |-+ +-| -user |-+ +-------+ | -nonormalize | | -nouser | +--------------+ +---------+ ali -- -help --| Note: This command does not have MBCS support. DESCRIPTION The ali command is used to list mail aliases and the addresses that the aliases represent. ali is part of the Message Handling (MH) 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 address 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. Processed November 8, 1990 ALI(1m,C) 1 ALI(1m,C) AIX Commands Reference ALI(1m,C) -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 nicknames 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 specified 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 See other MH commands: "comp," "dist," "forw," "repl," "send" and "whom." See the mh-alias and mh-profile files in AIX Operating System Technical Reference. See "Overview of the Message Handling Package" in Managing the AIX Operating System. Processed November 8, 1990 ALI(1m,C) 2