📄 rfc850.txt
字号:
"cbosgd!mhuxj!mhuxt", "cbosgd, mhuxj, mhuxt", and"@cbosgd.uucp,@mhuxj.uucp,@mhuxt.uucp" and even"teklabs, zehntel, sri-unix@cca!decvax" are validentries. (The latter path indicates a message that passedthrough decvax, cca, sri-unix, zehntel, and teklabs, inthat order.) Additional names should be added from theleft, for example, the most recently added name in thethird example was "teklabs". Letters, digits, periodsand hyphens are considered part of site names; otherpunctuation, including blanks, are considered separators.Normally, the rightmost name will be the name of theoriginating system. However, it is also permissible toinclude an extra entry on the right, which is the name ofthe sender. This is for upward compatibility with oldersystem.The Path line is not used for replies, and should not betaken as a mailing address. It is intended to show theroute the message travelled to reach the local site.There are several uses for this information. One is tomonitor USENET routing for performance reasons. Anotheris to establish a path to reach new sites. Perhaps themost important is to cut down on redundant USENET trafficby failing to forward a message to a site that is known tohave already received it. In particular, when site Asends an article to site B, the Path line includes "A",so that site B will not immediately send the article backto site A. The site name each site uses to identifyitself should be the same as the name by which itsneighbors know it, in order to make this optimizationpossible.A site adds its own name to the front of a path when itreceives a message from another site. Thus, if a messagewith path A!X!Y!Z is passed from site A to site B, B willadd its own name to the path when it receives the messagefrom A, e.g., B!A!X!Y!Z. If B then passes the message onto C, the message sent to C will contain the pathB!A!X!Y!Z, and when C receives it, C will change it toC!B!A!X!Y!Z.Special upward compatibility note: Since the From, Sender,and Reply-To lines are in internet format, and since manyUSENET sites do not yet have mailers capable ofunderstanding internet format, it would break the replycapability to completely sever the connection between thePath header and the reply function. Thus, sites arerequired to continue to keep the Path line in a workingreply format as much as possible, until January 1, 1984.It is recognized that the path is not always a valid replystring in older implementations, and no requirement to fixthis problem is placed on implementations. However, the - 7 -existing convention of placing the site name and an "!" at the front of the path, and of starting the path withthe site name, an "!", and the user name, should bemaintained at least until 1984.2.2 Optional Headers2.2.1 Reply-To This line has the same format as From.If present, mailed replies to the author should be sent tothe name given here. Otherwise, replies are mailed to thename on the From line. (This does not prevent additionalcopies from being sent to recipients named by the replier,or on To or Cc lines.) The full name may be optionallygiven, in parentheses, as in the From line.2.2.2 Sender This field is present only if the submittermanually enters a From line. It is intended to record theentity responsible for submitting the article to thenetwork, and should be verified by the software at thesubmitting site.For example, if John Smith is visiting CCA and wishes topost an article to the network, using friend Sarah Jonesaccount, the message might read From: smith@ucbvax.uucp (John Smith) Sender: jones@cca.arpa (Sarah Jones)If a gateway program enters a mail message into thenetwork at site sri-unix, the lines might read From: John.Doe@CMU-CS-A.ARPA Sender: network@sri-unix.ARPAThe primary purpose of this field is to be able to trackdown articles to determine how they were entered into thenetwork. The full name may be optionally given, inparentheses, as in the From line.2.2.3 Followup-To This line has the same format asNewsgroups. If present, follow-up articles are to beposted to the newsgroup(s) listed here. If this line isnot present, followups are posted to the newsgroup(s)listed in the Newsgroups line, except that followups to"net.general" should instead go to "net.followup".2.2.4 Date-Received This line (formerly "Received") isin a legal USENET date format. It records the date andtime that the article was first received on the localsystem. If this line is present in an article beingtransmitted from one host to another, the receiving hostshould ignore it and replace it with the current date.Since this field is intended for local use only, no siteis required to support it. However, no site should passthis field on to another site unchanged. - 8 -2.2.5 Expires This line, if present, is in a legalUSENET date format. It specifies a suggested expirationdate for the article. If not present, the local defaultexpiration date is used.This field is intended to be used to clean up articleswith a limited usefulness, or to keep important articlesaround for longer than usual. For example, a messageannouncing an upcoming seminar could have an expirationdate the day after the seminar, since the message is notuseful after the seminar is over. Since local sites havelocal policies for expiration of news (depending onavailable disk space, for instance), users are discouragedfrom providing expiration dates for articles unless thereis a natural expiration date associated with the topic.System software should almost never provide a defaultExpires line. Leave it out and allow local policies to beused unless there is a good reason not to.2.2.6 References This field lists the message ID's ofany articles prompting the submission of this article. Itis required for all follow-up articles, and forbidden whena new subject is raised. Implementations should provide afollow-up command, which allows a user to post a follow-uparticle. This command should generate a Subject linewhich is the same as the original article, except that ifthe original subject does not begin with "Re: " or "re: ",the four characters "Re: " are inserted before thesubject. If there is no References line on the originalheader, the References line should contain the message IDof the original article (including the angle brackets).If the original article does have a References line, thefollowup article should have a References line containingthe text of the original References line, a blank, and themessage ID of the original article.The purpose of the References header is to allow articlesto be grouped into conversations by the user interfaceprogram. This allows conversations within a newsgroup tobe kept together, and potentially users might shut offentire conversations without unsubscribing to a newsgroup.User interfaces may not make use of this header, but allautomatically generated followups should generate theReferences line for the benefit of systems that do use it,and manually generated followups (e.g. typed in well afterthe original article has been printed by the machine)should be encouraged to include them as well.2.2.7 Control If an article contains a Control line, thearticle is a control message. Control messages are usedfor communication among USENET host machines, not to beread by users. Control messages are distributed by thesame newsgroup mechanism as ordinary messages. The bodyof the Control header line is the message to the host. - 9 -For upward compatibility, messages that match thenewsgroup pattern "all.all.ctl" should also beinterpreted as control messages. If no Control: header ispresent on such messages, the subject is used as thecontrol message. However, messages on newsgroups matchingthis pattern do not conform to this standard.2.2.8 Distribution This line is used to alter thedistribution scope of the message. It has the same formatas the Newsgroups line. User subscriptions are stillcontrolled by Newsgroups, but the message is sent to allsystems subscribing to the newsgroups on the Distributionline instead of the Newsgroups line. Thus, a car for salein New Jersey might have headers including Newsgroups: net.auto,net.wanted Distribution: nj.allso that it would only go to persons subscribing tonet.auto or net.wanted within New Jersey. The intent ofthis header is to further restrict the distribution of anewsgroup, not to increase it. A local newsgroup, such asnj.crazy-eddie, will probably not be propagated by sitesoutside New Jersey that do not show such a newsgroup asvalid. Wildcards in newsgroup names in the Distributionline are allowed. Followup articles should default to thesame Distribution line as the original article, but theuser can change it to a more limited one, or escalate thedistribution if it was originally restricted and a morewidely distributed reply is appropriate.2.2.9 Organization The text of this line is a shortphrase describing the organization to which the senderbelongs, or to which the machine belongs. The intent ofthis line is to help identify the person posting themessage, since site names are often cryptic enough to makeit hard to recognize the organization by the electronicaddress.3. Control MessagesThis section lists the control messages currently defined.The body of the Control header is the control message.Messages are a sequence of zero or more words, separatedby white space (blanks or tabs). The first word is thename of the control message, remaining words areparameters to the message. The remainder of the headerand the body of the message are also potential parameters;for example, the From line might suggest an address towhich a response is to be mailed. - 10 -Implementors and administrators may choose to allowcontrol messages to be automatically carried out, or toqueue them for manual processing. However, manuallyprocessed messages should be dealt with promptly.3.1 Cancel cancel <message ID>If an article with the given message ID is present on thelocal system, the article is cancelled. This mechanismallows a user to cancel an article after the article hasbeen distributed over the network.Only the author of the article or the local super user isallowed to use this message. The verified sender of amessage is the Sender line, or if no Sender line ispresent, the From line. The verified sender of the cancelmessage must be the same as either the Sender or Fromfield of the original message. A verified sender in thecancel message is allowed to match an unverified From inthe original message.3.2 Ihave/Sendme ihave <message ID list> <remotesys> sendme <message ID list> <remotesys>This message is part of the "ihave/sendme" protocol,which allows one site (say "A") to tell another site("B") that a particular message has been received on A.Suppose that site A receives article "ucbvax.1234", andwishes to transmit the article to site B. A sends thecontrol message "ihave ucbvax.1234 A" to site B (byposting it to newsgroup "to.B"). B responds with thecontrol message "sendme ucbvax.1234 B" (on newsgroupto.A) if it has not already received the article. Uponreceiving the Sendme message, A sends the article to B.This protocol can be used to cut down on redundant trafficbetween sites. It is optional and should be used only ifthe particular situation makes it worthwhile. Frequently,the outcome is that, since most original messages areshort, and since there is a high overhead to start sendinga new message with UUCP, it costs as much to send theIhave as it would cost to send the article itself.One possible solution to this overhead problem is to batchrequests. Several message ID's may be announced orrequested in one message. If no message ID's are listedin the control message, the body of the message should bescanned for message ID's, one per line. - 11 -3.3 Newgroup newgroup <groupname>This control message creates a new newsgroup with the namegiven. Since no articles may be posted or forwarded untila newsgroup is created, this message is required before anewsgroup can be used. The body of the message isexpected to be a short paragraph describing the intendeduse of the newsgroup.3.4 Rmgroup rmgroup <groupname>This message removes a newsgroup with the given name.Since the newsgroup is removed from every site on thenetwork, this command should be used carefully by aresponsible administrator.3.5 Sendsys sendsys (no arguments)The "sys" file, listing all neighbors and whichnewsgroups are sent to each neighbor, will be mailed tothe author of the control message (Reply-to, if present,otherwise From). This information is considered publicinformation, and it is a requirement of membership inUSENET that this information be provided on request,either automatically in response to this control message,or manually, by mailing the requested information to theauthor of the message. This information is used to keepthe map of USENET up to date, and to determine wherenetnews is sent.The format of the file mailed back to the author should bethe same as that of the "sys" file. This format has oneline per neighboring site (plus one line for the localsite), containing four colon separated fields. The firstfield has the site name of the neighbor, the second fieldhas a newsgroup pattern describing the newsgroups sent tothe neighbor. The third and fourth fields are not definedby this standard. A sample response: From cbosgd!mark Sun Mar 27 20:39:37 1983 Subject: response to your sendsys request To: mark@cbosgd.UUCP - 12 -
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -