Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages


home | help
WHOM(1)			    General Commands Manual		       WHOM(1)

       whom - show to whom an nmh message would	be sent

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

       whom is used to expand the headers of a message into a set of addresses
       and optionally verify that those	addresses are deliverable at that time
       (if -check is given).

       The  -draftfolder +folder and -draftmessage msg switches	invoke the nmh
       draft folder facility.  This is an advanced (and	 highly	 useful)  fea-
       ture.  Consult the mh-draft(5) man page for more	information.

       The   mail   transport	system	 default   is	provided  in  /usr/lo-
       cal/etc/nmh/mts.conf but	can be overridden here with the	-mts switch.

       If nmh is using the SMTP	MTA, the -server and the -port switches	can be
       used  to	 override  the	default	 mail  server (defined by the /usr/lo-
       cal/etc/nmh/mts.conf servers entry).  The -snoop	switch can be used  to
       view  the SMTP transaction.  (Beware that the SMTP transaction may con-
       tain authentication information either in plaintext or  easily  decoded

       If  nmh	has been compiled with SASL support, the -sasl switch will en-
       able 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	the mh-profile(5) man page).  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  the  mh-profile(5)  man
       page describes the ways to supply a username and	password.

       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 the post man page	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  transac-
       tion  with  the	-snoop	switch;	 see  the post man page	description of
       -snoop and the TLS flags	for more details.

       The files specified by the profile entry	 "Aliasfile:"  and  any	 addi-
       tional  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.

       $HOME/.mh_profile		    The	user profile

       Path:		    To determine the user's nmh	directory
       Draft-Folder:	    To find the	default	draft-folder
       Aliasfile:	    For	a default alias	file
       postproc:	    Program to post the	message

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

       `file' defaults to <mh-dir>/draft
       `-alias'	defaults to  /usr/local/etc/nmh/MailAliases


       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  ad-
       dresses,	 this  is  absolute;  for network addresses, it	means that the
       host is known; for uucp addresses, it (often) means that	the UUCP  net-
       work is available for use.

nmh-1.7.1			  2016-09-23			       WHOM(1)


Want to link to this manual page? Use this URL:

home | help