1 .\" This file is automatically generated. Do not edit!
2 .\" @(#)$Id: msgchk.rf,v 1.7 1992/02/04 21:41:41 jromine Exp $
5 msgchk \- check for messages
8 \%[\-date] \%[\-nodate]
9 \%[\-notify\ all/mail/nomail] \%[\-nonotify\ all/mail/nomail]
13 The \fImsgchk\fR program checks all known mail drops for mail waiting
15 For those drops which have mail for you,
16 \fImsgchk\fR will indicate if it believes that you have seen the mail
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
27 The `\-nonotify\ type' switch has the inverted sense,
28 so `\-nonotify\ all' directs \fImsgchk\fR to never report the status of
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.
34 If \fImsgchk\fR produces output,
35 then the `\-date' switch directs \fImsgchk\fR to print out the last date mail
37 if this can be determined.
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
47 `user' defaults to the current user