WHOM(1m,C) AIX Commands Reference WHOM(1m,C) ------------------------------------------------------------------------------- whom PURPOSE Lists and verifies the addresses of the proposed recipients of a message. SYNTAX +- -alias /usr/lib/mh/MailAliases -+ +-- -nocheck --+ whom ---| |---| one of |---> +---------- -alias file -----------+ | +----------+ | ^ | +-| -check |-+ +---------------+ | -nocheck | +----------+ +------------------------------------------------------------+ | one of | | +----------------+ | >---| | -draft | |---| | | -nodraftfolder | | | +-| file |-------------------------------------+ | | | +----------------+ | | +-| one of |-+ | +------------------------------------+ +--- cur ---+ | +-| -draftfolder +folder -draftmessage |---| one of |-+ | -draftfolder +folder | | +-------+ | | -draftmessage | +-| num |-+ +------------------------------------+ | first | | prev | | cur | | . | | next | | last | +-------+ whom --- -help ---| Note: This command does not have MBCS support. DESCRIPTION The whom command is used to expand the headers of a message into a set of addresses. The whom command is also used to verify that those addresses are valid. whom is part of the Message Handling (MH) package and can be used with other MH and AIX commands. Processed November 8, 1990 WHOM(1m,C) 1 WHOM(1m,C) AIX Commands Reference WHOM(1m,C) The message can reside in a draft folder or in a file. You can use one of the -draft, -draftfolder, -draftmessage, or nodraftfolder flags or the file argument to specify where the message resides. If you want to verify the addresses, you must specify the -check flag. FLAGS -alias file Specifies that file is a mail alias file to be searched for aliases. The default alias file is /usr/lib/mh/MailAliases. -check Checks to see if the addresses are valid. This flag should be used only if the program used to post messages is /usr/lib/mh/post (as specified in $HOME/.mh_profile). -draft Uses the header information in the file user_mh_directory/draft if it exists. -draftfolder +folder Uses the header information of the draft message in the specified folder. If you do not specify this flag, whom selects a default draft folder according to the information supplied in the MH profiles. You can define a default draft folder in $HOME/.mh_profile. If -draftfolder +folder is followed by msg:, msg represents the -draftmessage attribute. -draftmessage msg Uses the header information in the specified draft message. You can use one of the following message references when specifying msg: num sequence first prev cur . next last The default draft message is cur. -help Displays help information for the command. -nocheck Does not check to see if the addresses are valid. This is the default. -nodraftfolder Undoes the last occurrence of -draftfolder +folder PROFILE ENTRIES Draft-Folder: Sets your default folder for drafts. postproc: Specifies the program used to post messages. FILES $HOME/.mh_profile The MH user profile. Processed November 8, 1990 WHOM(1m,C) 2 WHOM(1m,C) AIX Commands Reference WHOM(1m,C) RELATED INFORMATION See other MH commands: "ali," "post," "whatnow." See the mh-alias, mh-format, mh-mail, 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 WHOM(1m,C) 3