whom(1mh)
Name
whom − report to whom a message would go
Syntax
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 and optionally to verify that those addresses are deliverable at that time if −check is given.
Options
The whom program normally searches for the draft message in your Mail directory. You can change this by using the −draftfolder +folder option. In the following example, whom would search in the +test folder for the draft message.
% whom −draftfolder +test
This would be useful, only if you had previously created a draft message in a specific folder. See comp() for details.
You can also direct whom to search for a specific file by using the draftmessage filename option. If you do not specify a directory path, whom will assume that it is located in your Mail directory. Similarly, if you specify a directory pathname that is not absolute (does not begin with a \ ) whom will assume that the path is relative to your Mail directory and not your home directory.
By using the −alias aliasfile switch, you can direct send to consult the named files for alias definitions. You can reference more than one file, but each filename must be preceded by the word −alias. See mh-alias() for more information.
With the −check option, 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 is absolute; for network addresses, it means that the host is known; for uucp addresses, it means that the UUCP network is available for use.
The defaults for this command are:
file defaults to <mh−dir>/draft
−nocheck
−alias /usr/new/lib/mh/MailAliases
Files
| $HOME/.mh_profile | The user profile |
Profile Components
| Path: | To determine your MH directory (mh-dir) |
| Draft-Folder: | To find the default draft-folder |
| postproc: | Program to post the message |