1INSTALL-MH(8) [nmh-1.3] INSTALL-MH(8)
2
3
4
6 install-mh - initialize the nmh environment
7
9 install-mh [-auto] [-check] [-version] [-help]
10
12 Install-mh is the nmh program to create the initial setup for a
13 first-time nmh user. Install-mh lives in two places for historical
14 reasons.
15
16 The -auto option does things as automatically as possible and makes
17 install-mh less chatty.
18
19 The user is asked for the name of the directory that will be designated
20 as the user's nmh directory. If this directory does not exist, the
21 user is asked if it should be created. Normally, this directory should
22 be under the user's home directory, and has the default name of
23 ``Mail''. Install-mh writes an initial .mh_profile for the user.
24
25 As with all nmh commands, install-mh first checks for the existence of
26 the $MH environment variable since that gives the profile path if set.
27 If it isn't set, the $HOME environment variable is consulted to deter‐
28 mine the user's home directory. If $HOME is not set, then the
29 /etc/passwd file is consulted.
30
31 When creating the users initial .mh_profile, install-mh will check for
32 the existence of a global profile /etc/nmh/mh.profile. If found, this
33 will be used to initialize the new .mh_profile.
34
35 The -check option can be used to check whether or not nmh has been
36 installed. This can be used by other programs to determine whether or
37 not nmh has been installed without their having to know the internals
38 of nmh.
39
40
42 $HOME/.mh_profile The user profile
43 /etc/nmh/mh.profile Used to initialize user profile
44
45
47 Path: To set the user's nmh directory
48
49
51 With -auto, the current folder is changed to “inbox”.
52
53
54
55MH.6.8 1 June 2008 INSTALL-MH(8)