4 .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
81 will normally check all the local mail drops, but if
82 the option \*(lqpophost:\*(rq is set in the mts configuration file
83 \*(lqmts.conf\*(rq, or if the
88 will query this POP service host as to the status of
93 to assume that your account name
94 on the POP server is the same as your current username. To specify
95 a different username, use the `\-user\ username' switch.
97 When using POP, you will normally need to type the password for
98 your account on the POP server, in order to retrieve your messages.
99 It is possible to automate this process by creating a
100 .RI \*(lq \&.netrc \*(rq
101 file containing your login account information for this POP server.
102 For each POP server, this file should have a line of the following
103 form. Replace the words
109 your own account information.
121 .RI \*(lq \&.netrc \*(rq
122 file should be owned and readable only by you.
124 For debugging purposes, there is also a switch
127 allow you to watch the POP transaction take place between you and the
132 has been compiled with SASL support, the
135 the use of SASL authentication. Depending on the SASL mechanism used, this
136 may require an additional password prompt from the user (but the
137 .RI \*(lq \&.netrc \*(rq
138 file can be used to store this password). The
140 switch can be used to select a particular SASL mechanism.
142 If SASL authentication is successful,
144 will attempt to negotiate
145 a security layer for session encryption. Encrypted traffic is labelled
146 with `(encrypted)' and `(decrypted)' when viewing the POP transaction
154 .ta \w'%etcdir%/ExtraBigFileName 'u
155 ^$HOME/\&.mh\(ruprofile~^The user profile
156 ^%etcdir%/mts.conf~^nmh mts configuration file
157 ^%mailspool%/$USER~^Location of mail drop
160 .SH "PROFILE COMPONENTS"
164 .ta \w'ExtraBigProfileName 'u
173 .RB ` user "' defaults to the current user"
175 .RB ` "\-notify\ all" '