docs/diploma

diff thesis/tex/1-Candidates.tex @ 76:5bd3f2118960

merge
author meillo@marmaro.de
date Tue, 04 Nov 2008 11:34:30 +0100
parents 177cf1937554
children eed87bfa622d
line diff
     1.1 --- a/thesis/tex/1-Candidates.tex	Tue Nov 04 11:33:15 2008 +0100
     1.2 +++ b/thesis/tex/1-Candidates.tex	Tue Nov 04 11:34:30 2008 +0100
     1.3 @@ -1,86 +1,83 @@
     1.4  \chapter{\unix\ \MTA{}s}
     1.5  
     1.6 -This chapter introduces a group of \mta{}s.
     1.7 -The selected group will be delimited against other groups of \MTA{}s, which are described as well.
     1.8 +After having read about the history of electronic mail and the basics of \mta{}s in the last chapter, this chapter introduces a group of \mta{}s. Among them, the already mentioned \sendmail. The selected group will be delimited against other groups of \MTA{}s, which are described as well.
     1.9  
    1.10 -The chosen programs will be presented to the reader in a short overview and with the most important facts.
    1.11 -The next chapter will show a comparison of these programs in several disciplines.
    1.12 +The chosen programs will be presented to the reader in a short overview and with the most important facts. The next chapter will show a comparison of these programs in several disciplines.
    1.13  
    1.14  
    1.15  \section{Types of \MTA{}s}
    1.16 -``Mail transfer agent'' is a term covering a variety of programs.
    1.17 -One thing is common to them: they transport email from one \emph{thing} to another.
    1.18 -These \emph{things} can be hosts, meaning independent machines, or protocols like \NAME{SMTP} and \NAME{UUCP}, between which mail is transfered.\footnote{\sendmail{}'s initial purpose was moving mail between \NAME{UUCP}, \name{Berknet} and \NAME{SMTP}.}
    1.19 +``Mail transfer agent'' is a term covering a variety of programs. One thing is common to them: they transfer email from one \emph{thing} to another. These \emph{things} can be hosts, meaning independent machines, or protocols like \NAME{SMTP} and \NAME{UUCP}, between which mail is transfered.\footnote{\sendmail{}'s initial purpose was moving mail between \NAME{UUCP}, \NAME{SMTP}, and \name{Berknet}.}
    1.20  
    1.21 -Beside this common property, \MTA{}s can be very different.
    1.22 -Some of them have \NAME{POP3} and/or \NAME{IMAP} servers included.
    1.23 -Some can fetch mails through these protocols.
    1.24 -Others have have every feature you can think of.
    1.25 -And maybe there are some that do nothing else, but transporting email.
    1.26 +Beside this common property, \MTA{}s can be very different. Some of them have \NAME{POP3} and/or \NAME{IMAP} servers included. Some can fetch mails through these protocols. Others have have all features you can think of. And maybe there are some that do nothing else but transporting email.
    1.27  
    1.28 -Here are groups of \mta{}s that will not be regarded in the following chapter.
    1.29 -% Prof: briefly discuss the border between small MTAs (sendmail, masqmail) and state-of-the-art mailservers (postfix) and groupware (notes, exchange): give usecases.
    1.30 +Following are groups of \mta{}s that will \emph{not} be regarded further.
    1.31  
    1.32  \subsection{Relay-only \MTA{}s}
    1.33 -This is the most simple kind of \MTA. They transfer mail only to defined \name{smart hosts}\footnote{\name{smart host}s are \MTA{}s that receives email and route it to the actual destination}. \name{Relay-only} \MTA{}s do not receive mail, they only send it.
    1.34 +\label{subsec:relay-only}
    1.35 +This is the most simple kind of \MTA. It transfers mail only to defined \name{smart hosts}\footnote{\name{smart host}s are \MTA{}s that receives email and route it to the actual destination}. \name{Relay-only} \MTA{}s do not receive mail from outside the system, and they do not deliver locally.
    1.36  
    1.37 -Most \MTA{}s can be configured to act as such a forwarder. But this is usually an additional functionality.
    1.38 +Most \MTA{}s can be configured to act as such a \name{forwarder}. But this is usually an additional functionality.
    1.39  
    1.40 -One would use such a program to give a system the possibility to send mail, without the need to do lots of configuration. In a local network, usually the clients are set up with such a forwarder, while there is one \name{mail server} that acts as a \name{smart host}. The ``dumb'' clients send mail only to this one \name{mail server} which does the ``real work''.
    1.41 +One would use such a program to give a system the possibility to send mail, without the need to do lots of configuration. In a local network, usually the clients are set up with a \name{relay-only} \MTA, while there is one \name{mail server} that acts as a \name{smart host}. The ``dumb'' clients send mail to this one \name{mail server} which does all the work.
    1.42  
    1.43  Examples for that group are: \name{nullmailer}, \name{ssmtp} and \name{esmtp}.
    1.44  
    1.45  
    1.46  \subsection{Groupware}
    1.47 -Normally the term ``groupware'' does not mean one single program, but a suite of programs. They are build up a framework which can be populated with various modules that provide actual funktionality. These modules including mail transfer, file storage, calendars, resource management, instant messaging and more.
    1.48 +Normally the term ``groupware'' does not mean one single program, but a suite of programs. They build a framework which is then populated with various modules that provide actual funktionality. Modules for mail transfer, file storage, calendars, resource management, instant messaging, etc., are commonly available.
    1.49  
    1.50 -One would use one of these program suites if the main work to do is not mail transfer, but providing communication and team working support for a group of people. The most common scenario are companies. They have \name{groupware} running to provide adequate services for their teams to work efficently. But home servers may provide \name{groupware} services for the family members also.
    1.51 +One would use one of these program suites if the main work to do is not mail transfer, but providing integrated communication facilities and team working support for a group of people. The most common scenario are companies. They have \name{groupware} running to provide adequate services for their teams to work efficently. But one may use \name{groupware} on the home server for his family members also.
    1.52  
    1.53 -Examples for this kind of programs are: \name{Lotus Notes}, \name{Microsoft Exchange}, \name{OpenGroupware.org} and \name{eGroupWare}.
    1.54 +Examples are: \name{Lotus Notes}, \name{Microsoft Exchange}, \name{OpenGroupware.org} and \name{eGroupWare}.
    1.55  
    1.56  
    1.57 -\subsection{More limitations}
    1.58 -Third, only \emph{sendmail-compatible} \MTA{}s will be regarded in the competition.
    1.59 -Hence all \MTA{}s not having a \emph{sendmail-compatible} interface or not offering it as a compatibility addon, will not be covered here. %FIXME: give an example for non-sendmail-compatible
    1.60 -The reason is the heavy reliance of \unix\ systems on the existance of a programs called \path{sendmail}.
    1.61 -This has historical reasons. See section \ref{sec:sendmail} for further information.
    1.62 +\subsection{``Real'' \MTA{}s}
    1.63 +There is a third type of \mta{}s in between the minimalistic \name{relay-only} \MTA{}s and the bloated \name{groupware}. Those programs may be named ``real \MTA{}s'', or ``proper \MTA{}s'', though there is no common name. They are what is meant with the term ``\mta''.
    1.64  
    1.65 -Further more, only programs with source code available are regarded. %FIXME: why
    1.66 +Common to them is their focus on transfering email, while being able to act as \name{smart host}. Their variety ranges from ones mostly restricted to mail transfer (\name{qmail}) to others already having interfaces for adding further mail processing modules (\name{postfix})---thus everything in between the other two groups.  %FIXME: are postfix and qmail good examples?
    1.67  
    1.68 +This group is of importance in this document. The programs selected for the comparison are ``real \MTA{}s''.
    1.69  
    1.70 -\subsection{The ones not regarded here}
    1.71 -The candidates for the competition in the next chapter are a subset of the \MTA{}s available.
    1.72 -Comparision between totally different programs (apart of one function) makes not much sense. %FIXME: better words
    1.73 -One would not use a program for a job it is not suited for.
    1.74 -Therefor \mta{}s that are rarely similar to \masqmail\ are not regarded.
    1.75 +
    1.76 +
    1.77 +\section{Programs to sort out}
    1.78 +
    1.79 +\name{Mail transfer agent}s can be segmented in various ways, apart from the classification above. Groups of programs wiproperties significantly different from \masqmail\ will be sorted out now.
    1.80 +
    1.81 +\subsection{Non-\emph{sendmail-compatible} \MTA{}s}
    1.82 +Due to \sendmail's significance---described in section \ref{sec:sendmail}---compatiblity interfaces for \sendmail\ are of importance for \unix\ \MTA{}s. Being not \emph{sendmail-compatible} does not need to matter for some fields of action, but makes the program ineligible for serving as a general purpose \MTA\ on \unix\ systems.
    1.83 +
    1.84 +Hence all \MTA{}s not having a \emph{sendmail-compatible} interface or not offering it as a compatibility addon, will not be covered here.
    1.85 +
    1.86 +An Examples here is \name{Apache James}.  %FIXME: check if correct
    1.87 +
    1.88 +
    1.89 +\subsection{Non-free software}
    1.90 +Only programs being \freesw\ are regarded, because comparing \freesw\ with proprietary or commercial software is not what typical users of programs like \masqmail\ do. Comparison with those non-free programs may be a point for large \freesw\ projects, trying to step into the business world. Small projects, mostly used by individuals at home, need to be compared against other projects of similar shape.
    1.91 +
    1.92 +The comparison should be seen from \masqmail's point of view, so non-free software is out of the way.
    1.93 +
    1.94  
    1.95  
    1.96  \section{The programs regarded}
    1.97 -The programs remaining are \emph{sendmail-compatible} ``smart'' \MTA{}s that do not offer masses of features unrelated to mail transport.
    1.98 +The programs remaining are \emph{sendmail-compatible} ``smart'' \MTA{}s that focus on mail transfer and are \freesw. One would not use a program for a job it is not suited for. Therefor only \mta{}s that are mostly similar to \masqmail\ are regarded.
    1.99  
   1.100 -For the comparision, five programs of this group are taken.
   1.101 -These are: \sendmail, \name{qmail}, \name{postfix}, \name{exim} and \masqmail.
   1.102 -The four alternatives to \masqmail\ are the most important representatives of the regarded group.
   1.103 -%TODO: what about having one program as ``outsider'' ...?
   1.104 +For the comparision, five programs are taken. These are: \sendmail, \name{qmail}, \name{postfix}, \name{exim}, and \masqmail. The four alternatives to \masqmail\ are the most important representatives of the regarded group. % FIXME: add ref that affirm that
   1.105  
   1.106 -Other, but not covered, group members are: %FIXME:  are these all MTAs of that group? why these and not others?
   1.107 -%TODO: what about `courier-mta'?
   1.108 +\name{courier-mta} is also a member of this group, being even closer to \name{groupware} than \name{postfix}. It is excluded here, because the \NAME{IMAP} and webmail parts of the mail server suite are more in focus than its \MTA. Common mail server setups even bundle \name{courier-imap} with \name{postfix}.
   1.109  
   1.110 -Here follows a small introduction to each of the five.
   1.111 +Other members are: \name{smail}, \name{zmailer}, \name{mmdf}, and more; they all are less important and rarely used.
   1.112 +
   1.113 +Following is a small introduction to each of the five programs chosen for comparision.
   1.114  
   1.115  \subsection{\sendmail}
   1.116 -\sendmail\ is the most popular \mta.
   1.117 -Since it was one of the first \MTA{}s and was shipped by many vendors of \unix\ systems.
   1.118 +\sendmail\ is the most popular \mta. Since it was one of the first \MTA{}s and was shipped by many vendors of \unix\ systems.
   1.119  
   1.120 -The program was written by Eric Allman as the successor of his program \name{delivermail}.
   1.121 -\sendmail\ was first released with \NAME{BSD} 4.1c in 1983.
   1.122 -Allman was not the only one working on the program.
   1.123 -Other people developed own versions of it and a variety of flavors came up, especially in the late eighties when Allman was inactive.
   1.124 +The program was written by Eric Allman as the successor of his program \name{delivermail}. \sendmail\ was first released with \NAME{BSD} 4.1c in 1983. Allman was not the only one working on the program. Other people developed own versions of it and a variety of flavors came up, especially in the late eighties when Allman was inactive.
   1.125  
   1.126  \sendmail\ is focused on transfering mails between different protocols and networks, this lead to a very flexible (though complex) configuration.
   1.127  
   1.128 -The latest version is 8.14.3 from May 2008.
   1.129 -The program is distributed under the \name{Sendmail License} as both, \freesw\ and proprietary software of \name{Sendmail, Inc.}.
   1.130 +The latest version is 8.14.3 from May 2008. The program is distributed under the \name{Sendmail License} as both, \freesw\ and proprietary software of \name{Sendmail, Inc.}.
   1.131  
   1.132  Further development will go into the project \name{MeTA1} which succeeds \sendmail.
   1.133  
   1.134 @@ -88,43 +85,31 @@
   1.135  
   1.136  
   1.137  \subsection{\name{qmail}}
   1.138 -\name{qmail} is seen by its community as ``a modern SMTP server which makes sendmail obsolete''.
   1.139 -It was written by Daniel~J.\ Bernstein starting in 1995.
   1.140 -His primary goal was to create a secure \MTA\ to replace the popular, but vulnerable, \sendmail.
   1.141 +\name{qmail} is seen by its community as ``a modern SMTP server which makes sendmail obsolete''. It was written by Daniel~J.\ Bernstein starting in 1995. His primary goal was to create a secure \MTA\ to replace the popular, but vulnerable, \sendmail.
   1.142  
   1.143  \name{qmail} first introduced may innovative concepts in \mta\ design and is generally seen as the first security-aware \MTA\ developed.
   1.144  
   1.145 -Since November 2007, \name{qmail} is released in the \name{public domain} which makes it \freesw.
   1.146 -The latest release is 1.03 from July 1998.
   1.147 +Since November 2007, \name{qmail} is released in the \name{public domain} which makes it \freesw. The latest release is 1.03 from July 1998.
   1.148  
   1.149  The programs homepages are \citeweb{qmail:homepage1} and \citeweb{qmail:homepage2}. Further information about \name{qmail} is available on \citeweb{lifewithqmail}, \citeweb{wikipedia:qmail} and \citeweb{jdebp}.
   1.150  
   1.151  
   1.152  \subsection{\name{postfix}}
   1.153 -The \name{postfix} project was started in 1999 at \name{IBM research}, then called \name{VMailer} or \name{IBM Secure Mailer}.
   1.154 -Wietse Venema's program ``attempts to be fast, easy to administer, and secure. The outside has a definite Sendmail-ish flavor, but the inside is completely different.''\citeweb{postfix:homepage}
   1.155 -In fact, \name{postfix} was mainly designed after qmail's architecture to gain security.
   1.156 -But in contrast to \name{qmail} it aims much more on being fast and full-featured.
   1.157 +The \name{postfix} project was started in 1999 at \name{IBM research}, then called \name{VMailer} or \name{IBM Secure Mailer}. Wietse Venema's program ``attempts to be fast, easy to administer, and secure. The outside has a definite Sendmail-ish flavor, but the inside is completely different.''\citeweb{postfix:homepage} In fact, \name{postfix} was mainly designed after qmail's architecture to gain security. But in contrast to \name{qmail} it aims much more on being fast and full-featured.
   1.158  
   1.159  Today \name{postfix} is taken by many \unix systems and \gnulinux distributions as default \MTA.
   1.160  
   1.161 -The latest stable version is numbered 2.5.5 from August 2008.
   1.162 -\name{postfix} is covered by the \name{IBM Public License 1.0} which is a \freesw\ license.
   1.163 +The latest stable version is numbered 2.5.5 from August 2008. \name{postfix} is covered by the \name{IBM Public License 1.0} which is a \freesw\ license.
   1.164  
   1.165  Additional information is available on the program's homepage \citeweb{postfix:homepage}, on \citeweb{jdebp} and \citeweb{wikipedia:postfix}.
   1.166  
   1.167  
   1.168  \subsection{\name{exim}}
   1.169 -\name{exim} was started in 1995 by Philip Hazel at the \name{University of Cambridge}.
   1.170 -Its age is about the same as \name{qmail}'s, but the architecture is totally different.
   1.171 +\name{exim} was started in 1995 by Philip Hazel at the \name{University of Cambridge}. Its age is about the same as \name{qmail}'s, but the architecture is totally different.
   1.172  
   1.173 -While \name{qmail} took a completely new approach, \name{exim} forked of \name{smail-3}, and therefor is monolitic like that and like \sendmail.
   1.174 -But having no separation of the individual components of the system, like \name{qmail} and \name{postfix} have, did not hurt.
   1.175 -Its security is comparably good.
   1.176 +While \name{qmail} took a completely new approach, \name{exim} forked of \name{smail-3}, and therefor is monolitic like that and like \sendmail. But having no separation of the individual components of the system, like \name{qmail} and \name{postfix} have, did not hurt. Its security is comparably good.
   1.177  
   1.178 -\name{exim} is highly configurable, especially in the field of mail policies.
   1.179 -This makes it easy to specify how mail is routed through the system and who is allowed to send email to whom.
   1.180 -Also interfaces for integration of virus and spam check programs are provided by design.
   1.181 +\name{exim} is highly configurable, especially in the field of mail policies. This makes it easy to specify how mail is routed through the system and who is allowed to send email to whom. Also interfaces for integration of virus and spam check programs are provided by design.
   1.182  
   1.183  The program is \freesw, released under the \GPL. The latest stable version is 4.69 from December 2007.
   1.184  
   1.185 @@ -132,16 +117,11 @@
   1.186  
   1.187  
   1.188  \subsection{\masqmail}
   1.189 -The \masqmail\ program was written by Oliver Kurth, starting in 1999.
   1.190 -His aim was to create a small \mta\ which is especially focused on computers with dial-up connections to the internet.
   1.191 -\masqmail\ is easy configurable for situations which are rarely solveable with the common \MTA{}s.
   1.192 +The \masqmail\ program was written by Oliver Kurth, starting in 1999. His aim was to create a small \mta\ which is especially focused on computers with dial-up connections to the internet. \masqmail\ is easy configurable for situations which are rarely solveable with the common \MTA{}s.
   1.193  
   1.194 -\masqmail\ queues mail for destinations outside the local network if no connection to the internet is online.
   1.195 -If the machine goes online, this mail is sent.
   1.196 -Mail to local machines is sent immediately.
   1.197 +\masqmail\ queues mail for destinations outside the local network if no connection to the internet is online. If the machine goes online, this mail is sent. Mail to local machines is sent immediately.
   1.198  
   1.199 -While the other \MTA{}s are more general purpose \MTA{}s, \masqmail\ aims on special situations only.
   1.200 -Nevertheless can it handle ordinary mail transfers too.
   1.201 +While the other \MTA{}s are more general purpose \MTA{}s, \masqmail\ aims on special situations only. Nevertheless can it handle ordinary mail transfers too.
   1.202  
   1.203  \masqmail\ is released under the \GPL, which makes it \freesw. The latest stable version is 0.2.21 from November 2005.
   1.204