Index Index for
Section 1
Index Alphabetical
listing for W
Bottom of page Bottom of
page

whom(1)

NAME

whom - report to whom a message is addressed (only available within the message handling system, mh)

SYNOPSIS

whom [options] [file]

OPTIONS

-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 deliverable: 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 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 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 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 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

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 deliverable 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 argument. 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.

RESTRICTIONS

For this version, the -mts option only supports the value smtp. Additional values are supported for use only with other mail systems.

PROFILE COMPONENTS

Path: To determine your MH directory (mh-dir) Draft-Folder: To find the default draft-folder postproc: Program to post the message

EXAMPLES

1. In the following example, whom would use the current message in the +drafts folder: % whom -draftfolder +drafts smith: address OK 2. In the next example, whom searches for message 2 in the folder +drafts: % whom -draftfolder +drafts -draftmessage 2 davis@hostname: address OK

FILES

$HOME/.mh_profile The user profile.

SEE ALSO

comp(1), mh-alias(4), post(8)

Index Index for
Section 1
Index Alphabetical
listing for W
Top of page Top of
page