1 .TH MSGCHK %manext1% "October 9, 2016" "%nmhversion%"
6 msgchk \- check for messages
13 .RB [ \-date " | " \-nodate ]
36 program checks all known mail drops for mail waiting
37 for you. For those drops which have mail for you,
40 indicate if it believes that you have seen the mail in question before.
45 switch indicates under what circumstances
47 should produce a message. The default is
52 should always report the status of the
53 users maildrop. Other values for `type' include `mail' which says that
55 should report the status of waiting mail; and, `nomail'
58 should report the status of empty maildrops.
62 switch has the inverted sense, so
67 to never report the status of
68 maildrops. This is useful if the user wishes to check
70 exit status. A non\-zero exit status indicates that mail was
72 waiting for at least one of the indicated users.
76 produces output, then the
80 to print out the last date mail was read, if this can
84 will normally check all the local mail drops, but if
85 the option \*(lqpophost:\*(rq is set in the mts configuration file
86 \*(lqmts.conf\*(rq, or if the
91 will query this POP service host as to the status of
94 To specify a username for authentication with the POP server, use the
97 switch. The credentials profile entry in the mh\-profile(5) man page
98 describes the ways to supply a username and password.
100 For debugging purposes, there is also a switch
103 allow you to watch the POP transaction take place between you and the
105 .B \-sasl \-saslmech xoauth2
106 is used, the HTTP transaction is also shown.
110 has been compiled with SASL support, the
113 the use of SASL authentication. Depending on the SASL mechanism used, this
114 may require an additional password prompt from the user (but the
116 file can be used to store this password, as described in the
117 mh-profile(5) man page). The
119 switch can be used to select a particular SASL mechanism.
121 If SASL authentication is successful,
123 will attempt to negotiate
124 a security layer for session encryption. Encrypted traffic is labelled
125 with `(encrypted)' and `(decrypted)' when viewing the POP transaction
130 man page description of
132 for its other features.
136 has been compiled with OAuth support, the
137 .B \-sasl \-saslmech xoauth2
138 switch will enable OAuth authentication. The
140 switch must be used, and the
142 must be an email address the user has for the service, which must
143 be specified with the
146 switch. Before using this, the user must authorize nmh by running
148 and grant authorization to that account. See the
150 man page for more details.
154 has been compiled with TLS support, the
156 switch will require the negotiation of TLS when connecting
157 to the remote POP server. The
159 switch will negotiate TLS immediately after the connection has taken place,
160 before any POP commands are sent or received. Data encrypted by TLS is
161 labeled `(tls-encrypted)' and `(tls-decrypted)` with viewing the POP
166 switch will disable all attempts to negotiate TLS.
170 .ta \w'%nmhetcdir%/ExtraBigFileName 'u
171 ^$HOME/\&.mh\(ruprofile~^The user profile
172 ^%nmhetcdir%/mts.conf~^nmh mts configuration file
173 ^%mailspool%/$USER~^Location of mail drop
175 .SH "PROFILE COMPONENTS"
179 .ta \w'ExtraBigProfileName 'u
188 .RB ` user "' defaults to the current user"
190 .RB ` "\-notify\ all" '