annotate doc/msgchk.me @ 0:bce86c4163a3

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