4 .TH MSGCHK %manext1% "%nmhdate%" MH.6.8 [%nmhversion%]
6 msgchk \- check system mail drop for messages
11 .RB [ \-date " | " \-nodate ]
24 program checks your system mail drop for mail waiting
25 for you, or the given users.
26 If the requested users have mail,
29 indicate if it believes that they have seen the mail in question before.
34 switch indicates under what circumstances
36 should produce a message. The default is
41 should always report the status of the
42 users maildrop. Other values for `type' include `mail' which says that
44 should report the status of waiting mail; and, `nomail'
47 should report the status of empty maildrops.
51 switch has the inverted sense, so
56 to never report the status of
57 maildrops. This is useful if the user wishes to check
59 exit status. A non\-zero exit status indicates that mail was
61 waiting for at least one of the indicated users.
65 produces output, then the
69 to print out the last date mail was read, if this can
76 will only check the default system mail drops.
79 will evaluate the environment variable
83 (in this order) first and, if they are set and non-empty,
84 checks that mail drop instead of the system default mail drop.
89 .ta \w'%etcdir%/ExtraBigFileName 'u
90 ^$HOME/.mmh/profile~^The user profile
91 ^%mailspool%/$USER~^Location of mail drop
94 .SH "PROFILE COMPONENTS"
98 .ta \w'ExtraBigName 'u
99 ^MailDrop~^Supersedes the default mail drop location
105 .ta \w'ExtraBigName 'u
106 ^MAILDROP~^Highest priority alternative mail drop location
115 .RB ` user "' defaults to the current user"
117 .RB ` "\-notify\ all" '