1INSTALL-MH(1)               General Commands Manual              INSTALL-MH(1)
2
3
4

NAME

6       install-mh - initialize the nmh environment
7

SYNOPSIS

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

DESCRIPTION

12       install-mh  creates  the  initial setup for a first-time nmh user.  in‐
13       stall-mh is installed in two locations for historical reasons.
14
15       The -auto switch does things as automatically as possible and makes in‐
16       stall-mh less chatty.
17
18       The  user is prompted for the name of the directory to be designated as
19       the user's nmh directory.  If this directory does not exist,  the  user
20       is  asked  if it should be created.  Normally, this directory should be
21       under the user's home directory, and has the default  name  of  `Mail'.
22       install-mh writes an initial .mh_profile for the user.
23
24       As  with all nmh commands, install-mh first checks for the existence of
25       the $MH environment variable, since that, if  set,  gives  the  profile
26       path.   If it isn't set, the $HOME environment variable is consulted to
27       determine the user's home directory.  If $HOME is  not  set,  then  the
28       /etc/passwd file is consulted.
29
30       When creating the user's .mh_profile, install-mh will check for the ex‐
31       istence of a global profile at  /etc/nmh/mh.profile.   If  found,  this
32       will be used to initialize the new .mh_profile.
33
34       The  -check  switch  checks  if nmh is installed.  (This can be used by
35       other programs to determine if nmh has been installed.)
36
37       install-mh sets up the user's profile to support the mh-draft(5)  draft
38       folder facility.
39

FILES

41       $HOME/.mh_profile   The user's profile.
42       /etc/nmh/mh.profile Used to initialize user's profile.
43

PROFILE COMPONENTS

45       Path:               To set the user's nmh directory.
46

SEE ALSO

48       mh-draft(5)
49

CONTEXT

51       With -auto, the current folder is changed to “inbox”.
52
53
54
55nmh-1.8                           2022-12-22                     INSTALL-MH(1)
Impressum