Added all of the MH sources, including RCS files, in
[mmh] / docs / historical / mh-6.8.5 / doc / msgchk.me
1 .\"     This file is automatically generated.  Do not edit!
2 .\" @(#)$Id: msgchk.rf,v 1.7 1992/02/04 21:41:41 jromine Exp $
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 \%[users\ ...]
11 \%[\-help]
12 .DE
13 The \fImsgchk\fR program checks all known mail drops for mail waiting
14 for you.
15 For those drops which have mail for you,
16 \fImsgchk\fR will indicate if it believes that you have seen the mail
17 in question before.
18
19 The `\-notify\ type' switch indicates under what circumstances \fImsgchk\fR
20 should produce a message.
21 The default is `\-notify\ all' which says that \fImsgchk\fR should always
22 report the status of the users maildrop.
23 Other values for `type' include `mail' which says that \fImsgchk\fR should
24 report the status of waiting mail;
25 and, `nomail' which says that \fImsgchk\fR should report the status of empty
26 maildrops.
27 The `\-nonotify\ type' switch has the inverted sense,
28 so `\-nonotify\ all' directs \fImsgchk\fR to never report the status of
29 maildrops.
30 This is useful if the user wishes to check \fImsgchk\fR's exit status.
31 A non\-zero exit status indicates that mail was \fBnot\fR waiting for at
32 least one of the indicated users.
33
34 If \fImsgchk\fR produces output,
35 then the `\-date' switch directs \fImsgchk\fR to print out the last date mail
36 was read,
37 if this can be determined.
38 .Fi
39 ^$HOME/\&.mh\(ruprofile~^The user profile
40 ^/opt/mh-6.8.5/lib/mtstailor~^tailor file
41 ^/var/spool/mail/$USER~^Location of mail drop
42 .Pr
43 None
44 .Sa
45 inc(1)
46 .De
47 `user' defaults to the current user
48 .Ds
49 `\-date'
50 .Ds
51 `\-notify\ all'
52 .Co
53 None
54 .En