1 .TH MSGCHK %manext1% "%nmhdate%" MH.6.8 [%nmhversion%]
6 msgchk \- check for messages
11 .RB [ \-date " | " \-nodate ]
32 program checks all known mail drops for mail waiting
33 for you. For those drops which have mail for you,
36 indicate if it believes that you have seen the mail in question before.
41 switch indicates under what circumstances
43 should produce a message. The default is
48 should always report the status of the
49 users maildrop. Other values for `type' include `mail' which says that
51 should report the status of waiting mail; and, `nomail'
54 should report the status of empty maildrops.
58 switch has the inverted sense, so
63 to never report the status of
64 maildrops. This is useful if the user wishes to check
66 exit status. A non\-zero exit status indicates that mail was
68 waiting for at least one of the indicated users.
72 produces output, then the
76 to print out the last date mail was read, if this can
80 will normally check all the local mail drops, but if
81 the option \*(lqpophost:\*(rq is set in the mts configuration file
82 \*(lqmts.conf\*(rq, or if the
87 will query this POP service host as to the status of
92 to assume that your account name
93 on the POP server is the same as your current username. To specify
94 a different username, use the `\-user\ username' switch.
96 When using POP, you will normally need to type the password for
97 your account on the POP server, in order to retrieve your messages.
98 It is possible to automate this process by creating a
99 .RI \*(lq \&.netrc \*(rq
100 file containing your login account information for this POP server.
101 For each POP server, this file should have a line of the following
102 form. Replace the words
108 your own account information.
120 .RI \*(lq \&.netrc \*(rq
121 file should be owned and readable only by you.
123 For debugging purposes, there is also a switch
126 allow you to watch the POP transaction take place between you and the
131 has been compiled with SASL support, the
134 the use of SASL authentication. Depending on the SASL mechanism used, this
135 may require an additional password prompt from the user (but the
136 .RI \*(lq \&.netrc \*(rq
137 file can be used to store this password). The
139 switch can be used to select a particular SASL mechanism.
141 If SASL authentication is successful,
143 will attempt to negotiate
144 a security layer for session encryption. Encrypted traffic is labelled
145 with `(encrypted)' and `(decrypted)' when viewing the POP transaction
152 .ta \w'%etcdir%/ExtraBigFileName 'u
153 ^$HOME/\&.mh\(ruprofile~^The user profile
154 ^%etcdir%/mts.conf~^nmh mts configuration file
155 ^%mailspool%/$USER~^Location of mail drop
157 .SH "PROFILE COMPONENTS"
161 .ta \w'ExtraBigProfileName 'u
168 .RB ` user "' defaults to the current user"
170 .RB ` "\-notify\ all" '