1 .TH MSGCHK %manext1% 2016-11-02 "%nmhversion%"
6 msgchk \- nmh's check for incoming email
13 .RB [ \-date " | " \-nodate ]
22 .RB [ \-sasl " | " \-nosasl ]
28 .RB [ \-certverify " | " \-nocertverify ]
38 program checks all known mail drops for mail waiting
39 for you. For those drops which have mail for you,
42 indicate if it believes that you have seen the mail in question before.
47 switch indicates under what circumstances
49 should produce a message. The default is
54 should always report the status of the
55 users mail drop. Other values for `type' include `mail' which says that
57 should report the status of waiting mail; and, `nomail'
60 should report the status of empty mail drops.
64 switch has the inverted sense, so
69 to never report the status of
70 mail drops. This is useful if the user wishes to check
72 exit status. A non-zero exit status indicates that mail was
74 waiting for at least one of the indicated users.
78 produces output, then the
82 to print out the last date mail was read, if this can
86 will normally check all the local mail drops, but if
87 the option \*(lqpophost:\*(rq is set in the mts configuration file
88 \*(lqmts.conf\*(rq, or if the
93 will query this POP service host as to the status of
96 To specify a username for authentication with the POP server, use the
99 switch. The credentials profile entry in
101 describes the ways to supply a username and password.
103 For debugging purposes, there is also a switch
106 allow you to watch the POP transaction take place between you and the
108 .B \-sasl \-saslmech xoauth2
109 is used, the HTTP transaction is also shown.
113 has been compiled with SASL support, the
116 the use of SASL authentication. Depending on the SASL mechanism used, this
117 may require an additional password prompt from the user (but the
119 file can be used to store this password, as described in
123 switch can be used to select a particular SASL mechanism.
125 If SASL authentication is successful,
127 will attempt to negotiate
128 a security layer for session encryption. Encrypted traffic is labelled
129 with `(encrypted)' and `(decrypted)' when viewing the POP transaction
136 for its other features.
140 has been compiled with OAuth support, the
141 .B \-sasl \-saslmech xoauth2
142 switch will enable OAuth authentication. The
144 switch must be used, and the
146 must be an email address the user has for the service, which must
147 be specified with the
150 switch. Before using this, the user must authorize nmh by running
152 and grant authorization to that account. See
158 has been compiled with TLS support, the
162 switches will require the negotiation of TLS when connecting
163 to the remote POP server. The
165 switch will negotiate TLS as part of the normal POP protocol using
166 the STLS command. The
168 switch will negotiate TLS immediately after the connection has taken place,
169 before any POP commands are sent or received. Data encrypted by TLS is
170 labeled `(tls-encrypted)' and `(tls-decrypted)' with viewing the POP
175 switch will disable all attempts to negotiate TLS.
177 When using TLS the default is to verify the remote certificate and SubjectName
178 against the local trusted certificate store. This can be controlled by
183 switches. See your OpenSSL documentation for more information on certificate
188 .ta \w'%nmhetcdir%/ExtraBigFileName 'u
189 ^$HOME/.mh_profile~^The user profile
190 ^%nmhetcdir%/mts.conf~^nmh mts configuration file
191 ^%mailspool%/$USER~^Location of mail drop
193 .SH "PROFILE COMPONENTS"
197 .ta \w'ExtraBigProfileName 'u
206 .RB ` user "' defaults to the current user"
208 .RB ` "\-notify\ all" '