Scroll to navigation

WHOM(1mh) [mmh-0.4] WHOM(1mh)

NAME

whom - report to whom a message would go

SYNOPSIS

whom [-tocc | -notocc] [-dcc | -nodcc] [-bcc | -nobcc] [-alias | -noalias] [-Version] [-help] file...

DESCRIPTION

Whom is used to list the recipient addresses in the headers of a message.

Per default, whom lists sighted and hidden recipients. The -notocc option suppresses the listing of sighted recipients (To and Cc). The -nodcc option suppresses the listing of hidden DCC recipients. The -nobcc option suppresses the listing of hidden BCC recipients. If the printing of multiple kinds of recipients is requested and hidden ones are present, they are separated by a line similar to `` ==DCC=='' or `` ==BCC==''. The actual separator may change, but the regular expression /^[ \t].*[DB]CC/ should always match. No separator is printed if only one kind of recipients is requested for printing, or if multiple are requested but no hidden recipients are present.

With -alias, aliases for all recipients are expanded, according to the alias files given by the `Aliasfile:' profile entry. This is somehow similar to running:

ali `whom /path/to/msg`

FILES

^$HOME/.mmh/profile~^The user profile

PROFILE COMPONENTS

^Path:~^To determine the user's mail storage
^Aliasfile:~^For default alias files

SEE ALSO

mh-alias(5), spost(8)

DEFAULTS

`-tocc'
`-dcc'
`-bcc'
`-alias'

CONTEXT

None

BUGS

whom does not (yet) accept msg and +folder arguments.

2019-01-06 MH.6.8