whom
PURPOSE
Lists the addresses of the proposed recipients of a
message and verifies the addresses.
SYNOPSIS
whom[-alias aliasfile][-check][-nocheck][-draft]
[-draftfolder +folder][-draftmessage msg]
[-nodraftfolder][file][-help]
DESCRIPTION
The whom command is used to expand the headers of a
message into a set of addresses. whom is also used to
verify that those addresses are valid. whom is part of
the MH (Message Handling) package and can be used with
other MH and AIX commands.
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 argu-
ment 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.
-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 mes-
sages.
FILES
$HOME/.mh_profile The MH user profile.
RELATED INFORMATION
Other MH commands: "ali," "post," "whatnow."
The mh-alias, mh-format, mh-mail, and mh-profile files in
AIX Operating System Technical Reference.
The "Overview of the Message Handling Package" in Man-
aging the AIX Operating System.