📄 intro.me
字号:
.ppIt is somewhat harder to integrate a new channel\**.(f\**The MMDF equivalent of a.i sendmail.q mailer..)finto MMDF.In particular,MMDF must know the location and formatof host tables for all channels,and the channel must speak a special protocol.This allows MMDF to do additional verification(such as verifying host names)at submission time..ppMMDF strictly separates the submission and delivery phases.Although.i sendmailhas the concept of each of these stages,they are integrated into one program,whereas in MMDF they are split into two programs..sh 2 "Message Processing Module".ppThe Message Processing Module (MPM)discussed by Postel [Postel79b]matches.i sendmailclosely in terms of its basic architecture.However,like MMDF,the MPM includes the network interface softwareas part of its domain..ppMPM also postulates a duplex channel to the receiver,as does MMDF,thus allowing simpler handling of errorsby the mailerthan is possible in.i sendmail .When a message queued by.i sendmailis sent,any errors must be returned to the senderby the mailer itself.Both MPM and MMDF mailerscan return an immediate error response,and a single error processor can create an appropriate response..ppMPM prefers passing the message as a structured object,with type-length-value tuples\**..(f\**This is similar to the NBS standard..)fSuch a convention requires a much higher degree of cooperationbetween mailers than is required by.i sendmail .MPM also assumes a universally agreed upon internet name space(with each address in the form of a net-host-user tuple),which.i sendmaildoes not..sh 1 "EVALUATIONS AND FUTURE PLANS".pp.i Sendmailis designed to work in a nonhomogeneous environment.Every attempt is made to avoid imposing unnecessary constraintson the underlying mailers.This goal has driven much of the design.One of the major problemshas been the lack of a uniform address space,as postulated in [Postel79a]and [Postel79b]..ppA nonuniform address space implies that a path will be specifiedin all addresses,either explicitly (as part of the address)or implicitly(as with implied forwarding to gateways).This restriction has the unpleasant effect of making replying to messagesexceedingly difficult,since there is no one.q addressfor any person,but only a way to get there from wherever you are..ppInterfacing to mail programsthat were not initially intended to be appliedin an internet environmenthas been amazingly successful,and has reduced the job to a manageable task..pp.i Sendmailhas knowledge of a few difficult environmentsbuilt in.It generates ARPANET FTP/SMTP compatible error messages(prepended with three-digit numbers[Neigus73, Postel74, Postel82])as necessary,optionally generates UNIX-style.q Fromlines on the front of messages for some mailers,and knows how to parse the same lines on input.Also,error handling has an option customized for BerkNet..ppThe decision to avoid doing any type of delivery where possible(even, or perhaps especially, local delivery)has turned out to be a good idea.Even with local delivery,there are issues of the location of the mailbox,the format of the mailbox,the locking protocol used,etc.,that are best decided by other programs.One surprisingly major annoyance in many internet mailersis that the location and format of local mail is built in.The feeling seems to be that local mail is so commonthat it should be efficient.This feeling is not born out byour experience;on the contrary,the location and format of mailboxes seems to vary widelyfrom system to system..ppThe ability to automatically generate a response to incoming mail(by forwarding mail to a program)seems useful(\c.q "I am on vacation until late August...." )but can create problemssuch as forwarding loops(two people on vacation whose programs send notes back and forth,for instance)if these programs are not well written.A program could be written to do standard tasks correctly,but this would solve the general case..ppIt might be desirable to implement some form of load limiting.I am unaware of any mail system that addresses this problem,nor am I aware of any reasonable solution at this time..ppThe configuration file is currently practically inscrutable;considerable convenience could be realizedwith a higher-level format..ppIt seems clear that common protocols will be changing soonto accommodate changing requirements and environments.These changes will include modifications to the message header(e.g., [NBS80])or to the body of the message itself(such as for multimedia messages[Postel80]).Experience indicates thatthese changes should be relatively trivial to integrateinto the existing system..ppIn tightly coupled environments,it would be nice to have a name serversuch as Grapvine[Birrell82]integrated into the mail system.This would allow a site such as.q Berkeleyto appear as a single host,rather than as a collection of hosts,and would allow people to move transparently among machineswithout having to change their addresses.Such a facilitywould require an automatically updated databaseand some method of resolving conflicts.Ideally this would be effective even withoutall hosts being undera single management.However,it is not clear whether this featureshould be integrated into thealiasing facilityor should be considered a.q "value added"feature outside.i sendmailitself..ppAs a more interesting case,the CSNET name server[Solomon81]provides an facility that goes beyond a singletightly-coupled environment.Such a facility would normally exist outside of.i sendmailhowever..sh 0 "ACKNOWLEDGEMENTS".ppThanks are due to Kurt Shoens for his continual cheerfulassistance and good advice,Bill Joy for pointing me in the correct direction(over and over),and Mark Horton for more advice,prodding,and many of the good ideas.Kurt and Eric Schmidt are to be creditedfor using.i delivermailas a server for their programs(\c.i Mailand BerkNet respectively)before any sane person should have,and making the necessary modificationspromptly and happily.Eric gave me considerable advice about the perilsof network software which saved me an unknownamount of work and grief.Mark did the original implementation of the DBM versionof aliasing, installed the VFORK code,wrote the current version of.i rmail ,and was the person who really convinced meto put the work into.i delivermailto turn it into.i sendmail .Kurt deserves accolades for using.i sendmailwhen I was myself afraid to take the risk;how a person can continue to be so enthusiasticin the face of so much bitter reality is beyond me..ppKurt,Mark,Kirk McKusick,Marvin Solomon,and many others have reviewed this paper,giving considerable useful advice..ppSpecial thanks are reserved for Mike Stonebraker at Berkeleyand Bob Epstein at Britton-Lee,who both knowingly allowed me to put so much work into thisprojectwhen there were so many other things I really shouldhave been working on..+c.ceREFERENCES.nr ii 1.5i.ip [Birrell82]Birrell, A. D.,Levin, R.,Needham, R. M.,andSchroeder, M. D.,.q "Grapevine: An Exercise in Distributed Computing."In.ulComm. A.C.M. 25,4,April 82..ip [Borden79]Borden, S.,Gaines, R. S.,andShapiro, N. Z.,.ulThe MH Message Handling System: Users' Manual.R-2367-PAF.Rand Corporation.October 1979..ip [Crocker77a]Crocker, D. H.,Vittal, J. J.,Pogran, K. T.,andHenderson, D. A. Jr.,.ulStandard for the Format of ARPA Network Text Messages.RFC 733,NIC 41952.In [Feinler78].November 1977..ip [Crocker77b]Crocker, D. H.,.ulFramework and Functions of the MS Personal Message System.R-2134-ARPA,Rand Corporation,Santa Monica, California.1977..ip [Crocker79]Crocker, D. H.,Szurkowski, E. S.,andFarber, D. J.,.ulAn Internetwork Memo Distribution Facility \*- MMDF.6th Data Communication Symposium,Asilomar.November 1979..ip [Crocker82]Crocker, D. H.,.ulStandard for the Format of Arpa Internet Text Messages.RFC 822.Network Information Center,SRI International,Menlo Park, California.August 1982..ip [Metcalfe76]Metcalfe, R.,andBoggs, D.,.q "Ethernet: Distributed Packet Switching for Local Computer Networks" ,.ulCommunications of the ACM 19,7.July 1976..ip [Feinler78]Feinler, E.,andPostel, J.(eds.),.ulARPANET Protocol Handbook.NIC 7104,Network Information Center,SRI International,Menlo Park, California.1978..ip [NBS80]National Bureau of Standards,.ulSpecification of a Draft Message Format Standard.Report No. ICST/CBOS 80-2.October 1980..ip [Neigus73]Neigus, N.,.ulFile Transfer Protocol for the ARPA Network.RFC 542, NIC 17759.In [Feinler78].August, 1973..ip [Nowitz78a]Nowitz, D. A.,andLesk, M. E.,.ulA Dial-Up Network of UNIX Systems.Bell Laboratories.InUNIX Programmer's Manual, Seventh Edition,Volume 2.August, 1978..ip [Nowitz78b]Nowitz, D. A.,.ulUucp Implementation Description.Bell Laboratories.InUNIX Programmer's Manual, Seventh Edition,Volume 2.October, 1978..ip [Postel74]Postel, J.,andNeigus, N.,Revised FTP Reply Codes.RFC 640, NIC 30843.In [Feinler78].June, 1974..ip [Postel77]Postel, J.,.ulMail Protocol.NIC 29588.In [Feinler78].November 1977..ip [Postel79a]Postel, J.,.ulInternet Message Protocol.RFC 753,IEN 85.Network Information Center,SRI International,Menlo Park, California.March 1979..ip [Postel79b]Postel, J. B.,.ulAn Internetwork Message Structure.In.ulProceedings of the Sixth Data Communications Symposium,IEEE.New York.November 1979..ip [Postel80]Postel, J. B.,.ulA Structured Format for Transmission of Multi-Media Documents.RFC 767.Network Information Center,SRI International,Menlo Park, California.August 1980..ip [Postel82]Postel, J. B.,.ulSimple Mail Transfer Protocol.RFC821(obsoleting RFC788).Network Information Center,SRI International,Menlo Park, California.August 1982..ip [Schmidt79]Schmidt, E.,.ulAn Introduction to the Berkeley Network.University of California, Berkeley California.1979..ip [Shoens79]Shoens, K.,.ulMail Reference Manual.University of California, Berkeley.In UNIX Programmer's Manual,Seventh Edition,Volume 2C.December 1979..ip [Sluizer81]Sluizer, S.,andPostel, J. B.,.ulMail Transfer Protocol.RFC 780.Network Information Center,SRI International,Menlo Park, California.May 1981..ip [Solomon81]Solomon, M., Landweber, L., and Neuhengen, D.,.q "The Design of the CSNET Name Server."CS-DN-2,University of Wisconsin, Madison.November 1981..ip [Su82]Su, Zaw-Sing,andPostel, Jon,.ulThe Domain Naming Convention for Internet User Applications.RFC819.Network Information Center,SRI International,Menlo Park, California.August 1982..ip [UNIX83].ulThe UNIX Programmer's Manual, Seventh Edition,Virtual VAX-11 Version,Volume 1.Bell Laboratories,modified by the University of California,Berkeley, California.March, 1983.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -