*** UNIX MANUAL PAGE BROWSER ***

A Nergahak database for man pages research.

Navigation

Directory Browser

1Browse 4.4BSD4.4BSD
1Browse Digital UNIXDigital UNIX 4.0e
1Browse FreeBSDFreeBSD 14.3
1Browse MINIXMINIX 3.4.0rc6-d5e4fc0
1Browse NetBSDNetBSD 10.1
1Browse OpenBSDOpenBSD 7.7
1Browse UNIX v7Version 7 UNIX
1Browse UNIX v10Version 10 UNIX

Manual Page Search

Manual Page Result

0 Command: msgchk | Section: 1 | Source: Digital UNIX | File: msgchk.1.gz
msgchk(1) General Commands Manual msgchk(1) NAME msgchk - check for messages (only available within the message handling system, mh) SYNOPSIS msgchk [ -help ] [ -nodate ] [ -notify all|mail|nomail ] [ users ... ] DESCRIPTION The msgchk program checks all known mail drops for mail that is waiting for you. It displays whether you have mail waiting to be read or not and shows the date that you last read your mail. You can check other user's maildrops by specifying their user names as the users argument on the command line. FLAGS -help Prints a list of the valid options for this command. -date -nodate Prints the date when you last read your mail. This is the default behavior of msgchk. The -nodate option can be used of you do not want to print this date. -notify all|mail|nomail -nonotify all|mail|nomail Indicates under what circumstances msgchk should produce a message. There are three legal values: all, mail, and no- mail. The default is -notify all, which reports the status of the maildrop regardless of whether it has mail in it or not. The -notify mail option reports the status of the mail- drop only if there is mail waiting. The -notify nomail op- tion reports the status of the maildrop only if there is no mail in it. -source file Specifies the source which are checked for mail. The only value allowed is file, which is the user's maildrop. Addi- tional values are supported only for use with other mail sys- tems. RESTRICTIONS msgchk does not understand the $MAILDROP environmental variable. If mail is fetched from a location other than /usr/spool/mail/$USER, ms- gchk will not be able to determine if new mail has arrived. However, inc can still be used to fetch mail when it arrives. For this version, the -source option only supports the value file. Ad- ditional values are supported for use only with other mail systems. EXAMPLES This example shows a user Smith checking his own maildrop: % msgchk Smith: New file source mail waiting ; last read on Tue, 07 Jun 1988 17:21:49 WET The next example shows a user checking the maildrops of two other local users on the same system, Rabb and Jones: % msgchk Rabb Jones Rabb: No file-source mail waiting ; last read on Tue, 07 Jun 1997 13:22:25 WET Jones: New file source mail waiting ; last read on Tue, 07 Jun 1997 17:30:05 WET FILES $HOME/.mh_profile The user profile. /usr/lib/mh/mtstailor The system customization file. /usr/spool/mail/$USER The user's maildrop. RELATED INFORMATION inc(1) delim off msgchk(1)

Navigation Options