whom(1mh)whom(1mh)Namewhom - report to whom a message is addressed
Syntaxwhom [ options ] [ file ]
Description
The command is used to expand the headers of a message into a set of
addresses, and optionally to verify that those addresses are deliver‐
able at that time if -check is given.
The command is often invoked as one of the options offered by the pro‐
gram when you have finished editing a draft message. See for more
details.
If you want to run on a named file, you can supply a file argument.
This argument allows you to specify a named file; if you want to run on
an existing message, use the -draftfolder and -draftmessage options.
If you do not give an absolute pathname (one beginning with a / or ./
or ../ ), assumes that the named file is in your current working direc‐
tory.
Options-alias aliasfile
Specifies the alias file to be consulted by If you have used
one or more aliases in your message header, will consult the
named file to find those aliases, and will print the full
addresses as its output. You can reference more than one
file, but each file name must be preceded by the word -alias.
See for more information.
-check
-nocheck Checks that the addresses are valid. makes no guarantees
that the addresses listed as being correct are really deliv‐
erable: rather, an address being listed as correct means that
at the time that was run, the address was thought to be
deliverable by the transport service. For local addresses,
this means that the local user does exist, and that the
address was deliverable at the time of checking. For network
and uucp addresses, it means that the syntax of the address
is valid.
-draft Sets the draft message to be the standard file in your Mail
directory.
-draftfolder folder
-nodraftfolder
Specifies the folder in which searches for the draft message.
The default is to use the current message in the named
folder. You can select another message by using the
-draftmessage option. For more information on using a draft
folder, see The -draftfolder option is often set up in your
user profile; see for more information.
-draftmessage msg
Specifies the draft message to be used. If you specify a
folder with the -draftfolder option, the -draftmessage option
takes the number of a message in that folder. If you do not
specify a folder, -draftmessage takes the name of a file. If
you do not give an absolute pathname (one beginning with a /
or ./ or ../ ), -draftmessage assumes that the file is
located in your Mail directory.
-help Prints a list of the valid options to this command.
-mts smtp Specifies the format of the addresses to be checked. The
only value allowed is smtp, which checks that addresses are
deliverable over the standard ULTRIX mail system. Additional
values are supported only for use with other mail systems.
The defaults for this command are:
file defaults to
-nocheck
-alias /usr/lib/mh/MailAliases
-mts smtp
Restrictions
For this version, the -mts option only supports the value smtp. Addi‐
tional values are supported for use only with other mail systems.
Examples
In the following example, would use the current message in the folder:
% whom-draftfolder +drafts
smith: address OK
In the next example, searches for message 2 in the folder
% whom-draftfolder +drafts -draftmessage 2
davis@hostname: address OK
Profile Components
Path: To determine your MH directory (mh-dir)
Draft-Folder: To find the default draft-folder
postproc: Program to post the message
Files
The user profile.
See Alsocomp(1mh), mh-alias(5mh), post(8mh)whom(1mh)