8 date 92.02.04.21.41.41; author jromine; state Exp;
13 date 90.04.09.20.22.46; author sources; state Exp;
18 date 90.04.05.15.13.33; author sources; state Exp;
23 date 90.03.22.11.31.29; author sources; state Exp;
28 date 90.03.20.19.42.08; author sources; state Exp;
33 date 90.03.20.17.36.24; author sources; state Exp;
38 date 90.03.20.17.21.08; author sources; state Exp;
53 .\" @@(#)$Id: msgchk.rf,v 1.6 1990/04/09 20:22:46 sources Exp jromine $
56 msgchk \- check for messages
59 \%[\-date] \%[\-nodate]
60 \%[\-notify\ all/mail/nomail] \%[\-nonotify\ all/mail/nomail]
62 \%[\-host\ host] \%[\-user\ user]
63 \%[\-apop] \%[\-noapop]
64 \%[\-rpop] \%[\-norpop]
69 The \fImsgchk\fR program checks all known mail drops for mail waiting
71 For those drops which have mail for you,
72 \fImsgchk\fR will indicate if it believes that you have seen the mail
75 The `\-notify\ type' switch indicates under what circumstances \fImsgchk\fR
76 should produce a message.
77 The default is `\-notify\ all' which says that \fImsgchk\fR should always
78 report the status of the users maildrop.
79 Other values for `type' include `mail' which says that \fImsgchk\fR should
80 report the status of waiting mail;
81 and, `nomail' which says that \fImsgchk\fR should report the status of empty
83 The `\-nonotify\ type' switch has the inverted sense,
84 so `\-nonotify\ all' directs \fImsgchk\fR to never report the status of
86 This is useful if the user wishes to check \fImsgchk\fR's exit status.
87 A non\-zero exit status indicates that mail was \fBnot\fR waiting for at
88 least one of the indicated users.
90 If \fImsgchk\fR produces output,
91 then the `\-date' switch directs \fImsgchk\fR to print out the last date mail
93 if this can be determined.
96 If the local host is configured as a POP client,
97 or if the `\-host\ host' switch is given,
98 \fImsgchk\fR will query the POP service host as to the status of mail waiting.
99 If the `\-user\ user' switch is not given,
100 then the current username is used.
102 \fImsgchk\fR will prompt for a password to use.
104 if the `\-apop' switch is given,
105 \fImsgchk\fR will generate authentication credentials to provide
106 for origin authentication and replay protection,
107 but which do not involve sending a password in the clear over the network.
109 if the `\-rpop' switch is given,
110 then \fImsgchk\fR will try to use a \*(lqtrusted\*(rq connection
111 (ala the BSD r-commands).
114 ^$HOME/\&.mh\(ruprofile~^The user profile
115 ^@@(MHETCPATH)/mtstailor~^tailor file
116 ^@@(MHDROPLOC)~^Location of mail drop
121 \fIPost Office Protocol - version 3\fR (aka RFC\-1081),
126 `user' defaults to the current user
143 @fixup RFC references
148 .\" @@(#)$Id: msgchk.rf,v 1.5 90/04/05 15:13:33 sources Exp Locker: sources $
152 The `\-user\ user' switch may be given to specify the name of the POP
153 subscriber you wish to check mail for on the POP service host.
154 The `\-rpop' switch uses the UNIX \fIrPOP\fR
155 (authentication done via trusted connections).
156 In contrast, the `\-norpop' switch uses the ARPA \fIPOP\fR
157 (in which case \fImsgchk\fR will prompt for a password).
171 \fIPost Office Protocol (revised)\fR (aka RFC\-819 with revisions),
177 @put things back, do .NA stuff another way
191 .TH MSGCHK 1 @@(MHCENTERFOOT) @@(MHLEFTFOOT)
201 @fixup for makewhatis
206 .TH MSGCHK 1 [mh.6] MH