4 .TH MSGCHK %manext1% "%nmhdate%" MH.6.8 [%nmhversion%]
6 msgchk \- check for messages
11 .RB [ \-date " | " \-nodate ]
34 program checks all known mail drops for mail waiting
35 for you. For those drops which have mail for you,
38 indicate if it believes that you have seen the mail in question before.
43 switch indicates under what circumstances
45 should produce a message. The default is
50 should always report the status of the
51 users maildrop. Other values for `type' include `mail' which says that
53 should report the status of waiting mail; and, `nomail'
56 should report the status of empty maildrops.
60 switch has the inverted sense, so
65 to never report the status of
66 maildrops. This is useful if the user wishes to check
68 exit status. A non\-zero exit status indicates that mail was
70 waiting for at least one of the indicated users.
74 produces output, then the
78 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
96 to assume that your account name
97 on the POP server is the same as your current username. To specify
98 a different username, use the `\-user\ username' switch.
100 When using POP, you will normally need to type the password for
101 your account on the POP server, in order to retrieve your messages.
102 It is possible to automate this process by creating a
103 .RI \*(lq \&.netrc \*(rq
104 file containing your login account information for this POP server.
105 For each POP server, this file should have a line of the following
106 form. Replace the words
112 your own account information.
124 .RI \*(lq \&.netrc \*(rq
125 file should be owned and readable only by you.
127 For debugging purposes, there is also a switch
130 allow you to watch the POP transaction take place between you and the
135 has been compiled with SASL support, the
138 the use of SASL authentication. Depending on the SASL mechanism used, this
139 may require an additional password prompt from the user (but the
140 .RI \*(lq \&.netrc \*(rq
141 file can be used to store this password). The
143 switch can be used to select a particular SASL mechanism.
145 If SASL authentication is successful,
147 will attempt to negotiate
148 a security layer for session encryption. Encrypted traffic is labelled
149 with `(encrypted)' and `(decrypted)' when viewing the POP transaction
158 .ta \w'%etcdir%/ExtraBigFileName 'u
159 ^$HOME/\&.mh\(ruprofile~^The user profile
160 ^%etcdir%/mts.conf~^nmh mts configuration file
161 ^%mailspool%/$USER~^Location of mail drop
164 .SH "PROFILE COMPONENTS"
168 .ta \w'ExtraBigProfileName 'u
177 .RB ` user "' defaults to the current user"
179 .RB ` "\-notify\ all" '