Manual Page Result
0
Command: whom | Section: 1 | Source: Digital UNIX | File: whom.1.gz
whom(1) General Commands Manual whom(1)
NAME
whom - report to whom a message is addressed (only available within the
message handling system, mh)
SYNOPSIS
whom [ options ] [ file ]
DESCRIPTION
The whom command is used to expand the headers of a message into a set
of addresses, and optionally to verify that those addresses are deliv-
erable at that time if -check is given.
The whom command is often invoked as one of the options offered by the
whatnow program when you have finished editing a draft message. See
whatnow(1) for more details.
If you want to run whom on a named file, you can supply a file argu-
ment. This argument allows you to specify a named file; if you want to
run whom on an existing message, use the -draftfolder and -draftmessage
options. If you do not give an absolute pathname (one beginning with a
/ or ./ or ../ ), whom assumes that the named file is in your current
working directory.
FLAGS
-alias aliasfile
Specifies the alias file to be consulted by whom. If you have
used one or more aliases in your message header, whom 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 mh-alias(4) for more information.
-check
-nocheck Checks that the addresses are valid. whom 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 whom 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 ad-
dress 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 draft in your
Mail directory.
-draftfolder folder
-nodraftfolder
Specifies the folder in which whom 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 comp(1). The -draftfolder option is often set up
in your user profile; see mh_profile(4) 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 lo-
cated 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 mail system. Additional values
are supported only for use with other mail systems.
The defaults for this command are:
file defaults to <mh-dir>/draft
-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, whom would use the current message in the
+drafts folder: % whom -draftfolder +drafts
smith: address OK
In the next example, whom searches for message 2 in the folder +drafts:
% whom -draftfolder +drafts -draftmessage 2
davis@hostname: address OK
PROFILE COMPONENTS
tab(+); l l. Path:+To determine your MH directory (mh-dir) Draft-
Folder:+To find the default draft-folder postproc:+Program to post the
message
FILES
$HOME/.mh_profile
The user profile.
RELATED INFORMATION
comp(1), mh-alias(4), post(8) delim off
whom(1)