WHOM(1)

โœจ WHOM(1) โœจ โ€” ok so this is the manual page for whom, section 1 (General Commands Manual), and bestie it is so useful ๐Ÿ’–


๐ŸŒธ NAME ๐ŸŒธ

whom โ€” show to whom an nmh message would be sent ๐Ÿ‘€๐Ÿ’Œ


๐ŸŽ€ SYNOPSIS ๐ŸŽ€

whom [-help] [-version] [-alias aliasfile] [-check | -nocheck]
     [-draftfolder +folder] [-draftmessage msg] [-nodraftfolder] [-mts
     smtp | sendmail/smtp | sendmail/pipe] [-server servername] [-port
     port-name/number] [-sasl] [-saslmech mechanism] [-snoop] [-user
     username] [-tls] [-initialtls] [-notls] [file] [-draft]

๐Ÿฆ‹ DESCRIPTION ๐Ÿฆ‹

So whom takes the headers of a message and expands them into an actual set of addresses โ€” like, who is this message even going to, bestie?? ๐Ÿ’… And if you pass -check, it will optionally verify that those addresses are actually deliverable at that exact moment. Not me double-checking before I hit send, it's giving responsible queen energy ๐Ÿ‘‘

The -draftfolder +folder and -draftmessage msg switches invoke the nmh draft folder facility. This is an advanced (and highly useful) feature โ€” no cap, it's lowkey iconic. Go consult mh-draft(5) for more info, iykyk ๐Ÿ“–โœจ

The mail transport system default lives in /etc/nmh/mts.conf, but you can override it right here with the -mts switch. Flexibility? We love her ๐Ÿซถ

If nmh is using the SMTP MTA, the -server and the -port switches can be used to override the default mail server (which is defined by the /etc/nmh/mts.conf servers entry). And the -snoop switch can be used to view the SMTP transaction โ€” like watching the whole thing happen in real time ๐Ÿฟ

โš ๏ธ Beware that the SMTP transaction may contain authentication information either in plaintext or easily decoded base64. So likeโ€ฆ do not snoop on a train with strangers reading over your shoulder, bestie ๐Ÿ˜ญ๐Ÿ’€

If nmh has been compiled with SASL support, the -sasl switch will enable the use of SASL authentication with the SMTP MTA. Depending on the SASL mechanism used, this may require an additional password prompt from the user โ€” but the netrc file can be used to store this password, as described in mh-profile(5) ๐Ÿ” The -saslmech switch can be used to select a particular SASL mechanism, and the -user switch can be used to select a authorization userid to provide to SASL other than the default. The credentials profile entry in mh-profile(5) describes the ways to supply a username and password โ€” go read it, it's literally the blueprint ๐Ÿ’œ

If SASL authentication is successful, nmh will attempt to negotiate a security layer for session encryption. Encrypted data is labelled with (encrypted) and (decrypted) when viewing the SMTP transaction with the -snoop switch; see post(8)'s description of -snoop for its other features ๐Ÿ”’โœจ

If nmh has been compiled with TLS support, the -tls, -initialtls, and -notls switches will require and disable the negotiation of TLS support when connecting to the SMTP MTA. Encrypted data is labelled with (tls-encrypted) and (tls-decrypted) when viewing the SMTP transaction with the -snoop switch; see post(8)'s description of -snoop and the TLS flags for more details ๐Ÿ›ก๏ธ

The files specified by the profile entry โ€œAliasfile:โ€ and any additional alias files given by the -alias aliasfile switch will be read (more than one file, each preceded by -alias, can be named). See mh-alias(5) for more information โ€” yes you can stack them, she's versatile ๐Ÿ’…๐Ÿ“š


๐Ÿ“ FILES ๐Ÿ“

  • $HOME/.mh_profile โ€” The user profile (your personal little config home ๐Ÿ ๐Ÿ’–)

๐ŸŒˆ PROFILE COMPONENTS ๐ŸŒˆ

  • Path: โ€” To determine the user's nmh directory ๐Ÿ“
  • Draft-Folder: โ€” To specify the default draftfolder โœ๏ธ
  • Aliasfile: โ€” For a default alias file ๐Ÿ“‡
  • postproc: โ€” Program to post the message ๐Ÿ“ฎ

โญ SEE ALSO โญ

mh-alias(5), mh-draft(5), mh-profile(5), post(8)

(the whole friend group, go say hi ๐Ÿซถ)


๐Ÿ‘‘ DEFAULTS ๐Ÿ‘‘

  • file defaults to <mh-dir>/draft
  • -nocheck
  • -alias defaults to /etc/nmh/MailAliases

๐Ÿงš CONTEXT ๐Ÿงš

None. Nothing. Nada. Empty. She doesn't play with context ๐Ÿ’€โœจ


๐Ÿ”ฅ BUGS ๐Ÿ”ฅ

With the -check option, whom makes no guarantees that the addresses listed as being ok are really deliverable. Rather, an address being listed as ok 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 (often) means that the UUCP network is available for use.

So basically -check is giving "trust me bestie" and not "legally binding contract" โ€” the vibes were checked at that moment and that's it ๐Ÿ˜ญ๐Ÿ™ˆ

ok that's the whole page, mwah ๐Ÿ’‹ this was nmh-1.8, dated 2022-12-22 โ€” thanks for reading my little manual rewrite, ily, go expand some headers ๐ŸŽ€๐Ÿ’–๐Ÿฆ‹

๐Ÿ“ฆ where this page comes from