0
|
1 .\" This file is automatically generated. Do not edit!
|
|
2 .\" @(#)$Id$
|
|
3 .SC MSGCHK 1
|
|
4 .NA
|
|
5 msgchk \- check for messages
|
|
6 .SY
|
|
7 msgchk
|
|
8 \%[\-date] \%[\-nodate]
|
|
9 \%[\-notify\ all/mail/nomail] \%[\-nonotify\ all/mail/nomail]
|
|
10 \%[\-host\ host] \%[\-user\ user]
|
|
11 \%[\-apop] \%[\-noapop]
|
|
12 \%[\-rpop] \%[\-norpop]
|
|
13 \%[users\ ...]
|
|
14 \%[\-help]
|
|
15 .DE
|
|
16 The \fImsgchk\fR program checks all known mail drops for mail waiting
|
|
17 for you.
|
|
18 For those drops which have mail for you,
|
|
19 \fImsgchk\fR will indicate if it believes that you have seen the mail
|
|
20 in question before.
|
|
21
|
|
22 The `\-notify\ type' switch indicates under what circumstances \fImsgchk\fR
|
|
23 should produce a message.
|
|
24 The default is `\-notify\ all' which says that \fImsgchk\fR should always
|
|
25 report the status of the users maildrop.
|
|
26 Other values for `type' include `mail' which says that \fImsgchk\fR should
|
|
27 report the status of waiting mail;
|
|
28 and, `nomail' which says that \fImsgchk\fR should report the status of empty
|
|
29 maildrops.
|
|
30 The `\-nonotify\ type' switch has the inverted sense,
|
|
31 so `\-nonotify\ all' directs \fImsgchk\fR to never report the status of
|
|
32 maildrops.
|
|
33 This is useful if the user wishes to check \fImsgchk\fR's exit status.
|
|
34 A non\-zero exit status indicates that mail was \fBnot\fR waiting for at
|
|
35 least one of the indicated users.
|
|
36
|
|
37 If \fImsgchk\fR produces output,
|
|
38 then the `\-date' switch directs \fImsgchk\fR to print out the last date mail
|
|
39 was read,
|
|
40 if this can be determined.
|
|
41
|
|
42 If the local host is configured as a POP client,
|
|
43 or if the `\-host\ host' switch is given,
|
|
44 \fImsgchk\fR will query the POP service host as to the status of mail waiting.
|
|
45 If the `\-user\ user' switch is not given,
|
|
46 then the current username is used.
|
|
47 Normally,
|
|
48 \fImsgchk\fR will prompt for a password to use.
|
|
49 However,
|
|
50 if the `\-apop' switch is given,
|
|
51 \fImsgchk\fR will generate authentication credentials to provide
|
|
52 for origin authentication and replay protection,
|
|
53 but which do not involve sending a password in the clear over the network.
|
|
54 Otherwise,
|
|
55 if the `\-rpop' switch is given,
|
|
56 then \fImsgchk\fR will try to use a \*(lqtrusted\*(rq connection
|
|
57 (ala the BSD r-commands).
|
|
58 .Fi
|
|
59 ^$HOME/\&.mh\(ruprofile~^The user profile
|
|
60 ^/usr/local/mh/lib/mtstailor~^tailor file
|
|
61 ^/var/mail/$USER~^Location of mail drop
|
|
62 .Pr
|
|
63 None
|
|
64 .Sa
|
|
65 \fIPost Office Protocol - version 3\fR (aka RFC\-1081),
|
|
66 .br
|
|
67 inc(1)
|
|
68 .De
|
|
69 `user' defaults to the current user
|
|
70 .Ds
|
|
71 `\-date'
|
|
72 .Ds
|
|
73 `\-notify\ all'
|
|
74 .Ds
|
|
75 `\-rpop'
|
|
76 .Co
|
|
77 None
|
|
78 .En
|