1 .TH MHPARAM %manext1% "May 21, 2016" "%nmhversion%"
6 mhparam \- print nmh profile and context components
13 .RB [ \-component " | " \-nocomponent ]
20 writes the value of the specified profile component to the standard
21 output separated by newlines. Component name matching is
22 case-insensitive. If the profile component is not present, the
23 default value (or nothing if there is no default) is printed.
27 is given, then the component name is displayed
28 along with the profile components value. This can be disabled with the
32 If more than one component is specified in the
37 is on by default. If only one component is
38 specified, then the switch
44 is specified, then all components in the nmh profile are
45 displayed and other arguments are ignored.
48 can provide other information, such as the
50 version identifier, the locations of the nmh
56 install directories, all
60 method described in the
62 man page. Information about the configuration of the
64 installation is also available, including the default mail spool
65 locking method. To test whether the configuration includes
66 support for SASL, TLS, and
68 the following commands, respectively, will output a non-null string to
79 Conversely, no output means that the specified support is not included.
82 switch displays all such other information available from
85 Note that the internal
87 component has been replaced by
89 The old form is deprecated and will be removed in a future release.
95 .ta \w'AliasFile:'u+2n
102 % mhparam \-component Path
105 % mhparam AliasFile rmmproc
109 % mhparam \-nocomponent AliasFile rmmproc
113 % mhparam path nonexistent context
126 % mhparam spoollocking
129 % mhparam datalocking
144 is also useful in backquoted operations:
148 % fgrep cornell.edu `mhpath +`/`mhparam aliasfile`
152 returns the number of components that were not found.
156 .ta \w'ExtraBigProfileName 'u
157 ^$HOME/.mh_profile~^The user profile
158 ^or $MH~^Rather than the standard profile
159 ^<mh-dir>/context~^The user context
160 ^or $MHCONTEXT~^Rather than the standard context
162 .SH "PROFILE COMPONENTS"
166 .ta \w'ExtraBigProfileName 'u
167 ^context:~^To determine the context file
173 .RB ` \-nocomponent "' if only one component is specified"
174 .RB ` \-component "' if more than one component is specified"
175 .RB ` components "' defaults to none"