inc.1mh

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

1MH
435
字号
.TH inc 1mh.SH Nameinc \- incorporate new mail.SH Syntax.B inc[.I +folder] [.I options].\".\".\".\".\".\" ***COMMENTED OUT.\" .SH Arguments.\" .IP \fI+folder\fR 10.\" The folder into which .\" .PN inc.\" places the mail it incorporates..\" If no .\" .I +folder.\" argument is given, mail is incorporated into your .\" .PN +inbox.\" folder..\" ***END OF COMMENTS.\".\".\".\".\".SH Description.NXR "inc command".NXR "incorporating mail"Use.PN incto incorporate mail from yourincoming maildrop into a folder..\".\" ***Info from old Arguments section.\".PPNormally, .PN incincorporates new mail into your .PN +inboxfolder.If you supply a .I +folderargument, mail is incorporated into the named folder instead of your.PN +inbox ..\" .\" ***End of Arguments stuff.\".PPThe new messages being incorporated are numbered sequentially starting with the next highest available number in the folder.If the specified (or default) folder does not exist,.PN incwill ask you whether you want to create it. As the messages are processed, a .PN scanlisting of the new mail is produced.  See.MS scan 1mhfor details of the listing produced..PPThe folder into which messages are being incorporated will become the current folder..PPIf your .PN \&.mh_profile contains a \f(CWMsg\-Protect:\fRentry, the mail system will use this as the protection on the newly created messages;otherwise, it will use the default of 0600.This means that messages created will have readand write permission for the user only.During all operations on messages, the mail systemwill preserve this initially assigned protection for each message.You can also use.MS chmod 1to set a different protection on an individual message;in this case the mail system will preserve the new protection..PPNote that.PN incwill incorporate improperly formatted .\" SMTP messages into your folder,inserting a blank line prior to the offendingcomponent and printing a comment identifying the bad message..\" Invalid X.400 messages are moved to the Undeliverable Queue .\" of the X.400 MTA, and an explanatory message replaces them..\".PPIf the entry \f(CWUnseen-Sequence\fPis present in your profile,then .PN incwill add each of the newly incorporated messages to eachsequence named by the profile entry.This is similar to the \f(CWPrevious-Sequence\fR.Rprofile entry supported by all MH commands which take .I msg.Ror .I msgsarguments.  Note that .PN incwill not zero each sequence prior to adding messages..PPIf the environment variable \f(CW$MAILDROP\fR is set,then.PN incuses it as the location of your maildrop instead of thedefault.If this variable is not set,then.PN incwill consult the profile entry\f(CWMaildrop\fR.Rfor this information.If the value found is not absolute,then it is interpreted relative to your Mail directory,which is usually.PN $HOME/Mail .If the value is not found,then.PN inc.Rwill look in the standard system location for your maildrop.The .B \-file .Roption will override all of these..\".\".\".\".SH Options.IP "\-audit \fIaudit-file\fR" 10.PD 0.IP \-noaudit 10.PDKeeps a record of all new mail that is incorporated.The.PN incplaces a .PN scan line in the named audit filefor each message it incorporates.This is useful for keeping track of the volume and source of incomingmail..IP This option is often set up in the .PN \&.mh_profile file.See.MS mh_profile 5mhfor more information on how to add entries to the file.If this option is added to the .PN \&.mh_profile ,it can be overridden using the .B \-noaudit option at the command line..\".\".IP \-changecur 10.PD 0.IP \-nochangecur 10.PDMakes the first new message the current message.This is the default operation of.PN inc .If you want the current message to remain as it was, use the.B \-nochangecuroption..\".\".IP \-file\ \fIname\fRIncorporates mail from a named file. This is usually a file other than your maildrop..\".\" ***COMMENTED OUT.igIf you specify a .B \-fileoption, .PN incwill look in the named file whether or not you have specified the.B \-source\ fileoption....\" ***END OF COMMENTS.\"Note that the mail system will not zero the named fileunless the.B \-truncateswitch is given..\".\".IP \-form\ \fIformatfile\fRControls the format of the display produced.The output of .PN incis formatted according to the instructions in the named file.The file must be an mhl format file; see.MS mh-format 5mhfor more information..\".\".IP \-format\ \fIstring\fRControls the format of the display produced.The output of.PN incis formatted according to the instructionsgiven by the string supplied.This must be a standard format string; see.MS mh-format 5mhfor more information.If the string contains blank spaces, the whole string must be enclosed in double quotes..\".\".IP \-helpPrints list of the valid options for this command..\".\".\".\" ***COMMENTED OUT.ig.IP \-rpop 10.PD 0.IP \-norpop 10.PDSpecifies whether X.400 mail should be fetched over a trusted or non-trusted link.If you use the .B \-source\ x400option, the incoming X.400 mailcan be carried out over a trusted or a non-trusted link.In the non-trusted case, the mail system will prompt youto supply a password.You can specify a trusted link by using the.B \-rpopoption, or a non-trusted link by using\fB\-norpop\fR.The default is\fB\-rpop\fR....\" ***END OF COMMENTS.\".\".\".IP \-silent 10.PD 0.IP \-nosilent 10.PDDirects .PN incto be quiet and not ask any questionsat all.This is useful for putting .PN incin the background and going on to otherthings..\".\".\".\" ***COMMENTED OUT.ig.IP \-source\ \fIsource\fRRetrieves mail from specified sources only.The option recognizes two sources:.B \-source\ filespecifies the maildrop file;.B \-source\ x400specifies mail sent over the X.400 transport system.Both of these options are case-insensitive.You can specify one or more of these options with the same command. If you do not specify a.B \-sourceoption,.PN incwill use all known sources.So you will receive all incoming mail,whatever source it comes from....\" ***END OF COMMENTS.\".\".IP "\-source file"Specifies the source from which mail is retrieved.The only value allowed is \fBfile\fR,which is the standard ULTRIX mail system.Additional values are supported only for use with othermail systems..\".\".\".IP \-truncate.PD 0.IP \-notruncate.PDZeroes your maildrop file when mail is fetched from it.This is the default operation;your mail drop will be zeroed,unless the .B \-notruncateoption is given..\".\".IP \-widthControls the width of the display produced by .PN inc .The default is the width of the terminal;if no value is given,.PN incprints its display as wide as the screen allows..\".\".PPThe defaults for this command are:.IP.PN +folderdefaults to .PN +inbox.br.B \-noaudit.br.B \-changecur.br.\" .B \-format.\" defaults as described above.\" .br.\" .B \-rpop.\" .br.B \-nosilent.br.B \-truncateif the.B \-fileoption is not given, .B \-notruncateotherwise.br.B \-widthdefaults to the width of the terminal.\".\".\".\".SH RestrictionsFor this version of MH, the.B \-sourceoption only supports the value \fBfile\fR.Additional values are supported for use only withother mail systems..\".\".\".\".SH Examples.\".\" ***EXAMPLES COMMENTED OUT.igThe following example fetches incoming X.400 mail only:.EX% inc -source x400.EE.PPThe next example fetches incoming mail from your maildropas well as incoming X.400 mail.Note that by default .PN inc fetches mail from all sources that it knows about:.EX% inc -source file -source x400.EE...\" ***END OF COMMENTS.\".PPThe following example fetches incoming mail and places it in the folder .PN +not_read :.EX% inc +not_read.EE.\".\".\".\".SH Profile Components.TStab(+);l l.Path:+To determine your Mail directoryAlternate-Mailboxes:+To determine your mailboxesFolder-Protect:+To set mode when creating a new folderMaildrop:+To determine the location of your maildropMsg-Protect:+To set mode when creating a new message +and audit-fileUnseen-Sequence:+To name sequences denoting unseen messages.TE.\".\".\".\".SH Files.TP 10.PN $HOME/\&.mh_profileThe user profile..TP.PN /usr/lib/mh/mtstailorThe system customization file..TP.PN /usr/spool/mail/$USERThe user's maildrop..\".\".\".\".SH See Alsochmod(1), mhl(1mh), mhmail(1mh), scan(1mh), mh-mail(5mh), post(8mh)

⌨️ 快捷键说明

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