docs/diploma

annotate thesis/tex/1-Introduction.tex @ 64:997870769e54

wrote about postfix, exim, masqmail; rewrote section about types of MTAs (unfinished)
author meillo@marmaro.de
date Sun, 19 Oct 2008 18:00:01 +0200
parents 56fd50f9bbf3
children 49b6b611c3d6
rev   line source
meillo@26 1 \chapter{Introduction}
meillo@42 2 \label{chap:introduction}
meillo@26 3
meillo@26 4 \section{History of electronic mail}
meillo@30 5 %TODO: have a quote from Bell Labs about email here
meillo@30 6 %FIXME: add references to text
meillo@27 7
meillo@55 8 Electronic mail\index{electronic mail} (short: \name{email}) is a basic concept in \unix.
meillo@47 9 On \unix\ machines, a lot of information is distributed by \name{system mail}, which is email sent by the operating system.
meillo@47 10 Beside that, email is the common communication system between humans working on computers.
meillo@27 11
meillo@55 12 The \unix\ operating system supports email through the \name{mail user agent} (\NAME{MUA}) \name{/bin/mail}.
meillo@27 13
meillo@55 14 As generally known, development of \unix\ was not only made in the \name{Bell Labratories} of \NAME{AT\&T}.
meillo@55 15 The \name{Univerity of California at Berkeley} worked on their version of a \unix\ operating system, too.
meillo@55 16 It is refered to as \NAME{UCB} \unix, or \name{Berkeley} \unix\index{Berkeley Unix}.
meillo@27 17
meillo@55 18 The few features of \name{/bin/mail} lead to a second \NAME{MUA} from Berkeley: \name{Mail} (with a capital `M').
meillo@55 19 Later, the superior functionality of \name{Mail} went back to \name{Bell Labs} and into the program \name{mailx}, the successor of \name{/bin/mail}.
meillo@55 20 The different programs for handling mail are a good example for the problem of standardization of \unix.
meillo@27 21
meillo@55 22 Nowadays, \name{mailx} and \name{Mail} are quite equivalent and \name{/bin/mail} is linked to either of them---whichever is installed.
meillo@55 23
meillo@55 24 For transporting mail in between two systems, the \NAME{UUCP} program and protocol suite (for ``\unix\ to \unix\ copy'') was invented at \name{Bell Labs}.
meillo@55 25 Berkeley however had an own creation called \name{Berknet} in use. %FIXME: why? license issues? closed source?
meillo@55 26 Further more there was a third important network type: the \NAME{ARPAnet}, based on the \name{transmission control protocol} (\NAME{TCP}). %FIXME: where did it came from?
meillo@30 27
meillo@47 28 Each of the three network types could transfer email between different machines.
meillo@47 29 The file transfer itself was made using \NAME{FTP}, but the higher layered logic of the transfer was different in each.
meillo@47 30 For example was the addressing schema not the same: \NAME{UUCP} used a flat-style schema, while \NAME{ARPAnet} was hierachical.
meillo@30 31
meillo@47 32 Mail transport from one machine using one kind of network to a second machine using another kind was a problem.
meillo@47 33 This showed up at Berkeley where some departments of the university had switched to \NAME{ARPAnet}, and some to \NAME{UUCP}, while the rest was \name{Berknet}.
meillo@30 34
meillo@47 35 It was around 1982, when Eric Allman, then a student at Berkeley, wrote \name{delivermail}.
meillo@47 36 Its purpose was to transform email from one network to another.
meillo@47 37 \name{delivermail} like its successor, the more flexible \sendmail, intermediated between the different networks.
meillo@47 38 They were able to transform email messages from any network to any other.
meillo@30 39
meillo@47 40 Todays email structure is basicly the same as then.
meillo@47 41 The major difference is the uniformity of the underlying network, which is nearly always the \NAME{ARPAnet}-based \name{Internet}.
meillo@47 42 Most other differences are organized as extensions to the old model of electronic mail.
meillo@30 43
meillo@30 44 More information about electronic mail and its history can be found at:
meillo@30 45 %FIXME: add books and websites here
meillo@30 46
meillo@57 47 % http://www.helpdesk.umd.edu/documents/4/4804/
meillo@57 48 % http://www.networkcomputing.com/unixworld/tutorial/810.txt.html
meillo@57 49 % http://www.livinginternet.com/i/iw_unix_war.htm
meillo@57 50 % http://www.nobell.org/~gjm/about/ihnp4.html
meillo@55 51 % http://en.wikipedia.org/wiki/E-mail
meillo@55 52 % http://en.wikipedia.org/wiki/UUCP
meillo@55 53 % http://en.wikipedia.org/wiki/ARPAnet
meillo@55 54 % http://en.wikipedia.org/wiki/History_of_the_Internet
meillo@55 55 % http://www.multicians.org/thvv/mail-history.html
meillo@55 56 % http://openmap.bbn.com/~tomlinso/ray/firstemailframe.html
meillo@55 57 % http://www.livinginternet.com/e/ei.htm
meillo@55 58 % http://www.cs.ucsb.edu/~almeroth/classes/F04.176A/homework1_good_papers/jay-akkad.html
meillo@27 59
meillo@26 60
meillo@26 61 \section{Transporting mail}
meillo@31 62 %TODO: include definitions from others here (cites)
meillo@31 63 %TODO: when was the term ``mail transfer agent'' established?
meillo@47 64 The basic job of a \name{mail transfer agent} (or \index{mail transport agent|see{mail transfer agent}}\name{mail transport agent}, short \NAME{MTA}) is to transfer/transport \name{electronic mail} (short \name{email}) from one host to another.
meillo@27 65
meillo@55 66 Here are definitions from various sources:
meillo@27 67
meillo@55 68 \begin{quotation}
meillo@55 69 A mail transfer agent (MTA) is a highly specialized program that delivers mail and transports it between machines, like the post office. Usually there is only one MTA on a machine. The sendmail program is an MTA.
meillo@55 70 \cite{sendmail}
meillo@55 71 \end{quotation}
meillo@55 72
meillo@55 73 \begin{quotation}
meillo@55 74 A mail transfer agent (MTA) (also called a mail transport agent, message transfer agent, or smtpd (short for SMTP daemon)), is a computer program or software agent that transfers electronic mail messages from one computer to another.
meillo@55 75 \citeweb{wikipedia:mta}
meillo@55 76 \end{quotation}
meillo@55 77
meillo@55 78 \begin{quotation}
meillo@55 79 mail server (also known as a mail transfer agent or MTA, a mail transport agent, a mail router or an Internet mailer) is an application that receives incoming e-mail from local users (people within the same domain) and remote senders and forwards outgoing e-mail for delivery.
meillo@55 80 \citeweb{website:techtarget}
meillo@55 81 \end{quotation}
meillo@55 82
meillo@55 83 \begin{quotation}
meillo@55 84 Message Transfer Agent - (MTA, Mail Transfer Agent) Any program responsible for delivering e-mail messages. Upon receiving a message from a Mail User Agent or another MTA, often by SMTP over the Internet, it stores it temporarily locally and analyses the recipients and delivers it to any local addressees and/or forwards it to other remote MTAs (routing) for delivery to remote recipients. In either case it may edit and/or add to the message headers.
meillo@55 85
meillo@55 86 The most widely used MTA for Unix is sendmail, which communicates using SMTP.
meillo@55 87
meillo@55 88 RFC 2821 (SMTP) expands MTA as ``Mail Transfer Agent'' though this is less common. Alternatives with ``Transport'' are also seen but less correct.
meillo@55 89 \citeweb{website:thefreedictionary}
meillo@55 90 \end{quotation}
meillo@55 91
meillo@55 92 \begin{quotation}
meillo@55 93 mail transfer agent (MTA) The program responsible for delivering e-mail messages. Upon receiving a message from a mail user agent or another MTA it stores it temporarily locally and analyses the recipients and either delivers it (local addressee) or forwards it to another MTA. In either case it may edit and/or add to the message headers. A widely used MTA for Unix is sendmail.
meillo@55 94 \citeweb{website:faqs}
meillo@55 95 \end{quotation}
meillo@55 96
meillo@55 97 \begin{quotation}
meillo@55 98 Mail Transfer Agent (MTA): The means by which mail messages are transferred between machines over the Internet.
meillo@55 99 \citeweb{website:freeserve.co.uk}
meillo@55 100 \end{quotation}
meillo@26 101
meillo@30 102
meillo@34 103 \section{\sendmail}
meillo@42 104 \label{sec:sendmail}
meillo@31 105 \name{sendmail} is the de facto standard for \name{mail transfer agents}.
meillo@27 106
meillo@27 107 % FIXME: is that true?
meillo@27 108 It was the first \NAME{MTA} and had no real alternative for a long time.
meillo@27 109
meillo@55 110 Most other existing substitutes (on \unix\ systems), which are mainly \name{postfix}, \name{exim}, \name{qmail} and the here regarded \name{masqmail}, mimic \name{sendmail}'s interface.
meillo@47 111 Especially, they all create a symbolic link named ``sendmail'' pointing to their own executable.
meillo@55 112 This is because a lot of programs assume there is an executable called ``sendmail'' on every computer system existing.
meillo@27 113
meillo@55 114 Besides being the ``standard'', \name{sendmail} probably is the most scalable and powerful solution for transfering emails and definately the most flexible one.
meillo@27 115
meillo@26 116
meillo@30 117
meillo@26 118 \section{(a look at Windows)}
meillo@26 119