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

FreeBSD Manual Pages

  
 
  

home | help
INSTALL-MH(1)		    General Commands Manual		 INSTALL-MH(1)

NAME
       install-mh - initialize the nmh environment

SYNOPSIS

       /usr/local/libexec/nmh/install-mh [-help] [-version] [-auto] [-check]

DESCRIPTION
       install-mh  creates  the	 initial setup for a first-time	nmh user.  in-
       stall-mh	is installed in	two locations for historical reasons.

       The -auto switch	does things as automatically as	possible and makes in-
       stall-mh	less chatty.

       The user	is prompted for	the name of the	directory to be	designated  as
       the  user's  nmh	directory.  If this directory does not exist, the user
       is asked	if it should be	created.  Normally, this directory  should  be
       under  the  user's  home	directory, and has the default name of `Mail'.
       install-mh writes an initial .mh_profile	for the	user.

       As with all nmh commands, install-mh first checks for the existence  of
       the  $MH	 environment  variable,	 since that, if	set, gives the profile
       path.  If it isn't set, the $HOME environment variable is consulted  to
       determine  the  user's  home  directory.	 If $HOME is not set, then the
       /etc/passwd file	is consulted.

       When creating the user's	.mh_profile, install-mh	will check for the ex-
       istence of  a  global  profile  at  /usr/local/etc/nmh/mh.profile.   If
       found, this will	be used	to initialize the new .mh_profile.

       The  -check  switch  checks  if nmh is installed.  (This	can be used by
       other programs to determine if nmh has been installed.)

       install-mh sets up the user's profile to	support	the mh-draft(5)	 draft
       folder facility.

FILES
       $HOME/.mh_profile   The user's profile.
       /usr/local/etc/nmh/mh.profile
			   Used	to initialize user's profile.

PROFILE	COMPONENTS
       Path:		   To set the user's nmh directory.

SEE ALSO
       mh-draft(5)

CONTEXT
       With -auto, the current folder is changed to "inbox".

nmh-1.8+dev			  2022-12-22			 INSTALL-MH(1)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=install-mh&sektion=1&manpath=FreeBSD+Ports+14.3.quarterly>

home | help