{
    "mode": "man",
    "parameter": "whom",
    "section": "1",
    "url": "https://www.chedong.com/phpMan.php/man/whom/1/json",
    "generated": "2026-06-17T19:35:29Z",
    "synopsis": "whom [-help] [-version] [-alias aliasfile] [-check | -nocheck] [-draftfolder +folder]\n[-draftmessage msg] [-nodraftfolder] [-mts smtp | sendmail/smtp | sendmail/pipe]\n[-server servername] [-port port-name/number] [-sasl] [-saslmech mechanism] [-snoop]\n[-user username] [-tls] [-initialtls] [-notls] [file] [-draft]",
    "sections": {
        "NAME": {
            "content": "whom - show to whom an nmh message would be sent\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "whom [-help] [-version] [-alias aliasfile] [-check | -nocheck] [-draftfolder +folder]\n[-draftmessage msg] [-nodraftfolder] [-mts smtp | sendmail/smtp | sendmail/pipe]\n[-server servername] [-port port-name/number] [-sasl] [-saslmech mechanism] [-snoop]\n[-user username] [-tls] [-initialtls] [-notls] [file] [-draft]\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "whom is used to expand the headers of a message into a set of addresses and optionally verify\nthat those addresses are deliverable at that time (if -check is given).\n\nThe -draftfolder +folder and -draftmessage msg switches invoke the nmh draft folder facility.\nThis is an advanced (and highly useful) feature.  Consult the mh-draft(5) man page  for  more\ninformation.\n\nThe mail transport system default is provided in /etc/nmh/mts.conf but can be overridden here\nwith the -mts switch.\n\nIf nmh is using the SMTP MTA, the -server and the -port switches can be used to override  the\ndefault  mail server (defined by the /etc/nmh/mts.conf servers entry).  The -snoop switch can\nbe used to view the SMTP transaction.  (Beware that the SMTP transaction may contain  authen‐\ntication information either in plaintext or easily decoded base64.)\n\nIf  nmh has been compiled with SASL support, the -sasl switch will enable the use of SASL au‐\nthentication with the SMTP MTA.  Depending on the SASL mechanism used, this  may  require  an\nadditional  password prompt from the user (but the netrc file can be used to store this pass‐\nword, as described in the mh-profile(5) man page).  The -saslmech switch can be used  to  se‐\nlect  a particular SASL mechanism, and the -user switch can be used to select a authorization\nuserid to provide to SASL other than the default.   The  credentials  profile  entry  in  the\nmh-profile(5) man page describes the ways to supply a username and password.\n\nIf SASL authentication is successful, nmh will attempt to negotiate a security layer for ses‐\nsion encryption.  Encrypted data is labelled with `(encrypted)' and `(decrypted)' when  view‐\ning  the SMTP transaction with the -snoop switch; see the post man page description of -snoop\nfor its other features.\n\nIf nmh has been compiled with TLS support, the -tls, -initialtls, and  -notls  switches  will\nrequire  and  disable  the  negotiation  of TLS support when connecting to the SMTP MTA.  En‐\ncrypted data is labelled with `(tls-encrypted)' and `(tls-decrypted)' when viewing  the  SMTP\ntransaction  with  the -snoop switch; see the post man page description of -snoop and the TLS\nflags for more details.\n\nThe files specified by the profile entry “Aliasfile:” and any additional alias files given by\nthe -alias aliasfile switch will be read (more than one file, each preceded by -alias, can be\nnamed).  See mh-alias(5) for more information.\n",
            "subsections": []
        },
        "FILES": {
            "content": "$HOME/.mhprofile          The user profile\n",
            "subsections": []
        },
        "PROFILE COMPONENTS": {
            "content": "Path:                To determine the user's nmh directory\nDraft-Folder:        To find the default draft-folder\nAliasfile:           For a default alias file\npostproc:            Program to post the message\n",
            "subsections": []
        },
        "SEE ALSO": {
            "content": "mh-alias(5), mh-profile(5), post(8)\n",
            "subsections": []
        },
        "DEFAULTS": {
            "content": "`file' defaults to <mh-dir>/draft\n`-nocheck'\n`-alias' defaults to  /etc/nmh/MailAliases\n",
            "subsections": []
        },
        "CONTEXT": {
            "content": "None\n",
            "subsections": []
        },
        "BUGS": {
            "content": "With the -check option, whom makes no guarantees that the addresses listed as  being  ok  are\nreally  deliverable,  rather,  an address being listed as ok means that at the time that whom\nwas run the address was thought to be deliverable by the transport service.   For  local  ad‐\ndresses,  this  is absolute; for network addresses, it means that the host is known; for uucp\naddresses, it (often) means that the UUCP network is available for use.\n\n\n\nnmh-1.7.1                                    2016-09-23                                    WHOM(1mh)",
            "subsections": []
        }
    },
    "summary": "whom - show to whom an nmh message would be sent",
    "flags": [],
    "examples": [],
    "see_also": [
        {
            "name": "mh-alias",
            "section": "5",
            "url": "https://www.chedong.com/phpMan.php/man/mh-alias/5/json"
        },
        {
            "name": "mh-profile",
            "section": "5",
            "url": "https://www.chedong.com/phpMan.php/man/mh-profile/5/json"
        },
        {
            "name": "post",
            "section": "8",
            "url": "https://www.chedong.com/phpMan.php/man/post/8/json"
        }
    ]
}