docs/diploma

changeset 89:3b5ba7331eb5 second preview version for Schaeffter

complete restructuring of whole document
author meillo@marmaro.de
date Thu, 13 Nov 2008 23:24:52 +0100
parents a6f68b7d09fd
children 62d24bf36a5f
files thesis/pieces/old/1-Candidates.tex thesis/pieces/old/1-Comparision.tex thesis/pieces/old/1-Masqmail.tex thesis/pieces/old/2-FutureOfCommunication.tex thesis/pieces/old/2-FuturesForMasqmail.tex thesis/pieces/old/3-BecomingProjectLeader.tex thesis/pieces/old/3-FreeSoftwareProjects.tex thesis/pieces/old/3-ProjectManagement.tex thesis/pieces/old/4-Experience.tex thesis/pieces/old/4-Improvements.tex thesis/pieces/old/4-ProjectManagement.tex thesis/pieces/old/4-Test.tex thesis/pieces/old/5-Future.tex thesis/pieces/old/5-Summary.tex thesis/tex/1-Candidates.tex thesis/tex/1-Comparision.tex thesis/tex/1-Introduction.tex thesis/tex/1-Masqmail.tex thesis/tex/2-FutureOfCommunication.tex thesis/tex/2-FuturesForMasqmail.tex thesis/tex/2-MailTransferAgents.tex thesis/tex/3-BecomingProjectLeader.tex thesis/tex/3-FreeSoftwareProjects.tex thesis/tex/3-MasqmailProject.tex thesis/tex/3-ProjectManagement.tex thesis/tex/4-CodeAnalysis.tex thesis/tex/4-Experience.tex thesis/tex/4-Improvements.tex thesis/tex/4-ProjectManagement.tex thesis/tex/4-Test.tex thesis/tex/5-Future.tex thesis/tex/5-Improvements.tex thesis/tex/5-Summary.tex thesis/tex/6-Release.tex thesis/tex/7-Summary.tex thesis/thesis.tex
diffstat 36 files changed, 1309 insertions(+), 657 deletions(-) [+]
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/thesis/pieces/old/1-Candidates.tex	Thu Nov 13 23:24:52 2008 +0100
     1.3 @@ -0,0 +1,133 @@
     1.4 +\chapter{\unix\ \MTA{}s}
     1.5 +
     1.6 +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.7 +
     1.8 +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.9 +
    1.10 +
    1.11 +\section{Types of \MTA{}s}
    1.12 +``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.13 +
    1.14 +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.15 +
    1.16 +Following are groups of \mta{}s that will \emph{not} be regarded further.
    1.17 +
    1.18 +\subsection{Relay-only \MTA{}s}
    1.19 +\label{subsec:relay-only}
    1.20 +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.21 +
    1.22 +Most \MTA{}s can be configured to act as such a \name{forwarder}. But this is usually an additional functionality.
    1.23 +
    1.24 +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.25 +
    1.26 +Examples for that group are: \name{nullmailer}, \name{ssmtp} and \name{esmtp}.
    1.27 +
    1.28 +
    1.29 +\subsection{Groupware}
    1.30 +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.31 +
    1.32 +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.33 +
    1.34 +Examples are: \name{Lotus Notes}, \name{Microsoft Exchange}, \name{OpenGroupware.org} and \name{eGroupWare}.
    1.35 +
    1.36 +
    1.37 +\subsection{``Real'' \MTA{}s}
    1.38 +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.39 +
    1.40 +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.41 +
    1.42 +This group is of importance in this document. The programs selected for the comparison are ``real \MTA{}s''.
    1.43 +
    1.44 +
    1.45 +
    1.46 +\section{Programs to sort out}
    1.47 +
    1.48 +\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.49 +
    1.50 +\subsection{Non-\emph{sendmail-compatible} \MTA{}s}
    1.51 +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.52 +
    1.53 +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.54 +
    1.55 +An Examples here is \name{Apache James}.  %FIXME: check if correct
    1.56 +
    1.57 +
    1.58 +\subsection{Non-free software}
    1.59 +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.60 +
    1.61 +The comparison should be seen from \masqmail's point of view, so non-free software is out of the way.
    1.62 +
    1.63 +
    1.64 +
    1.65 +\section{The programs regarded}
    1.66 +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.67 +
    1.68 +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.69 +
    1.70 +\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.71 +
    1.72 +Other members are: \name{smail}, \name{zmailer}, \name{mmdf}, and more; they all are less important and rarely used.
    1.73 +
    1.74 +Following is a small introduction to each of the five programs chosen for comparision.
    1.75 +
    1.76 +\subsection{\sendmail}
    1.77 +\label{sec:sendmail}
    1.78 +\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.79 +
    1.80 +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.81 +
    1.82 +\sendmail\ is focused on transfering mails between different protocols and networks, this lead to a very flexible (though complex) configuration.
    1.83 +
    1.84 +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.85 +
    1.86 +Further development will go into the project \name{MeTA1} which succeeds \sendmail.
    1.87 +
    1.88 +More information can be found on the \sendmail\ homepage \citeweb{sendmail:homepage} and on \citeweb{wikipedia:sendmail} and \citeweb{jdebp}.
    1.89 +
    1.90 +
    1.91 +\subsection{\name{qmail}}
    1.92 +\label{sec:qmail}
    1.93 +\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.94 +
    1.95 +\name{qmail} first introduced may innovative concepts in \mta\ design and is generally seen as the first security-aware \MTA\ developed.
    1.96 +
    1.97 +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.98 +
    1.99 +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.100 +
   1.101 +
   1.102 +\subsection{\name{postfix}}
   1.103 +\label{sec:postfix}
   1.104 +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.105 +
   1.106 +Today \name{postfix} is taken by many \unix systems and \gnulinux distributions as default \MTA.
   1.107 +
   1.108 +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.109 +
   1.110 +Additional information is available on the program's homepage \citeweb{postfix:homepage}, on \citeweb{jdebp} and \citeweb{wikipedia:postfix}.
   1.111 +
   1.112 +
   1.113 +\subsection{\name{exim}}
   1.114 +\label{sec:exim}
   1.115 +\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.116 +
   1.117 +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.118 +
   1.119 +\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.120 +
   1.121 +The program is \freesw, released under the \GPL. The latest stable version is 4.69 from December 2007.
   1.122 +
   1.123 +One finds \name{exim} on its homepage \citeweb{exim:homepage}. More information about it can be retrieved from \citeweb{wikipedia:exim} and \citeweb{jdebp}.
   1.124 +
   1.125 +
   1.126 +\subsection{\masqmail}
   1.127 +\label{sec:masqmail}
   1.128 +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.129 +
   1.130 +\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.131 +
   1.132 +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.133 +
   1.134 +\masqmail\ is released under the \GPL, which makes it \freesw. The latest stable version is 0.2.21 from November 2005.
   1.135 +
   1.136 +The program's new homepage \citeweb{masqmail:homepage} provides further information about this \MTA.
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/thesis/pieces/old/1-Comparision.tex	Thu Nov 13 23:24:52 2008 +0100
     2.3 @@ -0,0 +1,100 @@
     2.4 +\chapter{Comparison of \MTA{}s}
     2.5 +
     2.6 +% http://shearer.org/MTA_Comparison
     2.7 +% http://www.geocities.com/mailsoftware42/
     2.8 +% http://fanf.livejournal.com/50917.html
     2.9 +% http://archives.neohapsis.com/archives/postfix/2006-07/1762.html
    2.10 +% http://www.oreillynet.com/lpt/a/6849
    2.11 +% http://www.mailradar.com/mailstat/
    2.12 +
    2.13 +\section{First release}
    2.14 +sendmail: 1983
    2.15 +
    2.16 +postfix: 1999
    2.17 +
    2.18 +qmail: 1996 (first beta 0.70), 1997 (first general 1.0)
    2.19 +
    2.20 +exim: 1995
    2.21 +
    2.22 +masqmail: 1999
    2.23 +
    2.24 +exchange: 1993
    2.25 +
    2.26 +
    2.27 +\section{Lines of code (with sloccount on debian packages)}
    2.28 +sendmail: 93k
    2.29 +
    2.30 +postfix: 92k
    2.31 +
    2.32 +qmail: 18k
    2.33 +
    2.34 +exim: 54k
    2.35 +
    2.36 +masqmail: 14k
    2.37 +
    2.38 +exchange: (no source available)
    2.39 +
    2.40 +
    2.41 +\section{Architecture}
    2.42 +sendmail: monolitic
    2.43 +
    2.44 +postfix: modular
    2.45 +
    2.46 +qmail: modular
    2.47 +
    2.48 +exim: monolitic
    2.49 +
    2.50 +masqmail: monolitic
    2.51 +
    2.52 +exchange: (unknown)
    2.53 +
    2.54 +
    2.55 +\section{Design goals}
    2.56 +sendmail: flexibility
    2.57 +
    2.58 +postfix: performance and security
    2.59 +
    2.60 +qmail: security
    2.61 +
    2.62 +exim: general, flexible \& extensive facilities for checking
    2.63 +
    2.64 +masqmail: for non-permanent internet connection
    2.65 +
    2.66 +exchange: groupware
    2.67 +
    2.68 +
    2.69 +\section{Market share (by Bernstein in 2001)}
    2.70 +sendmail: 42\%
    2.71 +
    2.72 +postfix: 1.6\%
    2.73 +
    2.74 +qmail: 17\%
    2.75 +
    2.76 +exim: 1.6\%
    2.77 +
    2.78 +masqmail: (unknown)
    2.79 +
    2.80 +exchange: 18\%
    2.81 +
    2.82 +
    2.83 +
    2.84 +
    2.85 +1) complexity
    2.86 +
    2.87 +2) security
    2.88 +
    2.89 +3) simplicity of configuration and administration
    2.90 +
    2.91 +4) flexibility of configuration and administration
    2.92 +
    2.93 +5) code size
    2.94 +
    2.95 +6) code quality
    2.96 +
    2.97 +7) documentation (amount and quality)
    2.98 +
    2.99 +8) community (amount and quality)
   2.100 +
   2.101 +9) used it myself
   2.102 +
   2.103 +10) had problems with it
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/thesis/pieces/old/1-Masqmail.tex	Thu Nov 13 23:24:52 2008 +0100
     3.3 @@ -0,0 +1,107 @@
     3.4 +\chapter{\masqmail}
     3.5 +
     3.6 +%TODO: have text by oliver here?
     3.7 +
     3.8 +
     3.9 +\section{Target field}
    3.10 +Its original author, Oliver Kurth, sees \masqmail\ so:
    3.11 +\begin{quote}
    3.12 +MasqMail is a mail server designed for hosts that do not have a permanent internet connection eg. a home network or a single host at home. It has special support for connections to different ISPs. It replaces sendmail or other MTAs such as qmail or exim.
    3.13 +\end{quote}
    3.14 +
    3.15 +\masqmail\ is inteded to cover a specific niche: non-permanent internet connection and different \NAME{ISP}s.
    3.16 +
    3.17 +Although it can basically replace other \MTA{}s, it is not generally aimed to do so. The package description of \debian\citeweb{packages.debian:masqmail} states this more clearly by changing the last sentence to:
    3.18 +\begin{quote}
    3.19 +In these cases, MasqMail is a slim replacement for full-blown MTAs such as sendmail, exim, qmail or postfix.
    3.20 +\end{quote}
    3.21 +\masqmail\ is a good replacement ``in these cases'', but not generally, since is lacks features essential for running on mail servers. It is primarily not secure enough for being accessable from untrusted locations.
    3.22 +
    3.23 +The program is best used in home networks, which are non-permanently connected to the internet. \masqmail\ sends mail to local destinations, like users on the same machine and on other machines in the local net, immediately. Email to recipients outside the local net are queued when offline and sent when a online connection gets established.
    3.24 +
    3.25 +Further more does \masqmail\ respect online connections through different \NAME{ISP}s; a common thing for dial-up connections. In particular can different sender addresses be set, dependent on the \NAME{ISP} that is used. This prevents mail to be likely classified as spam.
    3.26 +
    3.27 +
    3.28 +
    3.29 +\section{Typical usage}
    3.30 +This section describes situations that make senseful use of \masqmail.
    3.31 +
    3.32 +A home network consisting of some workstations without a server. The network is connected to the internet by dial-up or broadband. Going online is initiated by computers inside the local net. \NAME{IP} addresses change at least once every day.
    3.33 +
    3.34 +Every workstation would be equiped with \masqmail. Mail transfer within the same machine or within the local net works straight forward. Outgoing mail to the internet is sent, to the concerning \NAME{ISP} for relaying, whenever the router goes online. Receiving of mail from outside needs to be done by a mail fetch program, like the \masqmail\ internal \NAME{POP3} client or \name{fetchmail} for example. The configuration for \masqmail\ would be the same on every computer, except the hostname.
    3.35 +
    3.36 +For the same network but having a server, one could have \masqmail\ running on the server and using simple forwarders (see \ref{subsec:relay-only}) to the server on the workstations. This setup does only support mail transfer to the server, but not back to a workstation; also sending mail to another user on the same workstation is not possible.
    3.37 +
    3.38 +A better setup is to run \masqmail\ on every machine %FIXME
    3.39 +
    3.40 +
    3.41 +
    3.42 +\section{What makes it special}
    3.43 +
    3.44 +As main advantage, \masqmail\ makes it easy to set up an \MTA\ on workstations or notebooks without the need to do complex configuration or to be an mail server expert.
    3.45 +
    3.46 +Workstations use %FIXME
    3.47 +
    3.48 +
    3.49 +\section{Alternatives?}
    3.50 +% http://anfi.homeunix.org/sendmail/dialup10.html
    3.51 +
    3.52 +
    3.53 +\section{Structure}
    3.54 +Like its anchestor \sendmail, \masqmail\ is a monolitic program. It consists of only one \emph{setuid root}\footnote{Runs as user root, no matter which user invoked it.}\index{setuid root} binary file, named \path{masqmail}. All functionality is included in it; of course some more comes from dynamic libraries linked.
    3.55 +
    3.56 +The \masqmail\ executable can be called under various names for \name{sendmail-compatibility} reasons. This is commonly organized by creating symbolic links with with different names to the \masqmail\ executable. These are \path{/usr/lib/sendmail} and \path{/usr/sbin/sendmail} because many programs expect a \mta\ to be located there. Further more \sendmail\ provides shortcuts by calling it with a different name instead of supplying command line arguments. The best known of it is \path{mailq}, which is equivilent to calling the \MTA\ with the argument \verb+-bq+. \masqmail\ reacts to the names \path{mailq}, \path{smtpd}, \path{mailrm}, \path{runq}, \path{rmail}, and \path{in.smtpd}. The last four are an addition to \sendmail. Not implemented is the name \path{newaliases} because it is not relevant to \masqmail. To provide the command nonetheless, one may write a shell script located at \path{/usr/bin/newaliases}, that simply invokes \verb+masqmail -bi+.
    3.57 +
    3.58 +%masqmail: mailq, mailrm, runq, rmail, smtpd/in.smtpd
    3.59 +%sendmail: hoststat, mailq, newaliases, purgestat, smtpd
    3.60 +
    3.61 +\masqmail\ is written in the \NAME{C} programming language. The program, as of version 0.2.21, consists of 34 source code and eight header files, containing about 9,000 lines of code\footnote{Measured with \name{sloccount} by David A.\ Wheeler.}. Additionally, it includes a \name{base64} implementation (about 300 lines) and \name{md5} code (about 150 lines). For systems that do not provide \name{libident}, this library is distributed as well (circa 600 lines); an available shared library however has higher precedence in linking.
    3.62 +
    3.63 +The only mandatory dependency is \name{glib}---a cross-platform software utility library, originated in the \NAME{GTK+} project. It provides safer replacements for many standard library functions. (The unsafe \verb+sprintf()+ is one example.) Also it offers handy data containers, easy-to-use implementations of data structures, and much more.
    3.64 +
    3.65 +With \masqmail\ comes the small tool \path{mservdetect}; it helps setting up a configuration that uses the \name{mserver} system to detect the online state. Two other binaries get compiled for testing purposes: \path{readtest} and \path{smtpsend}. All three programms use \masqmail\ source code; they only add a file with a \verb+main()+ function each.
    3.66 +
    3.67 +\masqmail\ does not provide an interface for modules with additional functionality. There exists no add-on or module system. But the code is separated by function to the various source files, and some functional parts can be included or excluded by defining symbols. This means adding some argument (like \verb+--enable-maildir+) to the \verb+configure+ call. Thus the concerning code gets not removed by the preprocessor.
    3.68 +
    3.69 +
    3.70 +\section{Features}
    3.71 +This overview regards \masqmail version 0.2.21, the state this document starts off.
    3.72 +
    3.73 +First of all \masqmail\ is an \MTA. Therefor it accepts mail on the command line and via \SMTP. Mail queueing and alias expansion is supported. \masqmail\ is able to deliver mail to local mailboxes (in \name{mbox} or \name{maildir} format) or pass it to a \name{mail delivery agent} (like \name{procmail}). Mail destinated to remote locations is sent via \SMTP. Outgoing \SMTP\ connections feature \name{SMTP-Auth} and \name{SMTP-after-POP} authentication, but incoming \SMTP\ does not.
    3.74 +
    3.75 +As \masqmail\ is focused on non-permanent Internet connections, online state can be queried by three methods: reading from a file, reading the output of a command, or by asking an \name{mserver}. Each method may return a string indicating one of the available routes being online, or returning nothing to indicate offline state.
    3.76 +
    3.77 +Delivery to recipients on the local host or in local nets is done at once; delivery to recipients on the Internet is only done when being online, and queued otherwise. Each online route may have a different mail server to which mail is relayed. Return address headers are modified appropriate if wished.
    3.78 +
    3.79 +Additional to the \mta\ job, \masqmail\ also offers mail retrieval services with being a \NAME{POP3} client. Thus it can fetch mail from remote locations, dependent on the active online route.
    3.80 +
    3.81 +
    3.82 +
    3.83 +\section{History}
    3.84 +%TODO: let oliver prove read it!
    3.85 +%FIXME: add references
    3.86 +%FIXME: where does the name come from: masqdialer (guessed)
    3.87 +
    3.88 +The date of the first release (version 0.0.1) is unknown.
    3.89 +The only information available is, that it was packaged for \debian\ at 15\nth\ of September in 1999.
    3.90 +Further releases were made every few weeks or month during 2000, 2001 and 2002.
    3.91 +Development ended in mid-2003 in a hard stop.
    3.92 +The last ordinary release known to me is version 0.2.20, released on 4\nth\ of June in 2003.
    3.93 +
    3.94 +During the time of development, Oliver released 53 versions.
    3.95 +That means a new release in less than every 20 days in average!
    3.96 +
    3.97 +Mentionable are the four \emph{beta} releases of version 0.1.8 (named with the trailing letters `a' to `d') in winter 2000/2001 and the security-fix 0.1.15.1 in 2002.
    3.98 +
    3.99 +One extra release (version 0.2.21) was made by him in November 2005.
   3.100 +This one is only available from the \debian\ pool.
   3.101 +Comparing it to version 0.2.20 shows, that no source code was altered.
   3.102 +Only building documents (like Makefiles) and \debian\ packageing documents were changed.
   3.103 +That leeds to the assumption that this last release was specificly created for the needs of \debian---to fix some errors in the package.
   3.104 +
   3.105 +In May 2000 the minor version number increased to `1'.
   3.106 +Nothing special is mentioned in the documentation about that.
   3.107 +When it increased again to start the 0.2.x releases, Oliver titled them as the ``development branch'' of \masqmail.
   3.108 +At that second time, he started developing the 0.2.x ``development branch'', continuing to work on the 0.1.x series.
   3.109 +His parallel work on both branches lasted for four month, and one additional last release, numbered 0.1.17, one more year later.
   3.110 +
     4.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     4.2 +++ b/thesis/pieces/old/2-FutureOfCommunication.tex	Thu Nov 13 23:24:52 2008 +0100
     4.3 @@ -0,0 +1,120 @@
     4.4 +\chapter{The future of communication}
     4.5 +\label{chap:future-of-communication}
     4.6 +As globalization proceeds, long distance communication becomes more and more important. This chapter tries to locate trends in communication methods and their impact on the future for communication. The insights gathered from the analysis will be applied to \masqmail, afterwards.
     4.7 +
     4.8 +
     4.9 +\section{Communication methods}
    4.10 +\label{sec:communication-methods}
    4.11 +Today's long distance communication methods are either written or spoken information. And on the other side, they can be classified by the time between responses.
    4.12 +
    4.13 +A classification of long distance communication methods is shown in figure %\ref{fig:}.
    4.14 +% slow     |              |             |
    4.15 +%          |              | letter      | days
    4.16 +%          |              |             |
    4.17 +%          |              |             |
    4.18 +%          | answering    | email       |
    4.19 +%          |   machine    | telefax     | few seconds
    4.20 +%          |              | SMS         |
    4.21 +% fast     |              |             |
    4.22 +%          | telephone    | IM          | real time
    4.23 +% -----------------------------------------------------
    4.24 +% response | spoken       | written     | delivery time
    4.25 +
    4.26 +% TODO: find reference literature
    4.27 +
    4.28 +\subsection{Speed}
    4.29 +Communication gets faster in general. Slow mediums as letters get substituted by electronic mail, which is delivered within seconds. Also communication becomes more transmitted through digital channels. This can be seen at the telephone which's information is now more and more transported in bits over the internet link. Also telefaxes are succeeded by email or are transported within email. Instant messaging can be seen as the written couterpart to the telephone; not to substitute it completely, but to be used if it is more useful for the information to transmit.
    4.30 +
    4.31 +Many of the digital communication methods gained success by beeing cheaper than their counterparts. One example here is instant messaging in contrast to the telephone. As phoning costs fell, it became more popular again. The last years showed, that communication cost degreased dropped generally, caused by the transport through digital channels. And nothing to see, that would make them rise again.
    4.32 +
    4.33 +It seems as if in future will be low-cost communication methods available, which will be digitally transmitted.
    4.34 +
    4.35 +\subsection{Variety}
    4.36 +Regarding the variety of communication methods shows a change, too. Communication systems are more easy to establish today, so more get established. This leads to more methods a person uses. But not only in the amount, also in parallel. For example when two people talk to each other on the phone, one might send a URI\footnote{Uniform Resource Identifier} by email meanwhile, because oral communication is not well suited to exchange such data. Another example for in parallel used communication channels is video chatting. Ony typically sees the other person, talks to it, and additionally has a instant messaging facility for exchanging written information.
    4.37 +
    4.38 +Parallel usage of different kinds of communication channels will be important in future. The most common combinations are one for spoken and one for written information. But one for dialogs and one for sending documents will be important too.
    4.39 +
    4.40 +\subsection{Hardware}
    4.41 +Next about the hardware needed for communicating. On the one side stands the telephone, now available as the mobile phone. It provides spoken dialog by calling, spoken messages with the included answering machine and written messages in form of short message service. On the other side stands the letter and its relatives. They need pen and paper, a telefax machine or in most today's cases a computer. They typically send documents, only instant messaging is focused on dialog.
    4.42 +
    4.43 +The last years finally brought the two groups together, with \name{smart phones} being the merging element. Smart phones are computers in the size of mobile phones. They provide both functions, using it as telephones and as computers.
    4.44 +
    4.45 +It matches well the requirements of telephoning and short message service, for which it was designed of course. Also providing being suitable for instant messaging in what is needed additionally to the telephone and short message service. The only problem is the minimal keyboard available to insert text. This also affects writing documents in case of email. It can be done but not very comfortably. Further communication methods include voice and video messages.
    4.46 +
    4.47 +This leaves us with the need for ordinary computers for the field of exchanging documents, and as better input hardware for all written input.
    4.48 +
    4.49 +
    4.50 +
    4.51 +\section{Trends for electronic mail}
    4.52 +\label{sec:email-trends}
    4.53 +The previous section stated that electronic mail will still be important in future to complete the communication methods provided by phone and instant messaging.
    4.54 +
    4.55 +But will emailing in future not be the same as emailing now. This will mainly affect how email is transfered.
    4.56 +
    4.57 +\subsection{Provider oriented emailing}
    4.58 +Today's email structure is heavily dependent on email providers. This means, most people have email addresses from some provider. These can be the provider of their online connection (e.g.\ \NAME{AOL}, \name{T\~Online}), freemail provider (e.g.\ \NAME{GMX}, \name{Yahoo}, \name{Hotmail}) or provider that offer enhanced mail services that one needs to pay for. Outgoing mail is send either with the webmail client of the provider or using \name{mail user agent}s sending it to the provider for relay. Incoming mail is read with the webmail client or retrieved from the provider via \NAME{POP3} or \NAME{IMAP} to the local computer to be read in the \name{mail user agent}. This means all mail sending and receiving work is done by the provider.
    4.59 +
    4.60 +The reason therefor is originated in the time when people used dial-up connections to the internet. A mail server needs to be online to receive email. Sending mail is no problem, but receiving it is hardly possible with an \MTA\ being few time online. Internet service providers had servers running all day long connected to the internet. So they offered email service.
    4.61 +
    4.62 +\subsection{Provider independence}
    4.63 +Nowadays, dial-up internet access is rare; the majority has broadband internet access paying a flat rate for it. So being online or not does not affect costs anymore, even traffic is unlimited. Today it is possible to have an own mail server running at home. The last technical problem remaining are the changing \NAME{IP} addresses one gets assigned every 24 hours. But this is easily solvable with one of the dynamic \NAME{DNS} services around; they provide the mapping of a fixed domain name to the changing \NAME{IP} addresses.
    4.64 +
    4.65 +Home servers become popular in these days, for central data storage and multi media services. Being assembled of energy efficient elements, power consumption is no big problem anymore. These home servers will replace video recorders and music collections in the near future. It is also realistic that they will manage heating systems and intercoms too. Given the future leads to this direction, it is a logical step to have email and other communication will be provided by the (or one of) the own server aswell.
    4.66 +
    4.67 +After \mta{}s have not been popular for users in the last time, the next years might bring them back to them. Maybe in a few years nearly everyone will have one running at home \dots\ possibly without knowing about it.
    4.68 +
    4.69 +\subsection{Is email future-safe?}
    4.70 +It seems as if electronic mail or a similar technology has good chances to survive the next decades. This bases on the assumption that it always will be important to send information messages. These can be notes from other people, or notifications from systems (like a broken or full hard drive in the home server, or the coffee machine ran out of coffee beans). Other communication technologies are not as suitable for this kind of messages, as email, short message service, voice mail, and the like. Telephone talks are more focused on dialog and normally interrupt people. These kind of messages should not interrupt people, unless urgent, and they do not need two-way information exchange. The second argument appies to instant messaging too. If only one message is to be send, one does not need instant messaging. Thus, one type of one-way message sending technology will survive.
    4.71 +
    4.72 +Whether email will be the one surviving, or short message service, or another one, does not matter. Probably it will be \name{unified messaging}, which includes all of the other ones in it, anyway. \MTA{}s are a kind of software needed for all of these messaging methods---programs that transfer and receive messages.
    4.73 +
    4.74 +\subsection{Pushing versus polling}
    4.75 +The retrieval of email is a field that is about to change now. The old way is to fetch email by polling the server that holds the personal mail box. This polling is done in regular intervals, often once every five to thirty minutes. The mail transfer from the mail box to the \name{mail user agent} is initiated from the mail client side. The disadvantage herewith is the delay between mail actually arriving on the server and the user finally having the message on his screen.
    4.76 +
    4.77 +To remove this disadvantage, \name{push email} was invented. Here the server is not polled every few minutes about new mail, but the server pushes new mail directly to the client on arrival. The transfer is initiated by the server. This concept became popular with the smart phones; they were able to do emailing, but the traffic caused by polling the server often was expensive. The concept workes well with mobile phones where the provider knows about the client, but it seems not to be a choice for computers since the provider needs to have some kind of login to push data to the computer.
    4.78 +
    4.79 +The push concept, however could swap over to computers when using a home server and no external provider. A possible scenario is a home server receiving mail from the internet and pushing it to computers and smart phones. The configuration could be done by the user through some simple interface, like one configures his telephone system to have different telephone numbers ring on specified phones.
    4.80 +%FIXME: add reference to push email
    4.81 +
    4.82 +\subsection{Internet Mail 2000}
    4.83 +Another concept to redesign the electronic mail system, but this time focused on mail transfer is named ``Internet Mail 2000''. It was proposed by Daniel J.\ Bernstein, the creater of \name{qmail}. Similar approaches were independently introduced by others too.
    4.84 +
    4.85 +As main change it makes the sender have the responsibility of mail storage; only a notification about a mail message gets send to the receiver, who can fetch the message then from the sender's server. This is in contrast to the \NAME{SMTP} mail architecture, where mail and the responsibility for it is transfered from the sender to the receiver.
    4.86 +
    4.87 +\name{Mail transfer agent}s are still important in this mail architecture, but in a slightly different way. Their job is not transfering mail anymore---this makes the name missleading---they are used to transport the notifications about new mail to the destinations. This is a quite similar job as they do in the \NAME{SMTP} model. The real transfer of the mail can be done in any way, for example via \NAME{FTP} or \NAME{SCP}.
    4.88 +
    4.89 +%FIXME: add references for IM2000
    4.90 +
    4.91 +
    4.92 +
    4.93 +\section{\NAME{SWOT} analysis}
    4.94 +%TODO
    4.95 +
    4.96 +
    4.97 +
    4.98 +\section{What will be important}
    4.99 +\label{sec:important-for-mtas}
   4.100 +Now that it is explained why email will survive (in some changed but related form), it is time to think about the properties required for \mta{}s in the next years. As the fields and kinds of usage change, the requirement change too.
   4.101 +
   4.102 +Provider independence through running an own mail server at home asks for easy configuration of the \MTA. Providers have specialists to configure the systems, but ordinary people do not. Solutions are either having some home service system for computer configuration established with specialists coming to one's home to set up the systems; like it is already common for problems with the power supply or water supply system. Or configuration needs to be easy and fool-prove, to be done by the owner himself. The latter solution depends on standardized parts that fit together seamlessly. The technology itself must not be a problem itself. Only settings custom to the users environment should be left open for him to set. This of course needs to be doable on a simple configuration interface like a web interface; non-technical educated users should be able to configure the system.
   4.103 +
   4.104 +\sendmail\ and \name{qmail} appear to have bad positions at this point. Their configuration is complex, thus they would need simplification wrappers around them to provide easy configuration.
   4.105 +
   4.106 +The approach of wrappers around the main program to make it look easier to the outside is a good concept in general. %FIXME: add ref
   4.107 +It still lets the specialist do complex and detailed configuration, and also offering a simple configuration interface to novices. Further more is it well suited to provide various wrappers with different user interfaces (e.g.\ a graphical program, a website, a command line program; all of them either in a questionaire style or iteractive).
   4.108 +
   4.109 +When \MTA{}s become popular on home servers and maybe even on workstations and smart phones, then performance will be less important. Providers need \mta{}s that process a large amount of mail in short time. Home servers or workstations however, do not see that much mail; they need to handle tens or hundrets of email messages per hour. Thus performance will probably not be a main requirement for an \MTA\ in the future, if they mainly run on private machines.
   4.110 +
   4.111 +\name{postfix} focuses much on performance, this might not be an important point then.
   4.112 +
   4.113 +New mailing concepts and architectures like push email or \name{Internet Mail 2000} will, if they succeed, require \mta{}s to adopt the new technology. \MTA{}s that are not able to change are going to be sorted out by evolution. Thus it is important to not focus too much on one use case, but to stay flexible. Allman saw this property of \sendmail\ one reason for its huge success (see section \ref{sec:sendmail}).
   4.114 +
   4.115 +Another important requirement for all kinds of software will be security. There is a constant trend going from completely non-secured software from the 70s and 80s over growing security awareness in the 90s to security being a primary goal now. This leads to the conclusion that software security will even more important in the next years. As more clients get connected to the internet and especially more computers are waiting for incoming connections (like an \MTA\ in a home server), there are more possibilities to break into systems. Securing software systems will be done with increasing effort in future.
   4.116 +
   4.117 +``Plug-and-play''-able hardware with preconfigured software running can be expected to become popular. Like someone buys a set-top box to watch Pay-TV today, he might be buying a box acting as mail server in a few years. He plugs the power cable in, inserts his email address in a web interface and selects the clients (workstation computers or smart phones) to which mail should be send and from which mail is accepted to receive. That's all. It would just work then, like everyone expects it from a set-top box today.
   4.118 +
   4.119 +Containing secure and robust software is a pre-requisite for such boxes to make that vision possible.
   4.120 +
   4.121 +It seems as if all widely used \mta{}s provide good security nowadays. \name{qmail}'s architecture, also used in \name{postfix}, is generally seen to be conceptually more secure, however.
   4.122 +
   4.123 +In summary: easy configuration, aswell as the somehow opposed flexibility will be important for future \mta{}s. Also will it be security, but not performance. \MTA{}s might become more commodity software, like web servers already are today, with the purpose to include it in many systems and the need of minimal configuration.
     5.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     5.2 +++ b/thesis/pieces/old/2-FuturesForMasqmail.tex	Thu Nov 13 23:24:52 2008 +0100
     5.3 @@ -0,0 +1,18 @@
     5.4 +\chapter{Futures for \masqmail}
     5.5 +
     5.6 +\section{\masqmail\ in five years}
     5.7 +\label{sec:masqmail-in-5-years}
     5.8 +Now how could \masqmail\ be like in, say, five years?
     5.9 +%requirements
    5.10 +%which parts to do
    5.11 +%how to make masqmail future-safe
    5.12 +
    5.13 +%how to advertise masqmail
    5.14 +%difference for free software
    5.15 +%why is it worth to revive masqmail?
    5.16 +
    5.17 +
    5.18 +\section{A design from scratch}
    5.19 +%what would be needed
    5.20 +%would one create it at all?
    5.21 +
     6.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     6.2 +++ b/thesis/pieces/old/3-BecomingProjectLeader.tex	Thu Nov 13 23:24:52 2008 +0100
     6.3 @@ -0,0 +1,4 @@
     6.4 +\chapter{Becoming project leader}
     6.5 +\section{History of \masqmail}
     6.6 +\section{Taking it}
     6.7 +
     7.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     7.2 +++ b/thesis/pieces/old/3-FreeSoftwareProjects.tex	Thu Nov 13 23:24:52 2008 +0100
     7.3 @@ -0,0 +1,127 @@
     7.4 +\chapter{About \freesw\ projects}
     7.5 +
     7.6 +% http://www.faqs.org/docs/artu/
     7.7 +
     7.8 +There are several differences between \freesw\ projects and projects about proprietary software.
     7.9 +To understand \freesw\ projects, one needs to understand \freesw\ itself first.
    7.10 +
    7.11 +\section{About \freesw}
    7.12 +The term ``Free Software'' was coined by the \name{Free Software Foundation} (short: \NAME{FSF}), founded by Richard~M.\ Stallman (known as ``RMS'') in 1985.
    7.13 +Although various licenses make software free, none of them represents the thinking of \freesw\ like the the \GNU\ \gpl\ (short: \GPL). Its first version was written by Stallman in 1989.
    7.14 +One could say, the \GPL\ catalized the \name{Free Software movement}.
    7.15 +
    7.16 +% http://www.fsf.org/about/what-is-free-software
    7.17 +
    7.18 +After all, the \GPL\ was not the first \freesw\ license used.
    7.19 +The \name{MIT License} (or \name{X Consortium License}) for example is older; published in 1988.
    7.20 +Licenses providing the same rights have been used since long time ago.
    7.21 +But none of them was so often (re)used by other projects---thus gattering less awareness.
    7.22 +Further more was the \GPL\ created to be a \emph{general} license for all kinds of programs, unlike most other licenses written for one particular program.
    7.23 +
    7.24 +\freesw\ gives freedoms to its users.
    7.25 +In contrast to proprietary software restricting the users freedom.
    7.26 +The freedoms (or rights) the user has are stated in the \name{Free Software Definition} of the \NAME{FSF}. Namely these are:
    7.27 +% http://www.gnu.org/philosophy/free-sw.html
    7.28 +% http://www.fsf.org/licensing/essays/free-sw.html
    7.29 +\begin{enumerate}
    7.30 +	\item The freedom to run the program, for any purpose (freedom 0).
    7.31 +	\item The freedom to study how the program works, and adapt it to your needs (freedom 1). Access to the source code is a precondition for this.
    7.32 +	\item The freedom to redistribute copies so you can help your neighbor (freedom 2).
    7.33 +	\item The freedom to improve the program, and release your improvements to the public, so that the whole community benefits (freedom 3). Access to the source code is a precondition for this.
    7.34 +\end{enumerate}
    7.35 +
    7.36 +
    7.37 +\section{The term ``Open Source''}
    7.38 +\name{Open Source Software} often stands for the same as \freesw.
    7.39 +But there is an essential difference: \name{Open Source} focuses on the availability of source code, while \freesw\ is about freedoms for people.
    7.40 +
    7.41 +\name{Open Source Software} is a subset of \freesw, meaning: All \freesw\ is \name{Open Source}, but there exists \name{Open Source Software} that is not free.
    7.42 +
    7.43 +% http://www.gnu.org/philosophy/open-source-misses-the-point.html
    7.44 +% http://catb.org/~esr/open-source.html
    7.45 +
    7.46 +
    7.47 +\section{Development of \freesw}
    7.48 +Having source code available and the right to modify it, encouridges programmers to actually do so.
    7.49 +Their modifications are manifoldly.
    7.50 +Some tailor the software to their needs.
    7.51 +Some add features.
    7.52 +Some do it just for fun.
    7.53 +There are no limitations---whoever wants to, may work on it.
    7.54 +
    7.55 +Since the boom of the internet, \freesw\ typically is developed by an open community of programmers interested in the software.
    7.56 +The process of development is watchable by everyone.
    7.57 +
    7.58 +The other, now less common, method is a more closed group, developing in a ``sealed'' room, but releasing finished versions to the public.
    7.59 +
    7.60 +Eric~S.\ Raymond discusses about these methods, which he named \name{the bazaar} and \name{the cathedral} \cite{catb}.
    7.61 +
    7.62 +The following text will focus on the ``bazaar'' model.
    7.63 +
    7.64 +
    7.65 +\section{The role of the community}
    7.66 +\freesw\ projects rise and fall with their community!
    7.67 +
    7.68 +Most \freesw\ programs are developed by a very small group of programmers, often only one person.
    7.69 +But they are used by many people.
    7.70 +In between the programmers and the users, are people located who are a bit of both.
    7.71 +These are the ones that write documentation, find bugs and probably even fix it.
    7.72 +They discuss on mailing lists, bulletin boards and \NAME{IRC} chats.
    7.73 +The program is often spread by their ``advertising''.
    7.74 +
    7.75 +The \emph{community} consists of the actual developers and all users that contribute to the program.
    7.76 +Contribution can be one of the described ways, or others like providing a server for the project website for example.
    7.77 +
    7.78 +\emph{Community} is everyone who is in contact through the project.
    7.79 +Be it on the mailing list, the discussion board, or by telling the developers about a new feature wanted.
    7.80 +
    7.81 +There will hardly be a community if no communication channels are available.
    7.82 +If the development team does not provide them, there is a chance that encouraged users set them up on their own.
    7.83 +But this is rare and the program needs to be very popular. %TODO: maybe include an example here (w3m?)
    7.84 +
    7.85 +Projects without a good community tend to die sooner or later.
    7.86 +
    7.87 +
    7.88 +\section{Evolution of a community}
    7.89 +Let us look at the process a community establishes: In most times it's only one who has an idea, in the beginning.
    7.90 +He starts developing.
    7.91 +When others get in contact with the project, there may be some who are so much interested that they start co-developing.
    7.92 +Others report bugs, and some only use the program.
    7.93 +
    7.94 +After some time, one will find a small group of core developers, a larger group of contributers (bugs, patches, documentation) and a very large group of users.
    7.95 +The size ratio of the groups vary by type of project.
    7.96 +
    7.97 +One should have that in mind, when starting a \freesw\ project.
    7.98 +
    7.99 +
   7.100 +\section{Creating a strong community}
   7.101 +Building up a good community needs some effort of the main developers.
   7.102 +%TODO: search for documents about this topic
   7.103 +
   7.104 +First communication channels need to be set up, to enable the growth of a community.
   7.105 +
   7.106 +Second, development should be visible by everyone who is interested in it.
   7.107 +Time between work done on the project and its visibility to the public should be kept short.
   7.108 +This makes it interesting for other developers to join.
   7.109 +Developers are the core of a community.
   7.110 +
   7.111 +Third, there is a rule of thumb that should be followed: ``Release early, release often!'' \cite{catb}.
   7.112 +Releases are (more) stable versions, primary for users.
   7.113 +They should be created, frequently.
   7.114 +People will more likely use programs of active projects.
   7.115 +
   7.116 +Fourth, the developers should try to get the users ``in the boat''.
   7.117 +Good communities have a large group of users that do not only receive, but also give something back to the project.
   7.118 +The project leaders should motivate users to contribute.
   7.119 +This unlocks a big work force and gets lot of unexiting work done.
   7.120 +
   7.121 +Fifth, documentation matters.
   7.122 +Good documentation makes it easy for users and developers to start.
   7.123 +And it helps to avoid a lot of unsatisfaction.
   7.124 +Documentation is something that shows quality and that people care about the project.
   7.125 +
   7.126 +And sixth, project leaders should be good souvereigns.
   7.127 +They should try to be fair, to motivate, be visionaires and try to put power and work on many shoulders.
   7.128 +
   7.129 +Not to forget: Every work that was done, every contribution that was made and every idea received needs to be honored in an appropriate way!
   7.130 +Volunteer work lives by acknowledgement of the effort spent.
     8.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     8.2 +++ b/thesis/pieces/old/3-ProjectManagement.tex	Thu Nov 13 23:24:52 2008 +0100
     8.3 @@ -0,0 +1,8 @@
     8.4 +\chapter{Project management}
     8.5 +\section{Infrastructure}
     8.6 +\section{Community}
     8.7 +\section{Development}
     8.8 +\section{Documentation}
     8.9 +\section{Quality assurance}
    8.10 +\section{Distribution}
    8.11 +
     9.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     9.2 +++ b/thesis/pieces/old/4-Experience.tex	Thu Nov 13 23:24:52 2008 +0100
     9.3 @@ -0,0 +1,2 @@
     9.4 +\chapter{Experience}
     9.5 +
    10.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    10.2 +++ b/thesis/pieces/old/4-Improvements.tex	Thu Nov 13 23:24:52 2008 +0100
    10.3 @@ -0,0 +1,2 @@
    10.4 +\chapter{Improvements}
    10.5 +
    11.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    11.2 +++ b/thesis/pieces/old/4-ProjectManagement.tex	Thu Nov 13 23:24:52 2008 +0100
    11.3 @@ -0,0 +1,2 @@
    11.4 +\chapter{Project management 2}
    11.5 +
    12.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    12.2 +++ b/thesis/pieces/old/4-Test.tex	Thu Nov 13 23:24:52 2008 +0100
    12.3 @@ -0,0 +1,2 @@
    12.4 +\chapter{Test and validation}
    12.5 +
    13.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    13.2 +++ b/thesis/pieces/old/5-Future.tex	Thu Nov 13 23:24:52 2008 +0100
    13.3 @@ -0,0 +1,2 @@
    13.4 +\chapter{The future of \masqmail}
    13.5 +
    14.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    14.2 +++ b/thesis/pieces/old/5-Summary.tex	Thu Nov 13 23:24:52 2008 +0100
    14.3 @@ -0,0 +1,2 @@
    14.4 +\chapter{Summary}
    14.5 +
    15.1 --- a/thesis/tex/1-Candidates.tex	Thu Nov 13 15:30:25 2008 +0100
    15.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    15.3 @@ -1,133 +0,0 @@
    15.4 -\chapter{\unix\ \MTA{}s}
    15.5 -
    15.6 -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.
    15.7 -
    15.8 -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.
    15.9 -
   15.10 -
   15.11 -\section{Types of \MTA{}s}
   15.12 -``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}.}
   15.13 -
   15.14 -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.
   15.15 -
   15.16 -Following are groups of \mta{}s that will \emph{not} be regarded further.
   15.17 -
   15.18 -\subsection{Relay-only \MTA{}s}
   15.19 -\label{subsec:relay-only}
   15.20 -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.
   15.21 -
   15.22 -Most \MTA{}s can be configured to act as such a \name{forwarder}. But this is usually an additional functionality.
   15.23 -
   15.24 -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.
   15.25 -
   15.26 -Examples for that group are: \name{nullmailer}, \name{ssmtp} and \name{esmtp}.
   15.27 -
   15.28 -
   15.29 -\subsection{Groupware}
   15.30 -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.
   15.31 -
   15.32 -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.
   15.33 -
   15.34 -Examples are: \name{Lotus Notes}, \name{Microsoft Exchange}, \name{OpenGroupware.org} and \name{eGroupWare}.
   15.35 -
   15.36 -
   15.37 -\subsection{``Real'' \MTA{}s}
   15.38 -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''.
   15.39 -
   15.40 -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?
   15.41 -
   15.42 -This group is of importance in this document. The programs selected for the comparison are ``real \MTA{}s''.
   15.43 -
   15.44 -
   15.45 -
   15.46 -\section{Programs to sort out}
   15.47 -
   15.48 -\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.
   15.49 -
   15.50 -\subsection{Non-\emph{sendmail-compatible} \MTA{}s}
   15.51 -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.
   15.52 -
   15.53 -Hence all \MTA{}s not having a \emph{sendmail-compatible} interface or not offering it as a compatibility addon, will not be covered here.
   15.54 -
   15.55 -An Examples here is \name{Apache James}.  %FIXME: check if correct
   15.56 -
   15.57 -
   15.58 -\subsection{Non-free software}
   15.59 -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.
   15.60 -
   15.61 -The comparison should be seen from \masqmail's point of view, so non-free software is out of the way.
   15.62 -
   15.63 -
   15.64 -
   15.65 -\section{The programs regarded}
   15.66 -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.
   15.67 -
   15.68 -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
   15.69 -
   15.70 -\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}.
   15.71 -
   15.72 -Other members are: \name{smail}, \name{zmailer}, \name{mmdf}, and more; they all are less important and rarely used.
   15.73 -
   15.74 -Following is a small introduction to each of the five programs chosen for comparision.
   15.75 -
   15.76 -\subsection{\sendmail}
   15.77 -\label{sec:sendmail}
   15.78 -\sendmail\ is the most popular \mta. Since it was one of the first \MTA{}s and was shipped by many vendors of \unix\ systems.
   15.79 -
   15.80 -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.
   15.81 -
   15.82 -\sendmail\ is focused on transfering mails between different protocols and networks, this lead to a very flexible (though complex) configuration.
   15.83 -
   15.84 -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.}.
   15.85 -
   15.86 -Further development will go into the project \name{MeTA1} which succeeds \sendmail.
   15.87 -
   15.88 -More information can be found on the \sendmail\ homepage \citeweb{sendmail:homepage} and on \citeweb{wikipedia:sendmail} and \citeweb{jdebp}.
   15.89 -
   15.90 -
   15.91 -\subsection{\name{qmail}}
   15.92 -\label{sec:qmail}
   15.93 -\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.
   15.94 -
   15.95 -\name{qmail} first introduced may innovative concepts in \mta\ design and is generally seen as the first security-aware \MTA\ developed.
   15.96 -
   15.97 -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.
   15.98 -
   15.99 -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}.
  15.100 -
  15.101 -
  15.102 -\subsection{\name{postfix}}
  15.103 -\label{sec:postfix}
  15.104 -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.
  15.105 -
  15.106 -Today \name{postfix} is taken by many \unix systems and \gnulinux distributions as default \MTA.
  15.107 -
  15.108 -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.
  15.109 -
  15.110 -Additional information is available on the program's homepage \citeweb{postfix:homepage}, on \citeweb{jdebp} and \citeweb{wikipedia:postfix}.
  15.111 -
  15.112 -
  15.113 -\subsection{\name{exim}}
  15.114 -\label{sec:exim}
  15.115 -\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.
  15.116 -
  15.117 -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.
  15.118 -
  15.119 -\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.
  15.120 -
  15.121 -The program is \freesw, released under the \GPL. The latest stable version is 4.69 from December 2007.
  15.122 -
  15.123 -One finds \name{exim} on its homepage \citeweb{exim:homepage}. More information about it can be retrieved from \citeweb{wikipedia:exim} and \citeweb{jdebp}.
  15.124 -
  15.125 -
  15.126 -\subsection{\masqmail}
  15.127 -\label{sec:masqmail}
  15.128 -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.
  15.129 -
  15.130 -\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.
  15.131 -
  15.132 -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.
  15.133 -
  15.134 -\masqmail\ is released under the \GPL, which makes it \freesw. The latest stable version is 0.2.21 from November 2005.
  15.135 -
  15.136 -The program's new homepage \citeweb{masqmail:homepage} provides further information about this \MTA.
    16.1 --- a/thesis/tex/1-Comparision.tex	Thu Nov 13 15:30:25 2008 +0100
    16.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    16.3 @@ -1,100 +0,0 @@
    16.4 -\chapter{Comparison of \MTA{}s}
    16.5 -
    16.6 -% http://shearer.org/MTA_Comparison
    16.7 -% http://www.geocities.com/mailsoftware42/
    16.8 -% http://fanf.livejournal.com/50917.html
    16.9 -% http://archives.neohapsis.com/archives/postfix/2006-07/1762.html
   16.10 -% http://www.oreillynet.com/lpt/a/6849
   16.11 -% http://www.mailradar.com/mailstat/
   16.12 -
   16.13 -\section{First release}
   16.14 -sendmail: 1983
   16.15 -
   16.16 -postfix: 1999
   16.17 -
   16.18 -qmail: 1996 (first beta 0.70), 1997 (first general 1.0)
   16.19 -
   16.20 -exim: 1995
   16.21 -
   16.22 -masqmail: 1999
   16.23 -
   16.24 -exchange: 1993
   16.25 -
   16.26 -
   16.27 -\section{Lines of code (with sloccount on debian packages)}
   16.28 -sendmail: 93k
   16.29 -
   16.30 -postfix: 92k
   16.31 -
   16.32 -qmail: 18k
   16.33 -
   16.34 -exim: 54k
   16.35 -
   16.36 -masqmail: 14k
   16.37 -
   16.38 -exchange: (no source available)
   16.39 -
   16.40 -
   16.41 -\section{Architecture}
   16.42 -sendmail: monolitic
   16.43 -
   16.44 -postfix: modular
   16.45 -
   16.46 -qmail: modular
   16.47 -
   16.48 -exim: monolitic
   16.49 -
   16.50 -masqmail: monolitic
   16.51 -
   16.52 -exchange: (unknown)
   16.53 -
   16.54 -
   16.55 -\section{Design goals}
   16.56 -sendmail: flexibility
   16.57 -
   16.58 -postfix: performance and security
   16.59 -
   16.60 -qmail: security
   16.61 -
   16.62 -exim: general, flexible \& extensive facilities for checking
   16.63 -
   16.64 -masqmail: for non-permanent internet connection
   16.65 -
   16.66 -exchange: groupware
   16.67 -
   16.68 -
   16.69 -\section{Market share (by Bernstein in 2001)}
   16.70 -sendmail: 42\%
   16.71 -
   16.72 -postfix: 1.6\%
   16.73 -
   16.74 -qmail: 17\%
   16.75 -
   16.76 -exim: 1.6\%
   16.77 -
   16.78 -masqmail: (unknown)
   16.79 -
   16.80 -exchange: 18\%
   16.81 -
   16.82 -
   16.83 -
   16.84 -
   16.85 -1) complexity
   16.86 -
   16.87 -2) security
   16.88 -
   16.89 -3) simplicity of configuration and administration
   16.90 -
   16.91 -4) flexibility of configuration and administration
   16.92 -
   16.93 -5) code size
   16.94 -
   16.95 -6) code quality
   16.96 -
   16.97 -7) documentation (amount and quality)
   16.98 -
   16.99 -8) community (amount and quality)
  16.100 -
  16.101 -9) used it myself
  16.102 -
  16.103 -10) had problems with it
    17.1 --- a/thesis/tex/1-Introduction.tex	Thu Nov 13 15:30:25 2008 +0100
    17.2 +++ b/thesis/tex/1-Introduction.tex	Thu Nov 13 23:24:52 2008 +0100
    17.3 @@ -88,7 +88,3 @@
    17.4  \sendmail\ is not only ported to many platforms, even including \name{Microsoft Windows}, but also it is still the prefered \MTA\ on many systems.
    17.5  
    17.6  For deeper knowledge on \sendmail's history, see \cite{costales97} and \cite{vixie01}.
    17.7 -
    17.8 -
    17.9 -\section{A look at Windows}
   17.10 -% TODO: add content here
    18.1 --- a/thesis/tex/1-Masqmail.tex	Thu Nov 13 15:30:25 2008 +0100
    18.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    18.3 @@ -1,107 +0,0 @@
    18.4 -\chapter{\masqmail}
    18.5 -
    18.6 -%TODO: have text by oliver here?
    18.7 -
    18.8 -
    18.9 -\section{Target field}
   18.10 -Its original author, Oliver Kurth, sees \masqmail\ so:
   18.11 -\begin{quote}
   18.12 -MasqMail is a mail server designed for hosts that do not have a permanent internet connection eg. a home network or a single host at home. It has special support for connections to different ISPs. It replaces sendmail or other MTAs such as qmail or exim.
   18.13 -\end{quote}
   18.14 -
   18.15 -\masqmail\ is inteded to cover a specific niche: non-permanent internet connection and different \NAME{ISP}s.
   18.16 -
   18.17 -Although it can basically replace other \MTA{}s, it is not generally aimed to do so. The package description of \debian\citeweb{packages.debian:masqmail} states this more clearly by changing the last sentence to:
   18.18 -\begin{quote}
   18.19 -In these cases, MasqMail is a slim replacement for full-blown MTAs such as sendmail, exim, qmail or postfix.
   18.20 -\end{quote}
   18.21 -\masqmail\ is a good replacement ``in these cases'', but not generally, since is lacks features essential for running on mail servers. It is primarily not secure enough for being accessable from untrusted locations.
   18.22 -
   18.23 -The program is best used in home networks, which are non-permanently connected to the internet. \masqmail\ sends mail to local destinations, like users on the same machine and on other machines in the local net, immediately. Email to recipients outside the local net are queued when offline and sent when a online connection gets established.
   18.24 -
   18.25 -Further more does \masqmail\ respect online connections through different \NAME{ISP}s; a common thing for dial-up connections. In particular can different sender addresses be set, dependent on the \NAME{ISP} that is used. This prevents mail to be likely classified as spam.
   18.26 -
   18.27 -
   18.28 -
   18.29 -\section{Typical usage}
   18.30 -This section describes situations that make senseful use of \masqmail.
   18.31 -
   18.32 -A home network consisting of some workstations without a server. The network is connected to the internet by dial-up or broadband. Going online is initiated by computers inside the local net. \NAME{IP} addresses change at least once every day.
   18.33 -
   18.34 -Every workstation would be equiped with \masqmail. Mail transfer within the same machine or within the local net works straight forward. Outgoing mail to the internet is sent, to the concerning \NAME{ISP} for relaying, whenever the router goes online. Receiving of mail from outside needs to be done by a mail fetch program, like the \masqmail\ internal \NAME{POP3} client or \name{fetchmail} for example. The configuration for \masqmail\ would be the same on every computer, except the hostname.
   18.35 -
   18.36 -For the same network but having a server, one could have \masqmail\ running on the server and using simple forwarders (see \ref{subsec:relay-only}) to the server on the workstations. This setup does only support mail transfer to the server, but not back to a workstation; also sending mail to another user on the same workstation is not possible.
   18.37 -
   18.38 -A better setup is to run \masqmail\ on every machine %FIXME
   18.39 -
   18.40 -
   18.41 -
   18.42 -\section{What makes it special}
   18.43 -
   18.44 -As main advantage, \masqmail\ makes it easy to set up an \MTA\ on workstations or notebooks without the need to do complex configuration or to be an mail server expert.
   18.45 -
   18.46 -Workstations use %FIXME
   18.47 -
   18.48 -
   18.49 -\section{Alternatives?}
   18.50 -% http://anfi.homeunix.org/sendmail/dialup10.html
   18.51 -
   18.52 -
   18.53 -\section{Structure}
   18.54 -Like its anchestor \sendmail, \masqmail\ is a monolitic program. It consists of only one \emph{setuid root}\footnote{Runs as user root, no matter which user invoked it.}\index{setuid root} binary file, named \path{masqmail}. All functionality is included in it; of course some more comes from dynamic libraries linked.
   18.55 -
   18.56 -The \masqmail\ executable can be called under various names for \name{sendmail-compatibility} reasons. This is commonly organized by creating symbolic links with with different names to the \masqmail\ executable. These are \path{/usr/lib/sendmail} and \path{/usr/sbin/sendmail} because many programs expect a \mta\ to be located there. Further more \sendmail\ provides shortcuts by calling it with a different name instead of supplying command line arguments. The best known of it is \path{mailq}, which is equivilent to calling the \MTA\ with the argument \verb+-bq+. \masqmail\ reacts to the names \path{mailq}, \path{smtpd}, \path{mailrm}, \path{runq}, \path{rmail}, and \path{in.smtpd}. The last four are an addition to \sendmail. Not implemented is the name \path{newaliases} because it is not relevant to \masqmail. To provide the command nonetheless, one may write a shell script located at \path{/usr/bin/newaliases}, that simply invokes \verb+masqmail -bi+.
   18.57 -
   18.58 -%masqmail: mailq, mailrm, runq, rmail, smtpd/in.smtpd
   18.59 -%sendmail: hoststat, mailq, newaliases, purgestat, smtpd
   18.60 -
   18.61 -\masqmail\ is written in the \NAME{C} programming language. The program, as of version 0.2.21, consists of 34 source code and eight header files, containing about 9,000 lines of code\footnote{Measured with \name{sloccount} by David A.\ Wheeler.}. Additionally, it includes a \name{base64} implementation (about 300 lines) and \name{md5} code (about 150 lines). For systems that do not provide \name{libident}, this library is distributed as well (circa 600 lines); an available shared library however has higher precedence in linking.
   18.62 -
   18.63 -The only mandatory dependency is \name{glib}---a cross-platform software utility library, originated in the \NAME{GTK+} project. It provides safer replacements for many standard library functions. (The unsafe \verb+sprintf()+ is one example.) Also it offers handy data containers, easy-to-use implementations of data structures, and much more.
   18.64 -
   18.65 -With \masqmail\ comes the small tool \path{mservdetect}; it helps setting up a configuration that uses the \name{mserver} system to detect the online state. Two other binaries get compiled for testing purposes: \path{readtest} and \path{smtpsend}. All three programms use \masqmail\ source code; they only add a file with a \verb+main()+ function each.
   18.66 -
   18.67 -\masqmail\ does not provide an interface for modules with additional functionality. There exists no add-on or module system. But the code is separated by function to the various source files, and some functional parts can be included or excluded by defining symbols. This means adding some argument (like \verb+--enable-maildir+) to the \verb+configure+ call. Thus the concerning code gets not removed by the preprocessor.
   18.68 -
   18.69 -
   18.70 -\section{Features}
   18.71 -This overview regards \masqmail version 0.2.21, the state this document starts off.
   18.72 -
   18.73 -First of all \masqmail\ is an \MTA. Therefor it accepts mail on the command line and via \SMTP. Mail queueing and alias expansion is supported. \masqmail\ is able to deliver mail to local mailboxes (in \name{mbox} or \name{maildir} format) or pass it to a \name{mail delivery agent} (like \name{procmail}). Mail destinated to remote locations is sent via \SMTP. Outgoing \SMTP\ connections feature \name{SMTP-Auth} and \name{SMTP-after-POP} authentication, but incoming \SMTP\ does not.
   18.74 -
   18.75 -As \masqmail\ is focused on non-permanent Internet connections, online state can be queried by three methods: reading from a file, reading the output of a command, or by asking an \name{mserver}. Each method may return a string indicating one of the available routes being online, or returning nothing to indicate offline state.
   18.76 -
   18.77 -Delivery to recipients on the local host or in local nets is done at once; delivery to recipients on the Internet is only done when being online, and queued otherwise. Each online route may have a different mail server to which mail is relayed. Return address headers are modified appropriate if wished.
   18.78 -
   18.79 -Additional to the \mta\ job, \masqmail\ also offers mail retrieval services with being a \NAME{POP3} client. Thus it can fetch mail from remote locations, dependent on the active online route.
   18.80 -
   18.81 -
   18.82 -
   18.83 -\section{History}
   18.84 -%TODO: let oliver prove read it!
   18.85 -%FIXME: add references
   18.86 -%FIXME: where does the name come from: masqdialer (guessed)
   18.87 -
   18.88 -The date of the first release (version 0.0.1) is unknown.
   18.89 -The only information available is, that it was packaged for \debian\ at 15\nth\ of September in 1999.
   18.90 -Further releases were made every few weeks or month during 2000, 2001 and 2002.
   18.91 -Development ended in mid-2003 in a hard stop.
   18.92 -The last ordinary release known to me is version 0.2.20, released on 4\nth\ of June in 2003.
   18.93 -
   18.94 -During the time of development, Oliver released 53 versions.
   18.95 -That means a new release in less than every 20 days in average!
   18.96 -
   18.97 -Mentionable are the four \emph{beta} releases of version 0.1.8 (named with the trailing letters `a' to `d') in winter 2000/2001 and the security-fix 0.1.15.1 in 2002.
   18.98 -
   18.99 -One extra release (version 0.2.21) was made by him in November 2005.
  18.100 -This one is only available from the \debian\ pool.
  18.101 -Comparing it to version 0.2.20 shows, that no source code was altered.
  18.102 -Only building documents (like Makefiles) and \debian\ packageing documents were changed.
  18.103 -That leeds to the assumption that this last release was specificly created for the needs of \debian---to fix some errors in the package.
  18.104 -
  18.105 -In May 2000 the minor version number increased to `1'.
  18.106 -Nothing special is mentioned in the documentation about that.
  18.107 -When it increased again to start the 0.2.x releases, Oliver titled them as the ``development branch'' of \masqmail.
  18.108 -At that second time, he started developing the 0.2.x ``development branch'', continuing to work on the 0.1.x series.
  18.109 -His parallel work on both branches lasted for four month, and one additional last release, numbered 0.1.17, one more year later.
  18.110 -
    19.1 --- a/thesis/tex/2-FutureOfCommunication.tex	Thu Nov 13 15:30:25 2008 +0100
    19.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    19.3 @@ -1,120 +0,0 @@
    19.4 -\chapter{The future of communication}
    19.5 -\label{chap:future-of-communication}
    19.6 -As globalization proceeds, long distance communication becomes more and more important. This chapter tries to locate trends in communication methods and their impact on the future for communication. The insights gathered from the analysis will be applied to \masqmail, afterwards.
    19.7 -
    19.8 -
    19.9 -\section{Communication methods}
   19.10 -\label{sec:communication-methods}
   19.11 -Today's long distance communication methods are either written or spoken information. And on the other side, they can be classified by the time between responses.
   19.12 -
   19.13 -A classification of long distance communication methods is shown in figure %\ref{fig:}.
   19.14 -% slow     |              |             |
   19.15 -%          |              | letter      | days
   19.16 -%          |              |             |
   19.17 -%          |              |             |
   19.18 -%          | answering    | email       |
   19.19 -%          |   machine    | telefax     | few seconds
   19.20 -%          |              | SMS         |
   19.21 -% fast     |              |             |
   19.22 -%          | telephone    | IM          | real time
   19.23 -% -----------------------------------------------------
   19.24 -% response | spoken       | written     | delivery time
   19.25 -
   19.26 -% TODO: find reference literature
   19.27 -
   19.28 -\subsection{Speed}
   19.29 -Communication gets faster in general. Slow mediums as letters get substituted by electronic mail, which is delivered within seconds. Also communication becomes more transmitted through digital channels. This can be seen at the telephone which's information is now more and more transported in bits over the internet link. Also telefaxes are succeeded by email or are transported within email. Instant messaging can be seen as the written couterpart to the telephone; not to substitute it completely, but to be used if it is more useful for the information to transmit.
   19.30 -
   19.31 -Many of the digital communication methods gained success by beeing cheaper than their counterparts. One example here is instant messaging in contrast to the telephone. As phoning costs fell, it became more popular again. The last years showed, that communication cost degreased dropped generally, caused by the transport through digital channels. And nothing to see, that would make them rise again.
   19.32 -
   19.33 -It seems as if in future will be low-cost communication methods available, which will be digitally transmitted.
   19.34 -
   19.35 -\subsection{Variety}
   19.36 -Regarding the variety of communication methods shows a change, too. Communication systems are more easy to establish today, so more get established. This leads to more methods a person uses. But not only in the amount, also in parallel. For example when two people talk to each other on the phone, one might send a URI\footnote{Uniform Resource Identifier} by email meanwhile, because oral communication is not well suited to exchange such data. Another example for in parallel used communication channels is video chatting. Ony typically sees the other person, talks to it, and additionally has a instant messaging facility for exchanging written information.
   19.37 -
   19.38 -Parallel usage of different kinds of communication channels will be important in future. The most common combinations are one for spoken and one for written information. But one for dialogs and one for sending documents will be important too.
   19.39 -
   19.40 -\subsection{Hardware}
   19.41 -Next about the hardware needed for communicating. On the one side stands the telephone, now available as the mobile phone. It provides spoken dialog by calling, spoken messages with the included answering machine and written messages in form of short message service. On the other side stands the letter and its relatives. They need pen and paper, a telefax machine or in most today's cases a computer. They typically send documents, only instant messaging is focused on dialog.
   19.42 -
   19.43 -The last years finally brought the two groups together, with \name{smart phones} being the merging element. Smart phones are computers in the size of mobile phones. They provide both functions, using it as telephones and as computers.
   19.44 -
   19.45 -It matches well the requirements of telephoning and short message service, for which it was designed of course. Also providing being suitable for instant messaging in what is needed additionally to the telephone and short message service. The only problem is the minimal keyboard available to insert text. This also affects writing documents in case of email. It can be done but not very comfortably. Further communication methods include voice and video messages.
   19.46 -
   19.47 -This leaves us with the need for ordinary computers for the field of exchanging documents, and as better input hardware for all written input.
   19.48 -
   19.49 -
   19.50 -
   19.51 -\section{Trends for electronic mail}
   19.52 -\label{sec:email-trends}
   19.53 -The previous section stated that electronic mail will still be important in future to complete the communication methods provided by phone and instant messaging.
   19.54 -
   19.55 -But will emailing in future not be the same as emailing now. This will mainly affect how email is transfered.
   19.56 -
   19.57 -\subsection{Provider oriented emailing}
   19.58 -Today's email structure is heavily dependent on email providers. This means, most people have email addresses from some provider. These can be the provider of their online connection (e.g.\ \NAME{AOL}, \name{T\~Online}), freemail provider (e.g.\ \NAME{GMX}, \name{Yahoo}, \name{Hotmail}) or provider that offer enhanced mail services that one needs to pay for. Outgoing mail is send either with the webmail client of the provider or using \name{mail user agent}s sending it to the provider for relay. Incoming mail is read with the webmail client or retrieved from the provider via \NAME{POP3} or \NAME{IMAP} to the local computer to be read in the \name{mail user agent}. This means all mail sending and receiving work is done by the provider.
   19.59 -
   19.60 -The reason therefor is originated in the time when people used dial-up connections to the internet. A mail server needs to be online to receive email. Sending mail is no problem, but receiving it is hardly possible with an \MTA\ being few time online. Internet service providers had servers running all day long connected to the internet. So they offered email service.
   19.61 -
   19.62 -\subsection{Provider independence}
   19.63 -Nowadays, dial-up internet access is rare; the majority has broadband internet access paying a flat rate for it. So being online or not does not affect costs anymore, even traffic is unlimited. Today it is possible to have an own mail server running at home. The last technical problem remaining are the changing \NAME{IP} addresses one gets assigned every 24 hours. But this is easily solvable with one of the dynamic \NAME{DNS} services around; they provide the mapping of a fixed domain name to the changing \NAME{IP} addresses.
   19.64 -
   19.65 -Home servers become popular in these days, for central data storage and multi media services. Being assembled of energy efficient elements, power consumption is no big problem anymore. These home servers will replace video recorders and music collections in the near future. It is also realistic that they will manage heating systems and intercoms too. Given the future leads to this direction, it is a logical step to have email and other communication will be provided by the (or one of) the own server aswell.
   19.66 -
   19.67 -After \mta{}s have not been popular for users in the last time, the next years might bring them back to them. Maybe in a few years nearly everyone will have one running at home \dots\ possibly without knowing about it.
   19.68 -
   19.69 -\subsection{Is email future-safe?}
   19.70 -It seems as if electronic mail or a similar technology has good chances to survive the next decades. This bases on the assumption that it always will be important to send information messages. These can be notes from other people, or notifications from systems (like a broken or full hard drive in the home server, or the coffee machine ran out of coffee beans). Other communication technologies are not as suitable for this kind of messages, as email, short message service, voice mail, and the like. Telephone talks are more focused on dialog and normally interrupt people. These kind of messages should not interrupt people, unless urgent, and they do not need two-way information exchange. The second argument appies to instant messaging too. If only one message is to be send, one does not need instant messaging. Thus, one type of one-way message sending technology will survive.
   19.71 -
   19.72 -Whether email will be the one surviving, or short message service, or another one, does not matter. Probably it will be \name{unified messaging}, which includes all of the other ones in it, anyway. \MTA{}s are a kind of software needed for all of these messaging methods---programs that transfer and receive messages.
   19.73 -
   19.74 -\subsection{Pushing versus polling}
   19.75 -The retrieval of email is a field that is about to change now. The old way is to fetch email by polling the server that holds the personal mail box. This polling is done in regular intervals, often once every five to thirty minutes. The mail transfer from the mail box to the \name{mail user agent} is initiated from the mail client side. The disadvantage herewith is the delay between mail actually arriving on the server and the user finally having the message on his screen.
   19.76 -
   19.77 -To remove this disadvantage, \name{push email} was invented. Here the server is not polled every few minutes about new mail, but the server pushes new mail directly to the client on arrival. The transfer is initiated by the server. This concept became popular with the smart phones; they were able to do emailing, but the traffic caused by polling the server often was expensive. The concept workes well with mobile phones where the provider knows about the client, but it seems not to be a choice for computers since the provider needs to have some kind of login to push data to the computer.
   19.78 -
   19.79 -The push concept, however could swap over to computers when using a home server and no external provider. A possible scenario is a home server receiving mail from the internet and pushing it to computers and smart phones. The configuration could be done by the user through some simple interface, like one configures his telephone system to have different telephone numbers ring on specified phones.
   19.80 -%FIXME: add reference to push email
   19.81 -
   19.82 -\subsection{Internet Mail 2000}
   19.83 -Another concept to redesign the electronic mail system, but this time focused on mail transfer is named ``Internet Mail 2000''. It was proposed by Daniel J.\ Bernstein, the creater of \name{qmail}. Similar approaches were independently introduced by others too.
   19.84 -
   19.85 -As main change it makes the sender have the responsibility of mail storage; only a notification about a mail message gets send to the receiver, who can fetch the message then from the sender's server. This is in contrast to the \NAME{SMTP} mail architecture, where mail and the responsibility for it is transfered from the sender to the receiver.
   19.86 -
   19.87 -\name{Mail transfer agent}s are still important in this mail architecture, but in a slightly different way. Their job is not transfering mail anymore---this makes the name missleading---they are used to transport the notifications about new mail to the destinations. This is a quite similar job as they do in the \NAME{SMTP} model. The real transfer of the mail can be done in any way, for example via \NAME{FTP} or \NAME{SCP}.
   19.88 -
   19.89 -%FIXME: add references for IM2000
   19.90 -
   19.91 -
   19.92 -
   19.93 -\section{\NAME{SWOT} analysis}
   19.94 -%TODO
   19.95 -
   19.96 -
   19.97 -
   19.98 -\section{What will be important}
   19.99 -\label{sec:important-for-mtas}
  19.100 -Now that it is explained why email will survive (in some changed but related form), it is time to think about the properties required for \mta{}s in the next years. As the fields and kinds of usage change, the requirement change too.
  19.101 -
  19.102 -Provider independence through running an own mail server at home asks for easy configuration of the \MTA. Providers have specialists to configure the systems, but ordinary people do not. Solutions are either having some home service system for computer configuration established with specialists coming to one's home to set up the systems; like it is already common for problems with the power supply or water supply system. Or configuration needs to be easy and fool-prove, to be done by the owner himself. The latter solution depends on standardized parts that fit together seamlessly. The technology itself must not be a problem itself. Only settings custom to the users environment should be left open for him to set. This of course needs to be doable on a simple configuration interface like a web interface; non-technical educated users should be able to configure the system.
  19.103 -
  19.104 -\sendmail\ and \name{qmail} appear to have bad positions at this point. Their configuration is complex, thus they would need simplification wrappers around them to provide easy configuration.
  19.105 -
  19.106 -The approach of wrappers around the main program to make it look easier to the outside is a good concept in general. %FIXME: add ref
  19.107 -It still lets the specialist do complex and detailed configuration, and also offering a simple configuration interface to novices. Further more is it well suited to provide various wrappers with different user interfaces (e.g.\ a graphical program, a website, a command line program; all of them either in a questionaire style or iteractive).
  19.108 -
  19.109 -When \MTA{}s become popular on home servers and maybe even on workstations and smart phones, then performance will be less important. Providers need \mta{}s that process a large amount of mail in short time. Home servers or workstations however, do not see that much mail; they need to handle tens or hundrets of email messages per hour. Thus performance will probably not be a main requirement for an \MTA\ in the future, if they mainly run on private machines.
  19.110 -
  19.111 -\name{postfix} focuses much on performance, this might not be an important point then.
  19.112 -
  19.113 -New mailing concepts and architectures like push email or \name{Internet Mail 2000} will, if they succeed, require \mta{}s to adopt the new technology. \MTA{}s that are not able to change are going to be sorted out by evolution. Thus it is important to not focus too much on one use case, but to stay flexible. Allman saw this property of \sendmail\ one reason for its huge success (see section \ref{sec:sendmail}).
  19.114 -
  19.115 -Another important requirement for all kinds of software will be security. There is a constant trend going from completely non-secured software from the 70s and 80s over growing security awareness in the 90s to security being a primary goal now. This leads to the conclusion that software security will even more important in the next years. As more clients get connected to the internet and especially more computers are waiting for incoming connections (like an \MTA\ in a home server), there are more possibilities to break into systems. Securing software systems will be done with increasing effort in future.
  19.116 -
  19.117 -``Plug-and-play''-able hardware with preconfigured software running can be expected to become popular. Like someone buys a set-top box to watch Pay-TV today, he might be buying a box acting as mail server in a few years. He plugs the power cable in, inserts his email address in a web interface and selects the clients (workstation computers or smart phones) to which mail should be send and from which mail is accepted to receive. That's all. It would just work then, like everyone expects it from a set-top box today.
  19.118 -
  19.119 -Containing secure and robust software is a pre-requisite for such boxes to make that vision possible.
  19.120 -
  19.121 -It seems as if all widely used \mta{}s provide good security nowadays. \name{qmail}'s architecture, also used in \name{postfix}, is generally seen to be conceptually more secure, however.
  19.122 -
  19.123 -In summary: easy configuration, aswell as the somehow opposed flexibility will be important for future \mta{}s. Also will it be security, but not performance. \MTA{}s might become more commodity software, like web servers already are today, with the purpose to include it in many systems and the need of minimal configuration.
    20.1 --- a/thesis/tex/2-FuturesForMasqmail.tex	Thu Nov 13 15:30:25 2008 +0100
    20.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    20.3 @@ -1,18 +0,0 @@
    20.4 -\chapter{Futures for \masqmail}
    20.5 -
    20.6 -\section{\masqmail\ in five years}
    20.7 -\label{sec:masqmail-in-5-years}
    20.8 -Now how could \masqmail\ be like in, say, five years?
    20.9 -%requirements
   20.10 -%which parts to do
   20.11 -%how to make masqmail future-safe
   20.12 -
   20.13 -%how to advertise masqmail
   20.14 -%difference for free software
   20.15 -%why is it worth to revive masqmail?
   20.16 -
   20.17 -
   20.18 -\section{A design from scratch}
   20.19 -%what would be needed
   20.20 -%would one create it at all?
   20.21 -
    21.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    21.2 +++ b/thesis/tex/2-MailTransferAgents.tex	Thu Nov 13 23:24:52 2008 +0100
    21.3 @@ -0,0 +1,365 @@
    21.4 +\chapter{Mail transfer agents}
    21.5 +
    21.6 +\section{\unix\ \MTA{}s}
    21.7 +
    21.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.
    21.9 +
   21.10 +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.
   21.11 +
   21.12 +
   21.13 +\section{Types of \MTA{}s}
   21.14 +``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}.}
   21.15 +
   21.16 +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.
   21.17 +
   21.18 +Following are groups of \mta{}s that will \emph{not} be regarded further.
   21.19 +
   21.20 +\subsection{Relay-only \MTA{}s}
   21.21 +\label{subsec:relay-only}
   21.22 +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.
   21.23 +
   21.24 +Most \MTA{}s can be configured to act as such a \name{forwarder}. But this is usually an additional functionality.
   21.25 +
   21.26 +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.
   21.27 +
   21.28 +Examples for that group are: \name{nullmailer}, \name{ssmtp} and \name{esmtp}.
   21.29 +
   21.30 +
   21.31 +\subsection{Groupware}
   21.32 +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.
   21.33 +
   21.34 +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.
   21.35 +
   21.36 +Examples are: \name{Lotus Notes}, \name{Microsoft Exchange}, \name{OpenGroupware.org} and \name{eGroupWare}.
   21.37 +
   21.38 +
   21.39 +\subsection{``Real'' \MTA{}s}
   21.40 +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''.
   21.41 +
   21.42 +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?
   21.43 +
   21.44 +This group is of importance in this document. The programs selected for the comparison are ``real \MTA{}s''.
   21.45 +
   21.46 +
   21.47 +
   21.48 +\subsection{Programs to sort out}
   21.49 +
   21.50 +\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.
   21.51 +
   21.52 +\subsection{Non-\emph{sendmail-compatible} \MTA{}s}
   21.53 +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.
   21.54 +
   21.55 +Hence all \MTA{}s not having a \emph{sendmail-compatible} interface or not offering it as a compatibility addon, will not be covered here.
   21.56 +
   21.57 +An Examples here is \name{Apache James}.  %FIXME: check if correct
   21.58 +
   21.59 +
   21.60 +\subsection{Non-free software}
   21.61 +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.
   21.62 +
   21.63 +The comparison should be seen from \masqmail's point of view, so non-free software is out of the way.
   21.64 +
   21.65 +
   21.66 +
   21.67 +\section{Popular \MTA{}s}
   21.68 +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.
   21.69 +
   21.70 +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
   21.71 +
   21.72 +\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}.
   21.73 +
   21.74 +Other members are: \name{smail}, \name{zmailer}, \name{mmdf}, and more; they all are less important and rarely used.
   21.75 +
   21.76 +Following is a small introduction to each of the five programs chosen for comparision.
   21.77 +
   21.78 +\subsection{\sendmail}
   21.79 +\label{sec:sendmail}
   21.80 +\sendmail\ is the most popular \mta. Since it was one of the first \MTA{}s and was shipped by many vendors of \unix\ systems.
   21.81 +
   21.82 +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.
   21.83 +
   21.84 +\sendmail\ is focused on transfering mails between different protocols and networks, this lead to a very flexible (though complex) configuration.
   21.85 +
   21.86 +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.}.
   21.87 +
   21.88 +Further development will go into the project \name{MeTA1} which succeeds \sendmail.
   21.89 +
   21.90 +More information can be found on the \sendmail\ homepage \citeweb{sendmail:homepage} and on \citeweb{wikipedia:sendmail} and \citeweb{jdebp}.
   21.91 +
   21.92 +
   21.93 +\subsection{\name{qmail}}
   21.94 +\label{sec:qmail}
   21.95 +\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.
   21.96 +
   21.97 +\name{qmail} first introduced may innovative concepts in \mta\ design and is generally seen as the first security-aware \MTA\ developed.
   21.98 +
   21.99 +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.
  21.100 +
  21.101 +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}.
  21.102 +
  21.103 +
  21.104 +\subsection{\name{postfix}}
  21.105 +\label{sec:postfix}
  21.106 +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.
  21.107 +
  21.108 +Today \name{postfix} is taken by many \unix systems and \gnulinux distributions as default \MTA.
  21.109 +
  21.110 +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.
  21.111 +
  21.112 +Additional information is available on the program's homepage \citeweb{postfix:homepage}, on \citeweb{jdebp} and \citeweb{wikipedia:postfix}.
  21.113 +
  21.114 +
  21.115 +\subsection{\name{exim}}
  21.116 +\label{sec:exim}
  21.117 +\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.
  21.118 +
  21.119 +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.
  21.120 +
  21.121 +\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.
  21.122 +
  21.123 +The program is \freesw, released under the \GPL. The latest stable version is 4.69 from December 2007.
  21.124 +
  21.125 +One finds \name{exim} on its homepage \citeweb{exim:homepage}. More information about it can be retrieved from \citeweb{wikipedia:exim} and \citeweb{jdebp}.
  21.126 +
  21.127 +
  21.128 +\subsection{\masqmail}
  21.129 +\label{sec:masqmail}
  21.130 +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.
  21.131 +
  21.132 +\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.
  21.133 +
  21.134 +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.
  21.135 +
  21.136 +\masqmail\ is released under the \GPL, which makes it \freesw. The latest stable version is 0.2.21 from November 2005.
  21.137 +
  21.138 +The program's new homepage \citeweb{masqmail:homepage} provides further information about this \MTA.
  21.139 +
  21.140 +
  21.141 +
  21.142 +
  21.143 +\section{Comparison of \MTA{}s}
  21.144 +
  21.145 +% http://shearer.org/MTA_Comparison
  21.146 +% http://www.geocities.com/mailsoftware42/
  21.147 +% http://fanf.livejournal.com/50917.html
  21.148 +% http://archives.neohapsis.com/archives/postfix/2006-07/1762.html
  21.149 +% http://www.oreillynet.com/lpt/a/6849
  21.150 +% http://www.mailradar.com/mailstat/
  21.151 +
  21.152 +\subsection{First release}
  21.153 +sendmail: 1983
  21.154 +
  21.155 +postfix: 1999
  21.156 +
  21.157 +qmail: 1996 (first beta 0.70), 1997 (first general 1.0)
  21.158 +
  21.159 +exim: 1995
  21.160 +
  21.161 +masqmail: 1999
  21.162 +
  21.163 +exchange: 1993
  21.164 +
  21.165 +
  21.166 +\subsection{Lines of code (with sloccount on debian packages)}
  21.167 +sendmail: 93k
  21.168 +
  21.169 +postfix: 92k
  21.170 +
  21.171 +qmail: 18k
  21.172 +
  21.173 +exim: 54k
  21.174 +
  21.175 +masqmail: 14k
  21.176 +
  21.177 +exchange: (no source available)
  21.178 +
  21.179 +
  21.180 +\subsection{Architecture}
  21.181 +sendmail: monolitic
  21.182 +
  21.183 +postfix: modular
  21.184 +
  21.185 +qmail: modular
  21.186 +
  21.187 +exim: monolitic
  21.188 +
  21.189 +masqmail: monolitic
  21.190 +
  21.191 +exchange: (unknown)
  21.192 +
  21.193 +
  21.194 +\subsection{Design goals}
  21.195 +sendmail: flexibility
  21.196 +
  21.197 +postfix: performance and security
  21.198 +
  21.199 +qmail: security
  21.200 +
  21.201 +exim: general, flexible \& extensive facilities for checking
  21.202 +
  21.203 +masqmail: for non-permanent internet connection
  21.204 +
  21.205 +exchange: groupware
  21.206 +
  21.207 +
  21.208 +\subsection{Market share (by Bernstein in 2001)}
  21.209 +sendmail: 42\%
  21.210 +
  21.211 +postfix: 1.6\%
  21.212 +
  21.213 +qmail: 17\%
  21.214 +
  21.215 +exim: 1.6\%
  21.216 +
  21.217 +masqmail: (unknown)
  21.218 +
  21.219 +exchange: 18\%
  21.220 +
  21.221 +
  21.222 +
  21.223 +
  21.224 +1) complexity
  21.225 +
  21.226 +2) security
  21.227 +
  21.228 +3) simplicity of configuration and administration
  21.229 +
  21.230 +4) flexibility of configuration and administration
  21.231 +
  21.232 +5) code size
  21.233 +
  21.234 +6) code quality
  21.235 +
  21.236 +7) documentation (amount and quality)
  21.237 +
  21.238 +8) community (amount and quality)
  21.239 +
  21.240 +9) used it myself
  21.241 +
  21.242 +10) had problems with it
  21.243 +
  21.244 +
  21.245 +
  21.246 +\section{The future of communication}
  21.247 +\label{chap:future-of-communication}
  21.248 +As globalization proceeds, long distance communication becomes more and more important. This chapter tries to locate trends in communication methods and their impact on the future for communication. The insights gathered from the analysis will be applied to \masqmail, afterwards.
  21.249 +
  21.250 +
  21.251 +\subsection{Communication methods}
  21.252 +\label{sec:communication-methods}
  21.253 +Today's long distance communication methods are either written or spoken information. And on the other side, they can be classified by the time between responses.
  21.254 +
  21.255 +A classification of long distance communication methods is shown in figure %\ref{fig:}.
  21.256 +% slow     |              |             |
  21.257 +%          |              | letter      | days
  21.258 +%          |              |             |
  21.259 +%          |              |             |
  21.260 +%          | answering    | email       |
  21.261 +%          |   machine    | telefax     | few seconds
  21.262 +%          |              | SMS         |
  21.263 +% fast     |              |             |
  21.264 +%          | telephone    | IM          | real time
  21.265 +% -----------------------------------------------------
  21.266 +% response | spoken       | written     | delivery time
  21.267 +
  21.268 +% TODO: find reference literature
  21.269 +
  21.270 +\paragraph{Speed}
  21.271 +Communication gets faster in general. Slow mediums as letters get substituted by electronic mail, which is delivered within seconds. Also communication becomes more transmitted through digital channels. This can be seen at the telephone which's information is now more and more transported in bits over the internet link. Also telefaxes are succeeded by email or are transported within email. Instant messaging can be seen as the written couterpart to the telephone; not to substitute it completely, but to be used if it is more useful for the information to transmit.
  21.272 +
  21.273 +Many of the digital communication methods gained success by beeing cheaper than their counterparts. One example here is instant messaging in contrast to the telephone. As phoning costs fell, it became more popular again. The last years showed, that communication cost degreased dropped generally, caused by the transport through digital channels. And nothing to see, that would make them rise again.
  21.274 +
  21.275 +It seems as if in future will be low-cost communication methods available, which will be digitally transmitted.
  21.276 +
  21.277 +\paragraph{Variety}
  21.278 +Regarding the variety of communication methods shows a change, too. Communication systems are more easy to establish today, so more get established. This leads to more methods a person uses. But not only in the amount, also in parallel. For example when two people talk to each other on the phone, one might send a URI\footnote{Uniform Resource Identifier} by email meanwhile, because oral communication is not well suited to exchange such data. Another example for in parallel used communication channels is video chatting. Ony typically sees the other person, talks to it, and additionally has a instant messaging facility for exchanging written information.
  21.279 +
  21.280 +Parallel usage of different kinds of communication channels will be important in future. The most common combinations are one for spoken and one for written information. But one for dialogs and one for sending documents will be important too.
  21.281 +
  21.282 +\paragraph{Hardware}
  21.283 +Next about the hardware needed for communicating. On the one side stands the telephone, now available as the mobile phone. It provides spoken dialog by calling, spoken messages with the included answering machine and written messages in form of short message service. On the other side stands the letter and its relatives. They need pen and paper, a telefax machine or in most today's cases a computer. They typically send documents, only instant messaging is focused on dialog.
  21.284 +
  21.285 +The last years finally brought the two groups together, with \name{smart phones} being the merging element. Smart phones are computers in the size of mobile phones. They provide both functions, using it as telephones and as computers.
  21.286 +
  21.287 +It matches well the requirements of telephoning and short message service, for which it was designed of course. Also providing being suitable for instant messaging in what is needed additionally to the telephone and short message service. The only problem is the minimal keyboard available to insert text. This also affects writing documents in case of email. It can be done but not very comfortably. Further communication methods include voice and video messages.
  21.288 +
  21.289 +This leaves us with the need for ordinary computers for the field of exchanging documents, and as better input hardware for all written input.
  21.290 +
  21.291 +
  21.292 +
  21.293 +\subsection{Trends for electronic mail}
  21.294 +\label{sec:email-trends}
  21.295 +The previous section stated that electronic mail will still be important in future to complete the communication methods provided by phone and instant messaging.
  21.296 +
  21.297 +But will emailing in future not be the same as emailing now. This will mainly affect how email is transfered.
  21.298 +
  21.299 +\paragraph{Provider oriented emailing}
  21.300 +Today's email structure is heavily dependent on email providers. This means, most people have email addresses from some provider. These can be the provider of their online connection (e.g.\ \NAME{AOL}, \name{T\~Online}), freemail provider (e.g.\ \NAME{GMX}, \name{Yahoo}, \name{Hotmail}) or provider that offer enhanced mail services that one needs to pay for. Outgoing mail is send either with the webmail client of the provider or using \name{mail user agent}s sending it to the provider for relay. Incoming mail is read with the webmail client or retrieved from the provider via \NAME{POP3} or \NAME{IMAP} to the local computer to be read in the \name{mail user agent}. This means all mail sending and receiving work is done by the provider.
  21.301 +
  21.302 +The reason therefor is originated in the time when people used dial-up connections to the internet. A mail server needs to be online to receive email. Sending mail is no problem, but receiving it is hardly possible with an \MTA\ being few time online. Internet service providers had servers running all day long connected to the internet. So they offered email service.
  21.303 +
  21.304 +\paragraph{Provider independence}
  21.305 +Nowadays, dial-up internet access is rare; the majority has broadband internet access paying a flat rate for it. So being online or not does not affect costs anymore, even traffic is unlimited. Today it is possible to have an own mail server running at home. The last technical problem remaining are the changing \NAME{IP} addresses one gets assigned every 24 hours. But this is easily solvable with one of the dynamic \NAME{DNS} services around; they provide the mapping of a fixed domain name to the changing \NAME{IP} addresses.
  21.306 +
  21.307 +Home servers become popular in these days, for central data storage and multi media services. Being assembled of energy efficient elements, power consumption is no big problem anymore. These home servers will replace video recorders and music collections in the near future. It is also realistic that they will manage heating systems and intercoms too. Given the future leads to this direction, it is a logical step to have email and other communication will be provided by the (or one of) the own server aswell.
  21.308 +
  21.309 +After \mta{}s have not been popular for users in the last time, the next years might bring them back to them. Maybe in a few years nearly everyone will have one running at home \dots\ possibly without knowing about it.
  21.310 +
  21.311 +\paragraph{Is email future-safe?}
  21.312 +It seems as if electronic mail or a similar technology has good chances to survive the next decades. This bases on the assumption that it always will be important to send information messages. These can be notes from other people, or notifications from systems (like a broken or full hard drive in the home server, or the coffee machine ran out of coffee beans). Other communication technologies are not as suitable for this kind of messages, as email, short message service, voice mail, and the like. Telephone talks are more focused on dialog and normally interrupt people. These kind of messages should not interrupt people, unless urgent, and they do not need two-way information exchange. The second argument appies to instant messaging too. If only one message is to be send, one does not need instant messaging. Thus, one type of one-way message sending technology will survive.
  21.313 +
  21.314 +Whether email will be the one surviving, or short message service, or another one, does not matter. Probably it will be \name{unified messaging}, which includes all of the other ones in it, anyway. \MTA{}s are a kind of software needed for all of these messaging methods---programs that transfer and receive messages.
  21.315 +
  21.316 +\paragraph{Pushing versus polling}
  21.317 +The retrieval of email is a field that is about to change now. The old way is to fetch email by polling the server that holds the personal mail box. This polling is done in regular intervals, often once every five to thirty minutes. The mail transfer from the mail box to the \name{mail user agent} is initiated from the mail client side. The disadvantage herewith is the delay between mail actually arriving on the server and the user finally having the message on his screen.
  21.318 +
  21.319 +To remove this disadvantage, \name{push email} was invented. Here the server is not polled every few minutes about new mail, but the server pushes new mail directly to the client on arrival. The transfer is initiated by the server. This concept became popular with the smart phones; they were able to do emailing, but the traffic caused by polling the server often was expensive. The concept workes well with mobile phones where the provider knows about the client, but it seems not to be a choice for computers since the provider needs to have some kind of login to push data to the computer.
  21.320 +
  21.321 +The push concept, however could swap over to computers when using a home server and no external provider. A possible scenario is a home server receiving mail from the internet and pushing it to computers and smart phones. The configuration could be done by the user through some simple interface, like one configures his telephone system to have different telephone numbers ring on specified phones.
  21.322 +%FIXME: add reference to push email
  21.323 +
  21.324 +\paragraph{Internet Mail 2000}
  21.325 +Another concept to redesign the electronic mail system, but this time focused on mail transfer is named ``Internet Mail 2000''. It was proposed by Daniel J.\ Bernstein, the creater of \name{qmail}. Similar approaches were independently introduced by others too.
  21.326 +
  21.327 +As main change it makes the sender have the responsibility of mail storage; only a notification about a mail message gets send to the receiver, who can fetch the message then from the sender's server. This is in contrast to the \NAME{SMTP} mail architecture, where mail and the responsibility for it is transfered from the sender to the receiver.
  21.328 +
  21.329 +\name{Mail transfer agent}s are still important in this mail architecture, but in a slightly different way. Their job is not transfering mail anymore---this makes the name missleading---they are used to transport the notifications about new mail to the destinations. This is a quite similar job as they do in the \NAME{SMTP} model. The real transfer of the mail can be done in any way, for example via \NAME{FTP} or \NAME{SCP}.
  21.330 +
  21.331 +%FIXME: add references for IM2000
  21.332 +
  21.333 +
  21.334 +\section{Market analysis}
  21.335 +
  21.336 +\subsection{\NAME{SWOT} analysis}
  21.337 +%TODO
  21.338 +
  21.339 +
  21.340 +
  21.341 +\subsection{What will be important}
  21.342 +\label{sec:important-for-mtas}
  21.343 +Now that it is explained why email will survive (in some changed but related form), it is time to think about the properties required for \mta{}s in the next years. As the fields and kinds of usage change, the requirement change too.
  21.344 +
  21.345 +Provider independence through running an own mail server at home asks for easy configuration of the \MTA. Providers have specialists to configure the systems, but ordinary people do not. Solutions are either having some home service system for computer configuration established with specialists coming to one's home to set up the systems; like it is already common for problems with the power supply or water supply system. Or configuration needs to be easy and fool-prove, to be done by the owner himself. The latter solution depends on standardized parts that fit together seamlessly. The technology itself must not be a problem itself. Only settings custom to the users environment should be left open for him to set. This of course needs to be doable on a simple configuration interface like a web interface; non-technical educated users should be able to configure the system.
  21.346 +
  21.347 +\sendmail\ and \name{qmail} appear to have bad positions at this point. Their configuration is complex, thus they would need simplification wrappers around them to provide easy configuration.
  21.348 +
  21.349 +The approach of wrappers around the main program to make it look easier to the outside is a good concept in general. %FIXME: add ref
  21.350 +It still lets the specialist do complex and detailed configuration, and also offering a simple configuration interface to novices. Further more is it well suited to provide various wrappers with different user interfaces (e.g.\ a graphical program, a website, a command line program; all of them either in a questionaire style or iteractive).
  21.351 +
  21.352 +When \MTA{}s become popular on home servers and maybe even on workstations and smart phones, then performance will be less important. Providers need \mta{}s that process a large amount of mail in short time. Home servers or workstations however, do not see that much mail; they need to handle tens or hundrets of email messages per hour. Thus performance will probably not be a main requirement for an \MTA\ in the future, if they mainly run on private machines.
  21.353 +
  21.354 +\name{postfix} focuses much on performance, this might not be an important point then.
  21.355 +
  21.356 +New mailing concepts and architectures like push email or \name{Internet Mail 2000} will, if they succeed, require \mta{}s to adopt the new technology. \MTA{}s that are not able to change are going to be sorted out by evolution. Thus it is important to not focus too much on one use case, but to stay flexible. Allman saw this property of \sendmail\ one reason for its huge success (see section \ref{sec:sendmail}).
  21.357 +
  21.358 +Another important requirement for all kinds of software will be security. There is a constant trend going from completely non-secured software from the 70s and 80s over growing security awareness in the 90s to security being a primary goal now. This leads to the conclusion that software security will even more important in the next years. As more clients get connected to the internet and especially more computers are waiting for incoming connections (like an \MTA\ in a home server), there are more possibilities to break into systems. Securing software systems will be done with increasing effort in future.
  21.359 +
  21.360 +``Plug-and-play''-able hardware with preconfigured software running can be expected to become popular. Like someone buys a set-top box to watch Pay-TV today, he might be buying a box acting as mail server in a few years. He plugs the power cable in, inserts his email address in a web interface and selects the clients (workstation computers or smart phones) to which mail should be send and from which mail is accepted to receive. That's all. It would just work then, like everyone expects it from a set-top box today.
  21.361 +
  21.362 +Containing secure and robust software is a pre-requisite for such boxes to make that vision possible.
  21.363 +
  21.364 +It seems as if all widely used \mta{}s provide good security nowadays. \name{qmail}'s architecture, also used in \name{postfix}, is generally seen to be conceptually more secure, however.
  21.365 +
  21.366 +In summary: easy configuration, aswell as the somehow opposed flexibility will be important for future \mta{}s. Also will it be security, but not performance. \MTA{}s might become more commodity software, like web servers already are today, with the purpose to include it in many systems and the need of minimal configuration.
  21.367 +
  21.368 +
    22.1 --- a/thesis/tex/3-BecomingProjectLeader.tex	Thu Nov 13 15:30:25 2008 +0100
    22.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    22.3 @@ -1,4 +0,0 @@
    22.4 -\chapter{Becoming project leader}
    22.5 -\section{History of \masqmail}
    22.6 -\section{Taking it}
    22.7 -
    23.1 --- a/thesis/tex/3-FreeSoftwareProjects.tex	Thu Nov 13 15:30:25 2008 +0100
    23.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    23.3 @@ -1,127 +0,0 @@
    23.4 -\chapter{About \freesw\ projects}
    23.5 -
    23.6 -% http://www.faqs.org/docs/artu/
    23.7 -
    23.8 -There are several differences between \freesw\ projects and projects about proprietary software.
    23.9 -To understand \freesw\ projects, one needs to understand \freesw\ itself first.
   23.10 -
   23.11 -\section{About \freesw}
   23.12 -The term ``Free Software'' was coined by the \name{Free Software Foundation} (short: \NAME{FSF}), founded by Richard~M.\ Stallman (known as ``RMS'') in 1985.
   23.13 -Although various licenses make software free, none of them represents the thinking of \freesw\ like the the \GNU\ \gpl\ (short: \GPL). Its first version was written by Stallman in 1989.
   23.14 -One could say, the \GPL\ catalized the \name{Free Software movement}.
   23.15 -
   23.16 -% http://www.fsf.org/about/what-is-free-software
   23.17 -
   23.18 -After all, the \GPL\ was not the first \freesw\ license used.
   23.19 -The \name{MIT License} (or \name{X Consortium License}) for example is older; published in 1988.
   23.20 -Licenses providing the same rights have been used since long time ago.
   23.21 -But none of them was so often (re)used by other projects---thus gattering less awareness.
   23.22 -Further more was the \GPL\ created to be a \emph{general} license for all kinds of programs, unlike most other licenses written for one particular program.
   23.23 -
   23.24 -\freesw\ gives freedoms to its users.
   23.25 -In contrast to proprietary software restricting the users freedom.
   23.26 -The freedoms (or rights) the user has are stated in the \name{Free Software Definition} of the \NAME{FSF}. Namely these are:
   23.27 -% http://www.gnu.org/philosophy/free-sw.html
   23.28 -% http://www.fsf.org/licensing/essays/free-sw.html
   23.29 -\begin{enumerate}
   23.30 -	\item The freedom to run the program, for any purpose (freedom 0).
   23.31 -	\item The freedom to study how the program works, and adapt it to your needs (freedom 1). Access to the source code is a precondition for this.
   23.32 -	\item The freedom to redistribute copies so you can help your neighbor (freedom 2).
   23.33 -	\item The freedom to improve the program, and release your improvements to the public, so that the whole community benefits (freedom 3). Access to the source code is a precondition for this.
   23.34 -\end{enumerate}
   23.35 -
   23.36 -
   23.37 -\section{The term ``Open Source''}
   23.38 -\name{Open Source Software} often stands for the same as \freesw.
   23.39 -But there is an essential difference: \name{Open Source} focuses on the availability of source code, while \freesw\ is about freedoms for people.
   23.40 -
   23.41 -\name{Open Source Software} is a subset of \freesw, meaning: All \freesw\ is \name{Open Source}, but there exists \name{Open Source Software} that is not free.
   23.42 -
   23.43 -% http://www.gnu.org/philosophy/open-source-misses-the-point.html
   23.44 -% http://catb.org/~esr/open-source.html
   23.45 -
   23.46 -
   23.47 -\section{Development of \freesw}
   23.48 -Having source code available and the right to modify it, encouridges programmers to actually do so.
   23.49 -Their modifications are manifoldly.
   23.50 -Some tailor the software to their needs.
   23.51 -Some add features.
   23.52 -Some do it just for fun.
   23.53 -There are no limitations---whoever wants to, may work on it.
   23.54 -
   23.55 -Since the boom of the internet, \freesw\ typically is developed by an open community of programmers interested in the software.
   23.56 -The process of development is watchable by everyone.
   23.57 -
   23.58 -The other, now less common, method is a more closed group, developing in a ``sealed'' room, but releasing finished versions to the public.
   23.59 -
   23.60 -Eric~S.\ Raymond discusses about these methods, which he named \name{the bazaar} and \name{the cathedral} \cite{catb}.
   23.61 -
   23.62 -The following text will focus on the ``bazaar'' model.
   23.63 -
   23.64 -
   23.65 -\section{The role of the community}
   23.66 -\freesw\ projects rise and fall with their community!
   23.67 -
   23.68 -Most \freesw\ programs are developed by a very small group of programmers, often only one person.
   23.69 -But they are used by many people.
   23.70 -In between the programmers and the users, are people located who are a bit of both.
   23.71 -These are the ones that write documentation, find bugs and probably even fix it.
   23.72 -They discuss on mailing lists, bulletin boards and \NAME{IRC} chats.
   23.73 -The program is often spread by their ``advertising''.
   23.74 -
   23.75 -The \emph{community} consists of the actual developers and all users that contribute to the program.
   23.76 -Contribution can be one of the described ways, or others like providing a server for the project website for example.
   23.77 -
   23.78 -\emph{Community} is everyone who is in contact through the project.
   23.79 -Be it on the mailing list, the discussion board, or by telling the developers about a new feature wanted.
   23.80 -
   23.81 -There will hardly be a community if no communication channels are available.
   23.82 -If the development team does not provide them, there is a chance that encouraged users set them up on their own.
   23.83 -But this is rare and the program needs to be very popular. %TODO: maybe include an example here (w3m?)
   23.84 -
   23.85 -Projects without a good community tend to die sooner or later.
   23.86 -
   23.87 -
   23.88 -\section{Evolution of a community}
   23.89 -Let us look at the process a community establishes: In most times it's only one who has an idea, in the beginning.
   23.90 -He starts developing.
   23.91 -When others get in contact with the project, there may be some who are so much interested that they start co-developing.
   23.92 -Others report bugs, and some only use the program.
   23.93 -
   23.94 -After some time, one will find a small group of core developers, a larger group of contributers (bugs, patches, documentation) and a very large group of users.
   23.95 -The size ratio of the groups vary by type of project.
   23.96 -
   23.97 -One should have that in mind, when starting a \freesw\ project.
   23.98 -
   23.99 -
  23.100 -\section{Creating a strong community}
  23.101 -Building up a good community needs some effort of the main developers.
  23.102 -%TODO: search for documents about this topic
  23.103 -
  23.104 -First communication channels need to be set up, to enable the growth of a community.
  23.105 -
  23.106 -Second, development should be visible by everyone who is interested in it.
  23.107 -Time between work done on the project and its visibility to the public should be kept short.
  23.108 -This makes it interesting for other developers to join.
  23.109 -Developers are the core of a community.
  23.110 -
  23.111 -Third, there is a rule of thumb that should be followed: ``Release early, release often!'' \cite{catb}.
  23.112 -Releases are (more) stable versions, primary for users.
  23.113 -They should be created, frequently.
  23.114 -People will more likely use programs of active projects.
  23.115 -
  23.116 -Fourth, the developers should try to get the users ``in the boat''.
  23.117 -Good communities have a large group of users that do not only receive, but also give something back to the project.
  23.118 -The project leaders should motivate users to contribute.
  23.119 -This unlocks a big work force and gets lot of unexiting work done.
  23.120 -
  23.121 -Fifth, documentation matters.
  23.122 -Good documentation makes it easy for users and developers to start.
  23.123 -And it helps to avoid a lot of unsatisfaction.
  23.124 -Documentation is something that shows quality and that people care about the project.
  23.125 -
  23.126 -And sixth, project leaders should be good souvereigns.
  23.127 -They should try to be fair, to motivate, be visionaires and try to put power and work on many shoulders.
  23.128 -
  23.129 -Not to forget: Every work that was done, every contribution that was made and every idea received needs to be honored in an appropriate way!
  23.130 -Volunteer work lives by acknowledgement of the effort spent.
    24.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    24.2 +++ b/thesis/tex/3-MasqmailProject.tex	Thu Nov 13 23:24:52 2008 +0100
    24.3 @@ -0,0 +1,218 @@
    24.4 +\chapter{The \masqmail\ project}
    24.5 +
    24.6 +%TODO: have text by oliver here?
    24.7 +
    24.8 +\section{Purpose of \masqmail}
    24.9 +
   24.10 +\subsection{Target field}
   24.11 +Its original author, Oliver Kurth, sees \masqmail\ so:
   24.12 +\begin{quote}
   24.13 +MasqMail is a mail server designed for hosts that do not have a permanent internet connection eg. a home network or a single host at home. It has special support for connections to different ISPs. It replaces sendmail or other MTAs such as qmail or exim.
   24.14 +\end{quote}
   24.15 +
   24.16 +\masqmail\ is inteded to cover a specific niche: non-permanent internet connection and different \NAME{ISP}s.
   24.17 +
   24.18 +Although it can basically replace other \MTA{}s, it is not generally aimed to do so. The package description of \debian\citeweb{packages.debian:masqmail} states this more clearly by changing the last sentence to:
   24.19 +\begin{quote}
   24.20 +In these cases, MasqMail is a slim replacement for full-blown MTAs such as sendmail, exim, qmail or postfix.
   24.21 +\end{quote}
   24.22 +\masqmail\ is a good replacement ``in these cases'', but not generally, since is lacks features essential for running on mail servers. It is primarily not secure enough for being accessable from untrusted locations.
   24.23 +
   24.24 +The program is best used in home networks, which are non-permanently connected to the internet. \masqmail\ sends mail to local destinations, like users on the same machine and on other machines in the local net, immediately. Email to recipients outside the local net are queued when offline and sent when a online connection gets established.
   24.25 +
   24.26 +Further more does \masqmail\ respect online connections through different \NAME{ISP}s; a common thing for dial-up connections. In particular can different sender addresses be set, dependent on the \NAME{ISP} that is used. This prevents mail to be likely classified as spam.
   24.27 +
   24.28 +
   24.29 +
   24.30 +\subsection{Typical usage}
   24.31 +This section describes situations that make senseful use of \masqmail.
   24.32 +
   24.33 +A home network consisting of some workstations without a server. The network is connected to the internet by dial-up or broadband. Going online is initiated by computers inside the local net. \NAME{IP} addresses change at least once every day.
   24.34 +
   24.35 +Every workstation would be equiped with \masqmail. Mail transfer within the same machine or within the local net works straight forward. Outgoing mail to the internet is sent, to the concerning \NAME{ISP} for relaying, whenever the router goes online. Receiving of mail from outside needs to be done by a mail fetch program, like the \masqmail\ internal \NAME{POP3} client or \name{fetchmail} for example. The configuration for \masqmail\ would be the same on every computer, except the hostname.
   24.36 +
   24.37 +For the same network but having a server, one could have \masqmail\ running on the server and using simple forwarders (see \ref{subsec:relay-only}) to the server on the workstations. This setup does only support mail transfer to the server, but not back to a workstation; also sending mail to another user on the same workstation is not possible.
   24.38 +
   24.39 +A better setup is to run \masqmail\ on every machine %FIXME
   24.40 +
   24.41 +
   24.42 +
   24.43 +\subsection{What makes it special}
   24.44 +
   24.45 +As main advantage, \masqmail\ makes it easy to set up an \MTA\ on workstations or notebooks without the need to do complex configuration or to be an mail server expert.
   24.46 +
   24.47 +Workstations use %FIXME
   24.48 +
   24.49 +
   24.50 +\subsection{Alternatives?}
   24.51 +% http://anfi.homeunix.org/sendmail/dialup10.html
   24.52 +
   24.53 +\section{History}
   24.54 +%TODO: let oliver prove read it!
   24.55 +%FIXME: add references
   24.56 +%FIXME: where does the name come from: masqdialer (guessed)
   24.57 +
   24.58 +The date of the first release (version 0.0.1) is unknown.
   24.59 +The only information available is, that it was packaged for \debian\ at 15\nth\ of September in 1999.
   24.60 +Further releases were made every few weeks or month during 2000, 2001 and 2002.
   24.61 +Development ended in mid-2003 in a hard stop.
   24.62 +The last ordinary release known to me is version 0.2.20, released on 4\nth\ of June in 2003.
   24.63 +
   24.64 +During the time of development, Oliver released 53 versions.
   24.65 +That means a new release in less than every 20 days in average!
   24.66 +
   24.67 +Mentionable are the four \emph{beta} releases of version 0.1.8 (named with the trailing letters `a' to `d') in winter 2000/2001 and the security-fix 0.1.15.1 in 2002.
   24.68 +
   24.69 +One extra release (version 0.2.21) was made by him in November 2005.
   24.70 +This one is only available from the \debian\ pool.
   24.71 +Comparing it to version 0.2.20 shows, that no source code was altered.
   24.72 +Only building documents (like Makefiles) and \debian\ packageing documents were changed.
   24.73 +That leeds to the assumption that this last release was specificly created for the needs of \debian---to fix some errors in the package.
   24.74 +
   24.75 +In May 2000 the minor version number increased to `1'.
   24.76 +Nothing special is mentioned in the documentation about that.
   24.77 +When it increased again to start the 0.2.x releases, Oliver titled them as the ``development branch'' of \masqmail.
   24.78 +At that second time, he started developing the 0.2.x ``development branch'', continuing to work on the 0.1.x series.
   24.79 +His parallel work on both branches lasted for four month, and one additional last release, numbered 0.1.17, one more year later.
   24.80 +
   24.81 +
   24.82 +
   24.83 +\section{Taking \masqmail}
   24.84 +
   24.85 +
   24.86 +
   24.87 +
   24.88 +\section{About \freesw\ projects}
   24.89 +
   24.90 +% http://www.faqs.org/docs/artu/
   24.91 +
   24.92 +There are several differences between \freesw\ projects and projects about proprietary software.
   24.93 +To understand \freesw\ projects, one needs to understand \freesw\ itself first.
   24.94 +
   24.95 +\subsection{About \freesw}
   24.96 +The term ``Free Software'' was coined by the \name{Free Software Foundation} (short: \NAME{FSF}), founded by Richard~M.\ Stallman (known as ``RMS'') in 1985.
   24.97 +Although various licenses make software free, none of them represents the thinking of \freesw\ like the the \GNU\ \gpl\ (short: \GPL). Its first version was written by Stallman in 1989.
   24.98 +One could say, the \GPL\ catalized the \name{Free Software movement}.
   24.99 +
  24.100 +% http://www.fsf.org/about/what-is-free-software
  24.101 +
  24.102 +After all, the \GPL\ was not the first \freesw\ license used.
  24.103 +The \name{MIT License} (or \name{X Consortium License}) for example is older; published in 1988.
  24.104 +Licenses providing the same rights have been used since long time ago.
  24.105 +But none of them was so often (re)used by other projects---thus gattering less awareness.
  24.106 +Further more was the \GPL\ created to be a \emph{general} license for all kinds of programs, unlike most other licenses written for one particular program.
  24.107 +
  24.108 +\freesw\ gives freedoms to its users.
  24.109 +In contrast to proprietary software restricting the users freedom.
  24.110 +The freedoms (or rights) the user has are stated in the \name{Free Software Definition} of the \NAME{FSF}. Namely these are:
  24.111 +% http://www.gnu.org/philosophy/free-sw.html
  24.112 +% http://www.fsf.org/licensing/essays/free-sw.html
  24.113 +\begin{enumerate}
  24.114 +	\item The freedom to run the program, for any purpose (freedom 0).
  24.115 +	\item The freedom to study how the program works, and adapt it to your needs (freedom 1). Access to the source code is a precondition for this.
  24.116 +	\item The freedom to redistribute copies so you can help your neighbor (freedom 2).
  24.117 +	\item The freedom to improve the program, and release your improvements to the public, so that the whole community benefits (freedom 3). Access to the source code is a precondition for this.
  24.118 +\end{enumerate}
  24.119 +
  24.120 +
  24.121 +\subsection{The term ``Open Source''}
  24.122 +\name{Open Source Software} often stands for the same as \freesw.
  24.123 +But there is an essential difference: \name{Open Source} focuses on the availability of source code, while \freesw\ is about freedoms for people.
  24.124 +
  24.125 +\name{Open Source Software} is a subset of \freesw, meaning: All \freesw\ is \name{Open Source}, but there exists \name{Open Source Software} that is not free.
  24.126 +
  24.127 +% http://www.gnu.org/philosophy/open-source-misses-the-point.html
  24.128 +% http://catb.org/~esr/open-source.html
  24.129 +
  24.130 +
  24.131 +\subsection{Development of \freesw}
  24.132 +Having source code available and the right to modify it, encouridges programmers to actually do so.
  24.133 +Their modifications are manifoldly.
  24.134 +Some tailor the software to their needs.
  24.135 +Some add features.
  24.136 +Some do it just for fun.
  24.137 +There are no limitations---whoever wants to, may work on it.
  24.138 +
  24.139 +Since the boom of the internet, \freesw\ typically is developed by an open community of programmers interested in the software.
  24.140 +The process of development is watchable by everyone.
  24.141 +
  24.142 +The other, now less common, method is a more closed group, developing in a ``sealed'' room, but releasing finished versions to the public.
  24.143 +
  24.144 +Eric~S.\ Raymond discusses about these methods, which he named \name{the bazaar} and \name{the cathedral} \cite{catb}.
  24.145 +
  24.146 +The following text will focus on the ``bazaar'' model.
  24.147 +
  24.148 +
  24.149 +\subsection{The role of the community}
  24.150 +\freesw\ projects rise and fall with their community!
  24.151 +
  24.152 +Most \freesw\ programs are developed by a very small group of programmers, often only one person.
  24.153 +But they are used by many people.
  24.154 +In between the programmers and the users, are people located who are a bit of both.
  24.155 +These are the ones that write documentation, find bugs and probably even fix it.
  24.156 +They discuss on mailing lists, bulletin boards and \NAME{IRC} chats.
  24.157 +The program is often spread by their ``advertising''.
  24.158 +
  24.159 +The \emph{community} consists of the actual developers and all users that contribute to the program.
  24.160 +Contribution can be one of the described ways, or others like providing a server for the project website for example.
  24.161 +
  24.162 +\emph{Community} is everyone who is in contact through the project.
  24.163 +Be it on the mailing list, the discussion board, or by telling the developers about a new feature wanted.
  24.164 +
  24.165 +There will hardly be a community if no communication channels are available.
  24.166 +If the development team does not provide them, there is a chance that encouraged users set them up on their own.
  24.167 +But this is rare and the program needs to be very popular. %TODO: maybe include an example here (w3m?)
  24.168 +
  24.169 +Projects without a good community tend to die sooner or later.
  24.170 +
  24.171 +
  24.172 +\subsection{Evolution of a community}
  24.173 +Let us look at the process a community establishes: In most times it's only one who has an idea, in the beginning.
  24.174 +He starts developing.
  24.175 +When others get in contact with the project, there may be some who are so much interested that they start co-developing.
  24.176 +Others report bugs, and some only use the program.
  24.177 +
  24.178 +After some time, one will find a small group of core developers, a larger group of contributers (bugs, patches, documentation) and a very large group of users.
  24.179 +The size ratio of the groups vary by type of project.
  24.180 +
  24.181 +One should have that in mind, when starting a \freesw\ project.
  24.182 +
  24.183 +
  24.184 +\subsection{Creating a strong community}
  24.185 +Building up a good community needs some effort of the main developers.
  24.186 +%TODO: search for documents about this topic
  24.187 +
  24.188 +First communication channels need to be set up, to enable the growth of a community.
  24.189 +
  24.190 +Second, development should be visible by everyone who is interested in it.
  24.191 +Time between work done on the project and its visibility to the public should be kept short.
  24.192 +This makes it interesting for other developers to join.
  24.193 +Developers are the core of a community.
  24.194 +
  24.195 +Third, there is a rule of thumb that should be followed: ``Release early, release often!'' \cite{catb}.
  24.196 +Releases are (more) stable versions, primary for users.
  24.197 +They should be created, frequently.
  24.198 +People will more likely use programs of active projects.
  24.199 +
  24.200 +Fourth, the developers should try to get the users ``in the boat''.
  24.201 +Good communities have a large group of users that do not only receive, but also give something back to the project.
  24.202 +The project leaders should motivate users to contribute.
  24.203 +This unlocks a big work force and gets lot of unexiting work done.
  24.204 +
  24.205 +Fifth, documentation matters.
  24.206 +Good documentation makes it easy for users and developers to start.
  24.207 +And it helps to avoid a lot of unsatisfaction.
  24.208 +Documentation is something that shows quality and that people care about the project.
  24.209 +
  24.210 +And sixth, project leaders should be good souvereigns.
  24.211 +They should try to be fair, to motivate, be visionaires and try to put power and work on many shoulders.
  24.212 +
  24.213 +Not to forget: Every work that was done, every contribution that was made and every idea received needs to be honored in an appropriate way!
  24.214 +Volunteer work lives by acknowledgement of the effort spent.
  24.215 +
  24.216 +
  24.217 +
  24.218 +
  24.219 +
  24.220 +\section{Project infrastructure}
  24.221 +
    25.1 --- a/thesis/tex/3-ProjectManagement.tex	Thu Nov 13 15:30:25 2008 +0100
    25.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    25.3 @@ -1,8 +0,0 @@
    25.4 -\chapter{Project management}
    25.5 -\section{Infrastructure}
    25.6 -\section{Community}
    25.7 -\section{Development}
    25.8 -\section{Documentation}
    25.9 -\section{Quality assurance}
   25.10 -\section{Distribution}
   25.11 -
    26.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    26.2 +++ b/thesis/tex/4-CodeAnalysis.tex	Thu Nov 13 23:24:52 2008 +0100
    26.3 @@ -0,0 +1,29 @@
    26.4 +\chapter{Code analysis}
    26.5 +
    26.6 +
    26.7 +\section{Architecture}
    26.8 +Like its anchestor \sendmail, \masqmail\ is a monolitic program. It consists of only one \emph{setuid root}\footnote{Runs as user root, no matter which user invoked it.}\index{setuid root} binary file, named \path{masqmail}. All functionality is included in it; of course some more comes from dynamic libraries linked.
    26.9 +
   26.10 +
   26.11 +
   26.12 +\subsection{Structure}
   26.13 +The \masqmail\ executable can be called under various names for \name{sendmail-compatibility} reasons. This is commonly organized by creating symbolic links with with different names to the \masqmail\ executable. These are \path{/usr/lib/sendmail} and \path{/usr/sbin/sendmail} because many programs expect a \mta\ to be located there. Further more \sendmail\ provides shortcuts by calling it with a different name instead of supplying command line arguments. The best known of it is \path{mailq}, which is equivilent to calling the \MTA\ with the argument \verb+-bq+. \masqmail\ reacts to the names \path{mailq}, \path{smtpd}, \path{mailrm}, \path{runq}, \path{rmail}, and \path{in.smtpd}. The last four are an addition to \sendmail. Not implemented is the name \path{newaliases} because it is not relevant to \masqmail. To provide the command nonetheless, one may write a shell script located at \path{/usr/bin/newaliases}, that simply invokes \verb+masqmail -bi+.
   26.14 +
   26.15 +%masqmail: mailq, mailrm, runq, rmail, smtpd/in.smtpd
   26.16 +%sendmail: hoststat, mailq, newaliases, purgestat, smtpd
   26.17 +
   26.18 +\masqmail\ is written in the \NAME{C} programming language. The program, as of version 0.2.21, consists of 34 source code and eight header files, containing about 9,000 lines of code\footnote{Measured with \name{sloccount} by David A.\ Wheeler.}. Additionally, it includes a \name{base64} implementation (about 300 lines) and \name{md5} code (about 150 lines). For systems that do not provide \name{libident}, this library is distributed as well (circa 600 lines); an available shared library however has higher precedence in linking.
   26.19 +
   26.20 +The only mandatory dependency is \name{glib}---a cross-platform software utility library, originated in the \NAME{GTK+} project. It provides safer replacements for many standard library functions. (The unsafe \verb+sprintf()+ is one example.) Also it offers handy data containers, easy-to-use implementations of data structures, and much more.
   26.21 +
   26.22 +With \masqmail\ comes the small tool \path{mservdetect}; it helps setting up a configuration that uses the \name{mserver} system to detect the online state. Two other binaries get compiled for testing purposes: \path{readtest} and \path{smtpsend}. All three programms use \masqmail\ source code; they only add a file with a \verb+main()+ function each.
   26.23 +
   26.24 +\masqmail\ does not provide an interface for modules with additional functionality. There exists no add-on or module system. But the code is separated by function to the various source files, and some functional parts can be included or excluded by defining symbols. This means adding some argument (like \verb+--enable-maildir+) to the \verb+configure+ call. Thus the concerning code gets not removed by the preprocessor.
   26.25 +
   26.26 +
   26.27 +
   26.28 +
   26.29 +\section{Code quality}
   26.30 +
   26.31 +
   26.32 +\section{Security}
    27.1 --- a/thesis/tex/4-Experience.tex	Thu Nov 13 15:30:25 2008 +0100
    27.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    27.3 @@ -1,2 +0,0 @@
    27.4 -\chapter{Experience}
    27.5 -
    28.1 --- a/thesis/tex/4-Improvements.tex	Thu Nov 13 15:30:25 2008 +0100
    28.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    28.3 @@ -1,2 +0,0 @@
    28.4 -\chapter{Improvements}
    28.5 -
    29.1 --- a/thesis/tex/4-ProjectManagement.tex	Thu Nov 13 15:30:25 2008 +0100
    29.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    29.3 @@ -1,2 +0,0 @@
    29.4 -\chapter{Project management 2}
    29.5 -
    30.1 --- a/thesis/tex/4-Test.tex	Thu Nov 13 15:30:25 2008 +0100
    30.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    30.3 @@ -1,2 +0,0 @@
    30.4 -\chapter{Test and validation}
    30.5 -
    31.1 --- a/thesis/tex/5-Future.tex	Thu Nov 13 15:30:25 2008 +0100
    31.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    31.3 @@ -1,2 +0,0 @@
    31.4 -\chapter{The future of \masqmail}
    31.5 -
    32.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    32.2 +++ b/thesis/tex/5-Improvements.tex	Thu Nov 13 23:24:52 2008 +0100
    32.3 @@ -0,0 +1,48 @@
    32.4 +\chapter{Improvements}
    32.5 +
    32.6 +
    32.7 +\section{Existing features}
    32.8 +This overview regards \masqmail version 0.2.21, the state this document starts off.
    32.9 +
   32.10 +First of all \masqmail\ is an \MTA. Therefor it accepts mail on the command line and via \SMTP. Mail queueing and alias expansion is supported. \masqmail\ is able to deliver mail to local mailboxes (in \name{mbox} or \name{maildir} format) or pass it to a \name{mail delivery agent} (like \name{procmail}). Mail destinated to remote locations is sent via \SMTP. Outgoing \SMTP\ connections feature \name{SMTP-Auth} and \name{SMTP-after-POP} authentication, but incoming \SMTP\ does not.
   32.11 +
   32.12 +As \masqmail\ is focused on non-permanent Internet connections, online state can be queried by three methods: reading from a file, reading the output of a command, or by asking an \name{mserver}. Each method may return a string indicating one of the available routes being online, or returning nothing to indicate offline state.
   32.13 +
   32.14 +Delivery to recipients on the local host or in local nets is done at once; delivery to recipients on the Internet is only done when being online, and queued otherwise. Each online route may have a different mail server to which mail is relayed. Return address headers are modified appropriate if wished.
   32.15 +
   32.16 +Additional to the \mta\ job, \masqmail\ also offers mail retrieval services with being a \NAME{POP3} client. Thus it can fetch mail from remote locations, dependent on the active online route.
   32.17 +
   32.18 +
   32.19 +
   32.20 +
   32.21 +\section{Directions to go}
   32.22 +
   32.23 +\subsection{\masqmail\ in five years}
   32.24 +\label{sec:masqmail-in-5-years}
   32.25 +Now how could \masqmail\ be like in, say, five years?
   32.26 +%requirements
   32.27 +%which parts to do
   32.28 +%how to make masqmail future-safe
   32.29 +
   32.30 +%how to advertise masqmail
   32.31 +%difference for free software
   32.32 +%why is it worth to revive masqmail?
   32.33 +
   32.34 +
   32.35 +\subsection{A design from scratch}
   32.36 +%what would be needed
   32.37 +%would one create it at all?
   32.38 +
   32.39 +
   32.40 +
   32.41 +\section{Work to do}
   32.42 +
   32.43 +
   32.44 +\section{Implementation}
   32.45 +
   32.46 +
   32.47 +\section{Work done}
   32.48 +
   32.49 +
   32.50 +\section{Test and validation}
   32.51 +
    33.1 --- a/thesis/tex/5-Summary.tex	Thu Nov 13 15:30:25 2008 +0100
    33.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    33.3 @@ -1,2 +0,0 @@
    33.4 -\chapter{Summary}
    33.5 -
    34.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    34.2 +++ b/thesis/tex/6-Release.tex	Thu Nov 13 23:24:52 2008 +0100
    34.3 @@ -0,0 +1,12 @@
    34.4 +\chapter{Release}
    34.5 +
    34.6 +
    34.7 +\section{Distribution}
    34.8 +
    34.9 +\subsection{Debian}
   34.10 +
   34.11 +
   34.12 +\section{Documentation}
   34.13 +
   34.14 +
   34.15 +\section{Further life of the project}
    35.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    35.2 +++ b/thesis/tex/7-Summary.tex	Thu Nov 13 23:24:52 2008 +0100
    35.3 @@ -0,0 +1,2 @@
    35.4 +\chapter{Summary}
    35.5 +
    36.1 --- a/thesis/thesis.tex	Thu Nov 13 15:30:25 2008 +0100
    36.2 +++ b/thesis/thesis.tex	Thu Nov 13 23:24:52 2008 +0100
    36.3 @@ -27,31 +27,13 @@
    36.4  \setcounter{page}{0}
    36.5  \pagenumbering{arabic}
    36.6  
    36.7 -\part{Mail transfer agents}
    36.8  \include{tex/1-Introduction}
    36.9 -\include{tex/1-Candidates}
   36.10 -\include{tex/1-Comparision}
   36.11 -\include{tex/1-Masqmail}
   36.12 -
   36.13 -\part{Market analysis}
   36.14 -\include{tex/2-FutureOfCommunication}
   36.15 -\include{tex/2-FuturesForMasqmail}
   36.16 -
   36.17 -\part{The masqmail project}
   36.18 -\include{tex/3-FreeSoftwareProjects}
   36.19 -\include{tex/3-BecomingProjectLeader}
   36.20 -\include{tex/3-ProjectManagement}
   36.21 -
   36.22 -\part{Implementation}
   36.23 -\include{tex/4-ProjectManagement}
   36.24 -\include{tex/4-Experience}
   36.25 -\include{tex/4-Improvements}
   36.26 -\include{tex/4-Test}
   36.27 -
   36.28 -\part{Summary and Outlook}
   36.29 -\include{tex/5-Summary}
   36.30 -\include{tex/5-Future}
   36.31 -
   36.32 +\include{tex/2-MailTransferAgents}
   36.33 +\include{tex/3-MasqmailProject}
   36.34 +\include{tex/4-CodeAnalysis}
   36.35 +\include{tex/5-Improvements}
   36.36 +\include{tex/6-Release}
   36.37 +\include{tex/7-Summary}
   36.38  
   36.39  \cleardoublepage
   36.40  \appendix