msgchk.1mh

来自「<B>Digital的Unix操作系统VAX 4.2源码</B>」· 1MH 代码 · 共 247 行

1MH
247
字号
.TH msgchk 1mh.SH Namemsgchk \- check for messages.SH Syntax.B msgchk[.B \-help] [.B \-nodate] [.B "\-notify \fIall|mail|nomail"] .\" [.\" .B \-[no]rpop.\" ] [.\" .B "\-source \fIsourcename".\" ] [.I "users ..."].\".\".\".\".\".\" ***COMMENTED OUT.\" .SH Arguments.\" .IP \fIusers 10.\" Name of the user or users whose maildrops you are checking..\" You can use .\" .PN msgchk.\" to check on the status of other users' maildrops .\" by specifying their user names.  .\" ***END OF COMMENTS.\".\".\".\".SH Description.NXR "msgchk command".NXR "messages" "checking for" The .PN msgchkprogram checks all known mail drops for mail that is waitingfor you.  It displays whether you have mail waiting to be read or not and shows the date that you last read your mail.  .\".\" ***Old Arguments info.\".PPYou can check other user's maildrops by specifying their usernames as the.I usersargument on the command line..\".\" ***End of old Arguments info.\".\".\".\".\".SH Options.IP \-help 10Prints a list of the valid options for this command..\".\".IP \-date 10.PD 0.IP \-nodate 10.PDPrints the date when you last read your mail.This is the default behavior of .PN msgchk .The.B \-nodateoption can be used of you do not want to print this date..\".\".IP \-notify "\fIall|mail|nomail" 10.PD 0.IP \-nonotify "\fIall|mail|nomail" 10.PDIndicates under what circumstances .PN msgchkshould produce a message.There are three legal values:\fBall\fR, \fBmail\fR, and \fBnomail\fR.The default is \fB\-notify all\fR, which reports the status of the maildrop regardless of whether it has mail in it or not.  The .B \-notify\ mailoption reports the status of the maildrop only if there is mail waiting.The .B \-notify\ nomailoption reports the status of the maildroponly if there is no mail in it..\".\".\".\" ***COMMENTED OUT.ig.IP \-rpop 10.PD 0.IP \-norpop 10.PDIndicates whether incoming mail should be carried overa trusted or non-trusted link.If you use the.B \-source\ x400option, the incoming X.400 mailcan be carried over a trusted or a non-trusted link.In the non-trusted case, the mail system promptsyou to supply a password.You can specify a trusted link by using the.B \-rpopoption, or a non-trusted link by using \fB\-norpop\fR..\".\".\".IP \-source\ \fIsourcenameSpecifies which sources .PN msgchkshould check for incoming mail.The option recognizes two arguments:.B \-source\ filechecks the maildrop; and.B \-source\ x400checks for incoming mail sent over the X.400 transport system.You can specify one or both of these options with the same command.In this case,.PN msgchkwill display a separate message for each option.If you do not specify a.B \-sourceoption,.PN msgchkwill check all known sources.So .PN msgchknotifies you of all incoming mail,whatever source it comes from....\" ***END OF COMMENTS.\".\".IP "\-source file"Specifies the source which are checked for mail.The only value allowed is \fBfile\fR,which is the user's maildrop.Additional values are supported only for use with othermail systems..\".\".\".\".\".\".\".\".\".\".\".SH Restrictions.PN msgchkdoes not understand the \f(CW$MAILDROP\fRenvironmental variable.If mail is fetched from a location other than .PN /usr/spool/mail/$USER ,.PN msgchkwill not be able to determine if new mail has arrived.However, .PN inccan still be used to fetch mail when it arrives..\" .\" This restriction applies only to the standard maildrop,.\" not to the X.400 maildrop..\".PPFor this version, the.B \-sourceoption only supports the value \fBfile\fR.Additional values are supported for use only withother mail systems..\".\".\".SH ExamplesThis example shows a user \f(CWSmith\fR checking his own maildrop:.EX% \f(CBmsgchk\f(CWSmith:   New file source mail waiting ; last read on Tue, 07 Jun 88 17:21:49 WET.EE.PPThe next example shows a user checking the maildrops of two otherlocal users on the same system, \f(CWRabb\fR and \f(CWJones\fR:.EX% \f(CBmsgchk Rabb Jones\f(CWRabb:   No file-source mail waiting ; last read on Tue, 07 Jun 13:22:25 WET Jones:   New file source mail waiting ; last read on Tue, 07 Jun 17:30:05 WET.EE.\".\" ***EXAMPLE COMMENTED OUT.ig.PPThe next example shows a user checking his maildrop,and also checking for new X.400 mail, by using the.B \-sourceoption:.EX% \f(CBmsgchk -source file -source x400\f(CWSmith:   No file-source mail waiting ; last read on Tue, 07 Jun 17:23:04 WET   New x400 source mail waiting ; last read on Tue, 07 Jun 17:27:59 WET.EE...\" ***END OF COMMENTS.\".\".\".\".SH Files.TP 10.PN $HOME/\&.mh_profileThe user profile..TP 10.PN /usr/lib/mh/mtstailorThe system customization file..TP 10.PN /usr/spool/mail/$USERThe user's maildrop..\".\".\".\".SH See Alsoinc(1mh)

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?