docs/diploma

annotate thesis/tex/1-Candidates.tex @ 84:eed87bfa622d

added labels and other minor stuff
author meillo@marmaro.de
date Wed, 12 Nov 2008 18:02:39 +0100
parents 6843dfd6c4fa
children
rev   line source
meillo@31 1 \chapter{\unix\ \MTA{}s}
meillo@27 2
meillo@69 3 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.
meillo@64 4
meillo@69 5 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.
meillo@27 6
meillo@27 7
meillo@28 8 \section{Types of \MTA{}s}
meillo@69 9 ``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}.}
meillo@27 10
meillo@69 11 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.
meillo@28 12
meillo@69 13 Following are groups of \mta{}s that will \emph{not} be regarded further.
meillo@31 14
meillo@64 15 \subsection{Relay-only \MTA{}s}
meillo@74 16 \label{subsec:relay-only}
meillo@69 17 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.
meillo@28 18
meillo@69 19 Most \MTA{}s can be configured to act as such a \name{forwarder}. But this is usually an additional functionality.
meillo@64 20
meillo@69 21 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.
meillo@64 22
meillo@64 23 Examples for that group are: \name{nullmailer}, \name{ssmtp} and \name{esmtp}.
meillo@64 24
meillo@64 25
meillo@64 26 \subsection{Groupware}
meillo@69 27 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.
meillo@64 28
meillo@69 29 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.
meillo@64 30
meillo@69 31 Examples are: \name{Lotus Notes}, \name{Microsoft Exchange}, \name{OpenGroupware.org} and \name{eGroupWare}.
meillo@28 32
meillo@28 33
meillo@69 34 \subsection{``Real'' \MTA{}s}
meillo@69 35 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''.
meillo@44 36
meillo@70 37 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?
meillo@27 38
meillo@69 39 This group is of importance in this document. The programs selected for the comparison are ``real \MTA{}s''.
meillo@27 40
meillo@69 41
meillo@69 42
meillo@69 43 \section{Programs to sort out}
meillo@69 44
meillo@69 45 \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.
meillo@69 46
meillo@69 47 \subsection{Non-\emph{sendmail-compatible} \MTA{}s}
meillo@69 48 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.
meillo@69 49
meillo@69 50 Hence all \MTA{}s not having a \emph{sendmail-compatible} interface or not offering it as a compatibility addon, will not be covered here.
meillo@69 51
meillo@70 52 An Examples here is \name{Apache James}. %FIXME: check if correct
meillo@69 53
meillo@69 54
meillo@69 55 \subsection{Non-free software}
meillo@69 56 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.
meillo@69 57
meillo@69 58 The comparison should be seen from \masqmail's point of view, so non-free software is out of the way.
meillo@69 59
meillo@64 60
meillo@64 61
meillo@64 62 \section{The programs regarded}
meillo@69 63 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.
meillo@26 64
meillo@69 65 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
meillo@44 66
meillo@70 67 \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}.
meillo@27 68
meillo@70 69 Other members are: \name{smail}, \name{zmailer}, \name{mmdf}, and more; they all are less important and rarely used.
meillo@70 70
meillo@70 71 Following is a small introduction to each of the five programs chosen for comparision.
meillo@27 72
meillo@28 73 \subsection{\sendmail}
meillo@84 74 \label{sec:sendmail}
meillo@69 75 \sendmail\ is the most popular \mta. Since it was one of the first \MTA{}s and was shipped by many vendors of \unix\ systems.
meillo@60 76
meillo@69 77 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.
meillo@60 78
meillo@60 79 \sendmail\ is focused on transfering mails between different protocols and networks, this lead to a very flexible (though complex) configuration.
meillo@60 80
meillo@69 81 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.}.
meillo@64 82
meillo@60 83 Further development will go into the project \name{MeTA1} which succeeds \sendmail.
meillo@60 84
meillo@60 85 More information can be found on the \sendmail\ homepage \citeweb{sendmail:homepage} and on \citeweb{wikipedia:sendmail} and \citeweb{jdebp}.
meillo@60 86
meillo@27 87
meillo@28 88 \subsection{\name{qmail}}
meillo@84 89 \label{sec:qmail}
meillo@69 90 \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.
meillo@60 91
meillo@60 92 \name{qmail} first introduced may innovative concepts in \mta\ design and is generally seen as the first security-aware \MTA\ developed.
meillo@60 93
meillo@69 94 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.
meillo@60 95
meillo@60 96 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}.
meillo@60 97
meillo@27 98
meillo@28 99 \subsection{\name{postfix}}
meillo@84 100 \label{sec:postfix}
meillo@69 101 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.
meillo@64 102
meillo@64 103 Today \name{postfix} is taken by many \unix systems and \gnulinux distributions as default \MTA.
meillo@64 104
meillo@69 105 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.
meillo@64 106
meillo@64 107 Additional information is available on the program's homepage \citeweb{postfix:homepage}, on \citeweb{jdebp} and \citeweb{wikipedia:postfix}.
meillo@64 108
meillo@27 109
meillo@28 110 \subsection{\name{exim}}
meillo@84 111 \label{sec:exim}
meillo@69 112 \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.
meillo@64 113
meillo@69 114 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.
meillo@64 115
meillo@69 116 \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.
meillo@64 117
meillo@64 118 The program is \freesw, released under the \GPL. The latest stable version is 4.69 from December 2007.
meillo@64 119
meillo@64 120 One finds \name{exim} on its homepage \citeweb{exim:homepage}. More information about it can be retrieved from \citeweb{wikipedia:exim} and \citeweb{jdebp}.
meillo@64 121
meillo@28 122
meillo@28 123 \subsection{\masqmail}
meillo@84 124 \label{sec:masqmail}
meillo@69 125 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.
meillo@27 126
meillo@69 127 \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.
meillo@27 128
meillo@69 129 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.
meillo@64 130
meillo@64 131 \masqmail\ is released under the \GPL, which makes it \freesw. The latest stable version is 0.2.21 from November 2005.
meillo@64 132
meillo@64 133 The program's new homepage \citeweb{masqmail:homepage} provides further information about this \MTA.