# HG changeset patch # User meillo@marmaro.de # Date 1226615092 -3600 # Node ID 3b5ba7331eb579686d32e1c630739e23826162f4 # Parent a6f68b7d09fd40b1bac3d23a933e2d5e2d86160c complete restructuring of whole document diff -r a6f68b7d09fd -r 3b5ba7331eb5 thesis/pieces/old/1-Candidates.tex --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/thesis/pieces/old/1-Candidates.tex Thu Nov 13 23:24:52 2008 +0100 @@ -0,0 +1,133 @@ +\chapter{\unix\ \MTA{}s} + +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. + +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. + + +\section{Types of \MTA{}s} +``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}.} + +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. + +Following are groups of \mta{}s that will \emph{not} be regarded further. + +\subsection{Relay-only \MTA{}s} +\label{subsec:relay-only} +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. + +Most \MTA{}s can be configured to act as such a \name{forwarder}. But this is usually an additional functionality. + +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. + +Examples for that group are: \name{nullmailer}, \name{ssmtp} and \name{esmtp}. + + +\subsection{Groupware} +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. + +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. + +Examples are: \name{Lotus Notes}, \name{Microsoft Exchange}, \name{OpenGroupware.org} and \name{eGroupWare}. + + +\subsection{``Real'' \MTA{}s} +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''. + +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? + +This group is of importance in this document. The programs selected for the comparison are ``real \MTA{}s''. + + + +\section{Programs to sort out} + +\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. + +\subsection{Non-\emph{sendmail-compatible} \MTA{}s} +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. + +Hence all \MTA{}s not having a \emph{sendmail-compatible} interface or not offering it as a compatibility addon, will not be covered here. + +An Examples here is \name{Apache James}. %FIXME: check if correct + + +\subsection{Non-free software} +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. + +The comparison should be seen from \masqmail's point of view, so non-free software is out of the way. + + + +\section{The programs regarded} +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. + +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 + +\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}. + +Other members are: \name{smail}, \name{zmailer}, \name{mmdf}, and more; they all are less important and rarely used. + +Following is a small introduction to each of the five programs chosen for comparision. + +\subsection{\sendmail} +\label{sec:sendmail} +\sendmail\ is the most popular \mta. Since it was one of the first \MTA{}s and was shipped by many vendors of \unix\ systems. + +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. + +\sendmail\ is focused on transfering mails between different protocols and networks, this lead to a very flexible (though complex) configuration. + +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.}. + +Further development will go into the project \name{MeTA1} which succeeds \sendmail. + +More information can be found on the \sendmail\ homepage \citeweb{sendmail:homepage} and on \citeweb{wikipedia:sendmail} and \citeweb{jdebp}. + + +\subsection{\name{qmail}} +\label{sec:qmail} +\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. + +\name{qmail} first introduced may innovative concepts in \mta\ design and is generally seen as the first security-aware \MTA\ developed. + +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. + +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}. + + +\subsection{\name{postfix}} +\label{sec:postfix} +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. + +Today \name{postfix} is taken by many \unix systems and \gnulinux distributions as default \MTA. + +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. + +Additional information is available on the program's homepage \citeweb{postfix:homepage}, on \citeweb{jdebp} and \citeweb{wikipedia:postfix}. + + +\subsection{\name{exim}} +\label{sec:exim} +\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. + +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. + +\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. + +The program is \freesw, released under the \GPL. The latest stable version is 4.69 from December 2007. + +One finds \name{exim} on its homepage \citeweb{exim:homepage}. More information about it can be retrieved from \citeweb{wikipedia:exim} and \citeweb{jdebp}. + + +\subsection{\masqmail} +\label{sec:masqmail} +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. + +\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. + +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. + +\masqmail\ is released under the \GPL, which makes it \freesw. The latest stable version is 0.2.21 from November 2005. + +The program's new homepage \citeweb{masqmail:homepage} provides further information about this \MTA. diff -r a6f68b7d09fd -r 3b5ba7331eb5 thesis/pieces/old/1-Comparision.tex --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/thesis/pieces/old/1-Comparision.tex Thu Nov 13 23:24:52 2008 +0100 @@ -0,0 +1,100 @@ +\chapter{Comparison of \MTA{}s} + +% http://shearer.org/MTA_Comparison +% http://www.geocities.com/mailsoftware42/ +% http://fanf.livejournal.com/50917.html +% http://archives.neohapsis.com/archives/postfix/2006-07/1762.html +% http://www.oreillynet.com/lpt/a/6849 +% http://www.mailradar.com/mailstat/ + +\section{First release} +sendmail: 1983 + +postfix: 1999 + +qmail: 1996 (first beta 0.70), 1997 (first general 1.0) + +exim: 1995 + +masqmail: 1999 + +exchange: 1993 + + +\section{Lines of code (with sloccount on debian packages)} +sendmail: 93k + +postfix: 92k + +qmail: 18k + +exim: 54k + +masqmail: 14k + +exchange: (no source available) + + +\section{Architecture} +sendmail: monolitic + +postfix: modular + +qmail: modular + +exim: monolitic + +masqmail: monolitic + +exchange: (unknown) + + +\section{Design goals} +sendmail: flexibility + +postfix: performance and security + +qmail: security + +exim: general, flexible \& extensive facilities for checking + +masqmail: for non-permanent internet connection + +exchange: groupware + + +\section{Market share (by Bernstein in 2001)} +sendmail: 42\% + +postfix: 1.6\% + +qmail: 17\% + +exim: 1.6\% + +masqmail: (unknown) + +exchange: 18\% + + + + +1) complexity + +2) security + +3) simplicity of configuration and administration + +4) flexibility of configuration and administration + +5) code size + +6) code quality + +7) documentation (amount and quality) + +8) community (amount and quality) + +9) used it myself + +10) had problems with it diff -r a6f68b7d09fd -r 3b5ba7331eb5 thesis/pieces/old/1-Masqmail.tex --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/thesis/pieces/old/1-Masqmail.tex Thu Nov 13 23:24:52 2008 +0100 @@ -0,0 +1,107 @@ +\chapter{\masqmail} + +%TODO: have text by oliver here? + + +\section{Target field} +Its original author, Oliver Kurth, sees \masqmail\ so: +\begin{quote} +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. +\end{quote} + +\masqmail\ is inteded to cover a specific niche: non-permanent internet connection and different \NAME{ISP}s. + +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: +\begin{quote} +In these cases, MasqMail is a slim replacement for full-blown MTAs such as sendmail, exim, qmail or postfix. +\end{quote} +\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. + +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. + +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. + + + +\section{Typical usage} +This section describes situations that make senseful use of \masqmail. + +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. + +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. + +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. + +A better setup is to run \masqmail\ on every machine %FIXME + + + +\section{What makes it special} + +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. + +Workstations use %FIXME + + +\section{Alternatives?} +% http://anfi.homeunix.org/sendmail/dialup10.html + + +\section{Structure} +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. + +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+. + +%masqmail: mailq, mailrm, runq, rmail, smtpd/in.smtpd +%sendmail: hoststat, mailq, newaliases, purgestat, smtpd + +\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. + +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. + +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. + +\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. + + +\section{Features} +This overview regards \masqmail version 0.2.21, the state this document starts off. + +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. + +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. + +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. + +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. + + + +\section{History} +%TODO: let oliver prove read it! +%FIXME: add references +%FIXME: where does the name come from: masqdialer (guessed) + +The date of the first release (version 0.0.1) is unknown. +The only information available is, that it was packaged for \debian\ at 15\nth\ of September in 1999. +Further releases were made every few weeks or month during 2000, 2001 and 2002. +Development ended in mid-2003 in a hard stop. +The last ordinary release known to me is version 0.2.20, released on 4\nth\ of June in 2003. + +During the time of development, Oliver released 53 versions. +That means a new release in less than every 20 days in average! + +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. + +One extra release (version 0.2.21) was made by him in November 2005. +This one is only available from the \debian\ pool. +Comparing it to version 0.2.20 shows, that no source code was altered. +Only building documents (like Makefiles) and \debian\ packageing documents were changed. +That leeds to the assumption that this last release was specificly created for the needs of \debian---to fix some errors in the package. + +In May 2000 the minor version number increased to `1'. +Nothing special is mentioned in the documentation about that. +When it increased again to start the 0.2.x releases, Oliver titled them as the ``development branch'' of \masqmail. +At that second time, he started developing the 0.2.x ``development branch'', continuing to work on the 0.1.x series. +His parallel work on both branches lasted for four month, and one additional last release, numbered 0.1.17, one more year later. + diff -r a6f68b7d09fd -r 3b5ba7331eb5 thesis/pieces/old/2-FutureOfCommunication.tex --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/thesis/pieces/old/2-FutureOfCommunication.tex Thu Nov 13 23:24:52 2008 +0100 @@ -0,0 +1,120 @@ +\chapter{The future of communication} +\label{chap:future-of-communication} +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. + + +\section{Communication methods} +\label{sec:communication-methods} +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. + +A classification of long distance communication methods is shown in figure %\ref{fig:}. +% slow | | | +% | | letter | days +% | | | +% | | | +% | answering | email | +% | machine | telefax | few seconds +% | | SMS | +% fast | | | +% | telephone | IM | real time +% ----------------------------------------------------- +% response | spoken | written | delivery time + +% TODO: find reference literature + +\subsection{Speed} +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. + +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. + +It seems as if in future will be low-cost communication methods available, which will be digitally transmitted. + +\subsection{Variety} +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. + +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. + +\subsection{Hardware} +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. + +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. + +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. + +This leaves us with the need for ordinary computers for the field of exchanging documents, and as better input hardware for all written input. + + + +\section{Trends for electronic mail} +\label{sec:email-trends} +The previous section stated that electronic mail will still be important in future to complete the communication methods provided by phone and instant messaging. + +But will emailing in future not be the same as emailing now. This will mainly affect how email is transfered. + +\subsection{Provider oriented emailing} +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. + +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. + +\subsection{Provider independence} +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. + +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. + +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. + +\subsection{Is email future-safe?} +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. + +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. + +\subsection{Pushing versus polling} +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. + +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. + +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. +%FIXME: add reference to push email + +\subsection{Internet Mail 2000} +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. + +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. + +\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}. + +%FIXME: add references for IM2000 + + + +\section{\NAME{SWOT} analysis} +%TODO + + + +\section{What will be important} +\label{sec:important-for-mtas} +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. + +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. + +\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. + +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 +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). + +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. + +\name{postfix} focuses much on performance, this might not be an important point then. + +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}). + +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. + +``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. + +Containing secure and robust software is a pre-requisite for such boxes to make that vision possible. + +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. + +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. diff -r a6f68b7d09fd -r 3b5ba7331eb5 thesis/pieces/old/2-FuturesForMasqmail.tex --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/thesis/pieces/old/2-FuturesForMasqmail.tex Thu Nov 13 23:24:52 2008 +0100 @@ -0,0 +1,18 @@ +\chapter{Futures for \masqmail} + +\section{\masqmail\ in five years} +\label{sec:masqmail-in-5-years} +Now how could \masqmail\ be like in, say, five years? +%requirements +%which parts to do +%how to make masqmail future-safe + +%how to advertise masqmail +%difference for free software +%why is it worth to revive masqmail? + + +\section{A design from scratch} +%what would be needed +%would one create it at all? + diff -r a6f68b7d09fd -r 3b5ba7331eb5 thesis/pieces/old/3-BecomingProjectLeader.tex --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/thesis/pieces/old/3-BecomingProjectLeader.tex Thu Nov 13 23:24:52 2008 +0100 @@ -0,0 +1,4 @@ +\chapter{Becoming project leader} +\section{History of \masqmail} +\section{Taking it} + diff -r a6f68b7d09fd -r 3b5ba7331eb5 thesis/pieces/old/3-FreeSoftwareProjects.tex --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/thesis/pieces/old/3-FreeSoftwareProjects.tex Thu Nov 13 23:24:52 2008 +0100 @@ -0,0 +1,127 @@ +\chapter{About \freesw\ projects} + +% http://www.faqs.org/docs/artu/ + +There are several differences between \freesw\ projects and projects about proprietary software. +To understand \freesw\ projects, one needs to understand \freesw\ itself first. + +\section{About \freesw} +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. +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. +One could say, the \GPL\ catalized the \name{Free Software movement}. + +% http://www.fsf.org/about/what-is-free-software + +After all, the \GPL\ was not the first \freesw\ license used. +The \name{MIT License} (or \name{X Consortium License}) for example is older; published in 1988. +Licenses providing the same rights have been used since long time ago. +But none of them was so often (re)used by other projects---thus gattering less awareness. +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. + +\freesw\ gives freedoms to its users. +In contrast to proprietary software restricting the users freedom. +The freedoms (or rights) the user has are stated in the \name{Free Software Definition} of the \NAME{FSF}. Namely these are: +% http://www.gnu.org/philosophy/free-sw.html +% http://www.fsf.org/licensing/essays/free-sw.html +\begin{enumerate} + \item The freedom to run the program, for any purpose (freedom 0). + \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. + \item The freedom to redistribute copies so you can help your neighbor (freedom 2). + \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. +\end{enumerate} + + +\section{The term ``Open Source''} +\name{Open Source Software} often stands for the same as \freesw. +But there is an essential difference: \name{Open Source} focuses on the availability of source code, while \freesw\ is about freedoms for people. + +\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. + +% http://www.gnu.org/philosophy/open-source-misses-the-point.html +% http://catb.org/~esr/open-source.html + + +\section{Development of \freesw} +Having source code available and the right to modify it, encouridges programmers to actually do so. +Their modifications are manifoldly. +Some tailor the software to their needs. +Some add features. +Some do it just for fun. +There are no limitations---whoever wants to, may work on it. + +Since the boom of the internet, \freesw\ typically is developed by an open community of programmers interested in the software. +The process of development is watchable by everyone. + +The other, now less common, method is a more closed group, developing in a ``sealed'' room, but releasing finished versions to the public. + +Eric~S.\ Raymond discusses about these methods, which he named \name{the bazaar} and \name{the cathedral} \cite{catb}. + +The following text will focus on the ``bazaar'' model. + + +\section{The role of the community} +\freesw\ projects rise and fall with their community! + +Most \freesw\ programs are developed by a very small group of programmers, often only one person. +But they are used by many people. +In between the programmers and the users, are people located who are a bit of both. +These are the ones that write documentation, find bugs and probably even fix it. +They discuss on mailing lists, bulletin boards and \NAME{IRC} chats. +The program is often spread by their ``advertising''. + +The \emph{community} consists of the actual developers and all users that contribute to the program. +Contribution can be one of the described ways, or others like providing a server for the project website for example. + +\emph{Community} is everyone who is in contact through the project. +Be it on the mailing list, the discussion board, or by telling the developers about a new feature wanted. + +There will hardly be a community if no communication channels are available. +If the development team does not provide them, there is a chance that encouraged users set them up on their own. +But this is rare and the program needs to be very popular. %TODO: maybe include an example here (w3m?) + +Projects without a good community tend to die sooner or later. + + +\section{Evolution of a community} +Let us look at the process a community establishes: In most times it's only one who has an idea, in the beginning. +He starts developing. +When others get in contact with the project, there may be some who are so much interested that they start co-developing. +Others report bugs, and some only use the program. + +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. +The size ratio of the groups vary by type of project. + +One should have that in mind, when starting a \freesw\ project. + + +\section{Creating a strong community} +Building up a good community needs some effort of the main developers. +%TODO: search for documents about this topic + +First communication channels need to be set up, to enable the growth of a community. + +Second, development should be visible by everyone who is interested in it. +Time between work done on the project and its visibility to the public should be kept short. +This makes it interesting for other developers to join. +Developers are the core of a community. + +Third, there is a rule of thumb that should be followed: ``Release early, release often!'' \cite{catb}. +Releases are (more) stable versions, primary for users. +They should be created, frequently. +People will more likely use programs of active projects. + +Fourth, the developers should try to get the users ``in the boat''. +Good communities have a large group of users that do not only receive, but also give something back to the project. +The project leaders should motivate users to contribute. +This unlocks a big work force and gets lot of unexiting work done. + +Fifth, documentation matters. +Good documentation makes it easy for users and developers to start. +And it helps to avoid a lot of unsatisfaction. +Documentation is something that shows quality and that people care about the project. + +And sixth, project leaders should be good souvereigns. +They should try to be fair, to motivate, be visionaires and try to put power and work on many shoulders. + +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! +Volunteer work lives by acknowledgement of the effort spent. diff -r a6f68b7d09fd -r 3b5ba7331eb5 thesis/pieces/old/3-ProjectManagement.tex --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/thesis/pieces/old/3-ProjectManagement.tex Thu Nov 13 23:24:52 2008 +0100 @@ -0,0 +1,8 @@ +\chapter{Project management} +\section{Infrastructure} +\section{Community} +\section{Development} +\section{Documentation} +\section{Quality assurance} +\section{Distribution} + diff -r a6f68b7d09fd -r 3b5ba7331eb5 thesis/pieces/old/4-Experience.tex --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/thesis/pieces/old/4-Experience.tex Thu Nov 13 23:24:52 2008 +0100 @@ -0,0 +1,2 @@ +\chapter{Experience} + diff -r a6f68b7d09fd -r 3b5ba7331eb5 thesis/pieces/old/4-Improvements.tex --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/thesis/pieces/old/4-Improvements.tex Thu Nov 13 23:24:52 2008 +0100 @@ -0,0 +1,2 @@ +\chapter{Improvements} + diff -r a6f68b7d09fd -r 3b5ba7331eb5 thesis/pieces/old/4-ProjectManagement.tex --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/thesis/pieces/old/4-ProjectManagement.tex Thu Nov 13 23:24:52 2008 +0100 @@ -0,0 +1,2 @@ +\chapter{Project management 2} + diff -r a6f68b7d09fd -r 3b5ba7331eb5 thesis/pieces/old/4-Test.tex --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/thesis/pieces/old/4-Test.tex Thu Nov 13 23:24:52 2008 +0100 @@ -0,0 +1,2 @@ +\chapter{Test and validation} + diff -r a6f68b7d09fd -r 3b5ba7331eb5 thesis/pieces/old/5-Future.tex --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/thesis/pieces/old/5-Future.tex Thu Nov 13 23:24:52 2008 +0100 @@ -0,0 +1,2 @@ +\chapter{The future of \masqmail} + diff -r a6f68b7d09fd -r 3b5ba7331eb5 thesis/pieces/old/5-Summary.tex --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/thesis/pieces/old/5-Summary.tex Thu Nov 13 23:24:52 2008 +0100 @@ -0,0 +1,2 @@ +\chapter{Summary} + diff -r a6f68b7d09fd -r 3b5ba7331eb5 thesis/tex/1-Candidates.tex --- a/thesis/tex/1-Candidates.tex Thu Nov 13 15:30:25 2008 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,133 +0,0 @@ -\chapter{\unix\ \MTA{}s} - -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. - -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. - - -\section{Types of \MTA{}s} -``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}.} - -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. - -Following are groups of \mta{}s that will \emph{not} be regarded further. - -\subsection{Relay-only \MTA{}s} -\label{subsec:relay-only} -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. - -Most \MTA{}s can be configured to act as such a \name{forwarder}. But this is usually an additional functionality. - -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. - -Examples for that group are: \name{nullmailer}, \name{ssmtp} and \name{esmtp}. - - -\subsection{Groupware} -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. - -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. - -Examples are: \name{Lotus Notes}, \name{Microsoft Exchange}, \name{OpenGroupware.org} and \name{eGroupWare}. - - -\subsection{``Real'' \MTA{}s} -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''. - -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? - -This group is of importance in this document. The programs selected for the comparison are ``real \MTA{}s''. - - - -\section{Programs to sort out} - -\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. - -\subsection{Non-\emph{sendmail-compatible} \MTA{}s} -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. - -Hence all \MTA{}s not having a \emph{sendmail-compatible} interface or not offering it as a compatibility addon, will not be covered here. - -An Examples here is \name{Apache James}. %FIXME: check if correct - - -\subsection{Non-free software} -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. - -The comparison should be seen from \masqmail's point of view, so non-free software is out of the way. - - - -\section{The programs regarded} -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. - -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 - -\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}. - -Other members are: \name{smail}, \name{zmailer}, \name{mmdf}, and more; they all are less important and rarely used. - -Following is a small introduction to each of the five programs chosen for comparision. - -\subsection{\sendmail} -\label{sec:sendmail} -\sendmail\ is the most popular \mta. Since it was one of the first \MTA{}s and was shipped by many vendors of \unix\ systems. - -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. - -\sendmail\ is focused on transfering mails between different protocols and networks, this lead to a very flexible (though complex) configuration. - -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.}. - -Further development will go into the project \name{MeTA1} which succeeds \sendmail. - -More information can be found on the \sendmail\ homepage \citeweb{sendmail:homepage} and on \citeweb{wikipedia:sendmail} and \citeweb{jdebp}. - - -\subsection{\name{qmail}} -\label{sec:qmail} -\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. - -\name{qmail} first introduced may innovative concepts in \mta\ design and is generally seen as the first security-aware \MTA\ developed. - -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. - -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}. - - -\subsection{\name{postfix}} -\label{sec:postfix} -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. - -Today \name{postfix} is taken by many \unix systems and \gnulinux distributions as default \MTA. - -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. - -Additional information is available on the program's homepage \citeweb{postfix:homepage}, on \citeweb{jdebp} and \citeweb{wikipedia:postfix}. - - -\subsection{\name{exim}} -\label{sec:exim} -\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. - -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. - -\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. - -The program is \freesw, released under the \GPL. The latest stable version is 4.69 from December 2007. - -One finds \name{exim} on its homepage \citeweb{exim:homepage}. More information about it can be retrieved from \citeweb{wikipedia:exim} and \citeweb{jdebp}. - - -\subsection{\masqmail} -\label{sec:masqmail} -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. - -\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. - -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. - -\masqmail\ is released under the \GPL, which makes it \freesw. The latest stable version is 0.2.21 from November 2005. - -The program's new homepage \citeweb{masqmail:homepage} provides further information about this \MTA. diff -r a6f68b7d09fd -r 3b5ba7331eb5 thesis/tex/1-Comparision.tex --- a/thesis/tex/1-Comparision.tex Thu Nov 13 15:30:25 2008 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,100 +0,0 @@ -\chapter{Comparison of \MTA{}s} - -% http://shearer.org/MTA_Comparison -% http://www.geocities.com/mailsoftware42/ -% http://fanf.livejournal.com/50917.html -% http://archives.neohapsis.com/archives/postfix/2006-07/1762.html -% http://www.oreillynet.com/lpt/a/6849 -% http://www.mailradar.com/mailstat/ - -\section{First release} -sendmail: 1983 - -postfix: 1999 - -qmail: 1996 (first beta 0.70), 1997 (first general 1.0) - -exim: 1995 - -masqmail: 1999 - -exchange: 1993 - - -\section{Lines of code (with sloccount on debian packages)} -sendmail: 93k - -postfix: 92k - -qmail: 18k - -exim: 54k - -masqmail: 14k - -exchange: (no source available) - - -\section{Architecture} -sendmail: monolitic - -postfix: modular - -qmail: modular - -exim: monolitic - -masqmail: monolitic - -exchange: (unknown) - - -\section{Design goals} -sendmail: flexibility - -postfix: performance and security - -qmail: security - -exim: general, flexible \& extensive facilities for checking - -masqmail: for non-permanent internet connection - -exchange: groupware - - -\section{Market share (by Bernstein in 2001)} -sendmail: 42\% - -postfix: 1.6\% - -qmail: 17\% - -exim: 1.6\% - -masqmail: (unknown) - -exchange: 18\% - - - - -1) complexity - -2) security - -3) simplicity of configuration and administration - -4) flexibility of configuration and administration - -5) code size - -6) code quality - -7) documentation (amount and quality) - -8) community (amount and quality) - -9) used it myself - -10) had problems with it diff -r a6f68b7d09fd -r 3b5ba7331eb5 thesis/tex/1-Introduction.tex --- a/thesis/tex/1-Introduction.tex Thu Nov 13 15:30:25 2008 +0100 +++ b/thesis/tex/1-Introduction.tex Thu Nov 13 23:24:52 2008 +0100 @@ -88,7 +88,3 @@ \sendmail\ is not only ported to many platforms, even including \name{Microsoft Windows}, but also it is still the prefered \MTA\ on many systems. For deeper knowledge on \sendmail's history, see \cite{costales97} and \cite{vixie01}. - - -\section{A look at Windows} -% TODO: add content here diff -r a6f68b7d09fd -r 3b5ba7331eb5 thesis/tex/1-Masqmail.tex --- a/thesis/tex/1-Masqmail.tex Thu Nov 13 15:30:25 2008 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,107 +0,0 @@ -\chapter{\masqmail} - -%TODO: have text by oliver here? - - -\section{Target field} -Its original author, Oliver Kurth, sees \masqmail\ so: -\begin{quote} -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. -\end{quote} - -\masqmail\ is inteded to cover a specific niche: non-permanent internet connection and different \NAME{ISP}s. - -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: -\begin{quote} -In these cases, MasqMail is a slim replacement for full-blown MTAs such as sendmail, exim, qmail or postfix. -\end{quote} -\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. - -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. - -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. - - - -\section{Typical usage} -This section describes situations that make senseful use of \masqmail. - -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. - -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. - -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. - -A better setup is to run \masqmail\ on every machine %FIXME - - - -\section{What makes it special} - -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. - -Workstations use %FIXME - - -\section{Alternatives?} -% http://anfi.homeunix.org/sendmail/dialup10.html - - -\section{Structure} -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. - -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+. - -%masqmail: mailq, mailrm, runq, rmail, smtpd/in.smtpd -%sendmail: hoststat, mailq, newaliases, purgestat, smtpd - -\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. - -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. - -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. - -\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. - - -\section{Features} -This overview regards \masqmail version 0.2.21, the state this document starts off. - -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. - -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. - -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. - -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. - - - -\section{History} -%TODO: let oliver prove read it! -%FIXME: add references -%FIXME: where does the name come from: masqdialer (guessed) - -The date of the first release (version 0.0.1) is unknown. -The only information available is, that it was packaged for \debian\ at 15\nth\ of September in 1999. -Further releases were made every few weeks or month during 2000, 2001 and 2002. -Development ended in mid-2003 in a hard stop. -The last ordinary release known to me is version 0.2.20, released on 4\nth\ of June in 2003. - -During the time of development, Oliver released 53 versions. -That means a new release in less than every 20 days in average! - -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. - -One extra release (version 0.2.21) was made by him in November 2005. -This one is only available from the \debian\ pool. -Comparing it to version 0.2.20 shows, that no source code was altered. -Only building documents (like Makefiles) and \debian\ packageing documents were changed. -That leeds to the assumption that this last release was specificly created for the needs of \debian---to fix some errors in the package. - -In May 2000 the minor version number increased to `1'. -Nothing special is mentioned in the documentation about that. -When it increased again to start the 0.2.x releases, Oliver titled them as the ``development branch'' of \masqmail. -At that second time, he started developing the 0.2.x ``development branch'', continuing to work on the 0.1.x series. -His parallel work on both branches lasted for four month, and one additional last release, numbered 0.1.17, one more year later. - diff -r a6f68b7d09fd -r 3b5ba7331eb5 thesis/tex/2-FutureOfCommunication.tex --- a/thesis/tex/2-FutureOfCommunication.tex Thu Nov 13 15:30:25 2008 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,120 +0,0 @@ -\chapter{The future of communication} -\label{chap:future-of-communication} -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. - - -\section{Communication methods} -\label{sec:communication-methods} -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. - -A classification of long distance communication methods is shown in figure %\ref{fig:}. -% slow | | | -% | | letter | days -% | | | -% | | | -% | answering | email | -% | machine | telefax | few seconds -% | | SMS | -% fast | | | -% | telephone | IM | real time -% ----------------------------------------------------- -% response | spoken | written | delivery time - -% TODO: find reference literature - -\subsection{Speed} -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. - -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. - -It seems as if in future will be low-cost communication methods available, which will be digitally transmitted. - -\subsection{Variety} -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. - -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. - -\subsection{Hardware} -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. - -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. - -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. - -This leaves us with the need for ordinary computers for the field of exchanging documents, and as better input hardware for all written input. - - - -\section{Trends for electronic mail} -\label{sec:email-trends} -The previous section stated that electronic mail will still be important in future to complete the communication methods provided by phone and instant messaging. - -But will emailing in future not be the same as emailing now. This will mainly affect how email is transfered. - -\subsection{Provider oriented emailing} -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. - -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. - -\subsection{Provider independence} -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. - -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. - -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. - -\subsection{Is email future-safe?} -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. - -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. - -\subsection{Pushing versus polling} -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. - -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. - -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. -%FIXME: add reference to push email - -\subsection{Internet Mail 2000} -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. - -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. - -\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}. - -%FIXME: add references for IM2000 - - - -\section{\NAME{SWOT} analysis} -%TODO - - - -\section{What will be important} -\label{sec:important-for-mtas} -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. - -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. - -\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. - -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 -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). - -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. - -\name{postfix} focuses much on performance, this might not be an important point then. - -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}). - -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. - -``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. - -Containing secure and robust software is a pre-requisite for such boxes to make that vision possible. - -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. - -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. diff -r a6f68b7d09fd -r 3b5ba7331eb5 thesis/tex/2-FuturesForMasqmail.tex --- a/thesis/tex/2-FuturesForMasqmail.tex Thu Nov 13 15:30:25 2008 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,18 +0,0 @@ -\chapter{Futures for \masqmail} - -\section{\masqmail\ in five years} -\label{sec:masqmail-in-5-years} -Now how could \masqmail\ be like in, say, five years? -%requirements -%which parts to do -%how to make masqmail future-safe - -%how to advertise masqmail -%difference for free software -%why is it worth to revive masqmail? - - -\section{A design from scratch} -%what would be needed -%would one create it at all? - diff -r a6f68b7d09fd -r 3b5ba7331eb5 thesis/tex/2-MailTransferAgents.tex --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/thesis/tex/2-MailTransferAgents.tex Thu Nov 13 23:24:52 2008 +0100 @@ -0,0 +1,365 @@ +\chapter{Mail transfer agents} + +\section{\unix\ \MTA{}s} + +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. + +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. + + +\section{Types of \MTA{}s} +``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}.} + +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. + +Following are groups of \mta{}s that will \emph{not} be regarded further. + +\subsection{Relay-only \MTA{}s} +\label{subsec:relay-only} +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. + +Most \MTA{}s can be configured to act as such a \name{forwarder}. But this is usually an additional functionality. + +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. + +Examples for that group are: \name{nullmailer}, \name{ssmtp} and \name{esmtp}. + + +\subsection{Groupware} +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. + +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. + +Examples are: \name{Lotus Notes}, \name{Microsoft Exchange}, \name{OpenGroupware.org} and \name{eGroupWare}. + + +\subsection{``Real'' \MTA{}s} +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''. + +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? + +This group is of importance in this document. The programs selected for the comparison are ``real \MTA{}s''. + + + +\subsection{Programs to sort out} + +\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. + +\subsection{Non-\emph{sendmail-compatible} \MTA{}s} +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. + +Hence all \MTA{}s not having a \emph{sendmail-compatible} interface or not offering it as a compatibility addon, will not be covered here. + +An Examples here is \name{Apache James}. %FIXME: check if correct + + +\subsection{Non-free software} +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. + +The comparison should be seen from \masqmail's point of view, so non-free software is out of the way. + + + +\section{Popular \MTA{}s} +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. + +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 + +\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}. + +Other members are: \name{smail}, \name{zmailer}, \name{mmdf}, and more; they all are less important and rarely used. + +Following is a small introduction to each of the five programs chosen for comparision. + +\subsection{\sendmail} +\label{sec:sendmail} +\sendmail\ is the most popular \mta. Since it was one of the first \MTA{}s and was shipped by many vendors of \unix\ systems. + +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. + +\sendmail\ is focused on transfering mails between different protocols and networks, this lead to a very flexible (though complex) configuration. + +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.}. + +Further development will go into the project \name{MeTA1} which succeeds \sendmail. + +More information can be found on the \sendmail\ homepage \citeweb{sendmail:homepage} and on \citeweb{wikipedia:sendmail} and \citeweb{jdebp}. + + +\subsection{\name{qmail}} +\label{sec:qmail} +\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. + +\name{qmail} first introduced may innovative concepts in \mta\ design and is generally seen as the first security-aware \MTA\ developed. + +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. + +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}. + + +\subsection{\name{postfix}} +\label{sec:postfix} +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. + +Today \name{postfix} is taken by many \unix systems and \gnulinux distributions as default \MTA. + +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. + +Additional information is available on the program's homepage \citeweb{postfix:homepage}, on \citeweb{jdebp} and \citeweb{wikipedia:postfix}. + + +\subsection{\name{exim}} +\label{sec:exim} +\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. + +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. + +\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. + +The program is \freesw, released under the \GPL. The latest stable version is 4.69 from December 2007. + +One finds \name{exim} on its homepage \citeweb{exim:homepage}. More information about it can be retrieved from \citeweb{wikipedia:exim} and \citeweb{jdebp}. + + +\subsection{\masqmail} +\label{sec:masqmail} +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. + +\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. + +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. + +\masqmail\ is released under the \GPL, which makes it \freesw. The latest stable version is 0.2.21 from November 2005. + +The program's new homepage \citeweb{masqmail:homepage} provides further information about this \MTA. + + + + +\section{Comparison of \MTA{}s} + +% http://shearer.org/MTA_Comparison +% http://www.geocities.com/mailsoftware42/ +% http://fanf.livejournal.com/50917.html +% http://archives.neohapsis.com/archives/postfix/2006-07/1762.html +% http://www.oreillynet.com/lpt/a/6849 +% http://www.mailradar.com/mailstat/ + +\subsection{First release} +sendmail: 1983 + +postfix: 1999 + +qmail: 1996 (first beta 0.70), 1997 (first general 1.0) + +exim: 1995 + +masqmail: 1999 + +exchange: 1993 + + +\subsection{Lines of code (with sloccount on debian packages)} +sendmail: 93k + +postfix: 92k + +qmail: 18k + +exim: 54k + +masqmail: 14k + +exchange: (no source available) + + +\subsection{Architecture} +sendmail: monolitic + +postfix: modular + +qmail: modular + +exim: monolitic + +masqmail: monolitic + +exchange: (unknown) + + +\subsection{Design goals} +sendmail: flexibility + +postfix: performance and security + +qmail: security + +exim: general, flexible \& extensive facilities for checking + +masqmail: for non-permanent internet connection + +exchange: groupware + + +\subsection{Market share (by Bernstein in 2001)} +sendmail: 42\% + +postfix: 1.6\% + +qmail: 17\% + +exim: 1.6\% + +masqmail: (unknown) + +exchange: 18\% + + + + +1) complexity + +2) security + +3) simplicity of configuration and administration + +4) flexibility of configuration and administration + +5) code size + +6) code quality + +7) documentation (amount and quality) + +8) community (amount and quality) + +9) used it myself + +10) had problems with it + + + +\section{The future of communication} +\label{chap:future-of-communication} +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. + + +\subsection{Communication methods} +\label{sec:communication-methods} +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. + +A classification of long distance communication methods is shown in figure %\ref{fig:}. +% slow | | | +% | | letter | days +% | | | +% | | | +% | answering | email | +% | machine | telefax | few seconds +% | | SMS | +% fast | | | +% | telephone | IM | real time +% ----------------------------------------------------- +% response | spoken | written | delivery time + +% TODO: find reference literature + +\paragraph{Speed} +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. + +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. + +It seems as if in future will be low-cost communication methods available, which will be digitally transmitted. + +\paragraph{Variety} +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. + +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. + +\paragraph{Hardware} +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. + +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. + +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. + +This leaves us with the need for ordinary computers for the field of exchanging documents, and as better input hardware for all written input. + + + +\subsection{Trends for electronic mail} +\label{sec:email-trends} +The previous section stated that electronic mail will still be important in future to complete the communication methods provided by phone and instant messaging. + +But will emailing in future not be the same as emailing now. This will mainly affect how email is transfered. + +\paragraph{Provider oriented emailing} +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. + +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. + +\paragraph{Provider independence} +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. + +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. + +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. + +\paragraph{Is email future-safe?} +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. + +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. + +\paragraph{Pushing versus polling} +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. + +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. + +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. +%FIXME: add reference to push email + +\paragraph{Internet Mail 2000} +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. + +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. + +\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}. + +%FIXME: add references for IM2000 + + +\section{Market analysis} + +\subsection{\NAME{SWOT} analysis} +%TODO + + + +\subsection{What will be important} +\label{sec:important-for-mtas} +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. + +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. + +\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. + +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 +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). + +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. + +\name{postfix} focuses much on performance, this might not be an important point then. + +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}). + +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. + +``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. + +Containing secure and robust software is a pre-requisite for such boxes to make that vision possible. + +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. + +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. + + diff -r a6f68b7d09fd -r 3b5ba7331eb5 thesis/tex/3-BecomingProjectLeader.tex --- a/thesis/tex/3-BecomingProjectLeader.tex Thu Nov 13 15:30:25 2008 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,4 +0,0 @@ -\chapter{Becoming project leader} -\section{History of \masqmail} -\section{Taking it} - diff -r a6f68b7d09fd -r 3b5ba7331eb5 thesis/tex/3-FreeSoftwareProjects.tex --- a/thesis/tex/3-FreeSoftwareProjects.tex Thu Nov 13 15:30:25 2008 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,127 +0,0 @@ -\chapter{About \freesw\ projects} - -% http://www.faqs.org/docs/artu/ - -There are several differences between \freesw\ projects and projects about proprietary software. -To understand \freesw\ projects, one needs to understand \freesw\ itself first. - -\section{About \freesw} -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. -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. -One could say, the \GPL\ catalized the \name{Free Software movement}. - -% http://www.fsf.org/about/what-is-free-software - -After all, the \GPL\ was not the first \freesw\ license used. -The \name{MIT License} (or \name{X Consortium License}) for example is older; published in 1988. -Licenses providing the same rights have been used since long time ago. -But none of them was so often (re)used by other projects---thus gattering less awareness. -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. - -\freesw\ gives freedoms to its users. -In contrast to proprietary software restricting the users freedom. -The freedoms (or rights) the user has are stated in the \name{Free Software Definition} of the \NAME{FSF}. Namely these are: -% http://www.gnu.org/philosophy/free-sw.html -% http://www.fsf.org/licensing/essays/free-sw.html -\begin{enumerate} - \item The freedom to run the program, for any purpose (freedom 0). - \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. - \item The freedom to redistribute copies so you can help your neighbor (freedom 2). - \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. -\end{enumerate} - - -\section{The term ``Open Source''} -\name{Open Source Software} often stands for the same as \freesw. -But there is an essential difference: \name{Open Source} focuses on the availability of source code, while \freesw\ is about freedoms for people. - -\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. - -% http://www.gnu.org/philosophy/open-source-misses-the-point.html -% http://catb.org/~esr/open-source.html - - -\section{Development of \freesw} -Having source code available and the right to modify it, encouridges programmers to actually do so. -Their modifications are manifoldly. -Some tailor the software to their needs. -Some add features. -Some do it just for fun. -There are no limitations---whoever wants to, may work on it. - -Since the boom of the internet, \freesw\ typically is developed by an open community of programmers interested in the software. -The process of development is watchable by everyone. - -The other, now less common, method is a more closed group, developing in a ``sealed'' room, but releasing finished versions to the public. - -Eric~S.\ Raymond discusses about these methods, which he named \name{the bazaar} and \name{the cathedral} \cite{catb}. - -The following text will focus on the ``bazaar'' model. - - -\section{The role of the community} -\freesw\ projects rise and fall with their community! - -Most \freesw\ programs are developed by a very small group of programmers, often only one person. -But they are used by many people. -In between the programmers and the users, are people located who are a bit of both. -These are the ones that write documentation, find bugs and probably even fix it. -They discuss on mailing lists, bulletin boards and \NAME{IRC} chats. -The program is often spread by their ``advertising''. - -The \emph{community} consists of the actual developers and all users that contribute to the program. -Contribution can be one of the described ways, or others like providing a server for the project website for example. - -\emph{Community} is everyone who is in contact through the project. -Be it on the mailing list, the discussion board, or by telling the developers about a new feature wanted. - -There will hardly be a community if no communication channels are available. -If the development team does not provide them, there is a chance that encouraged users set them up on their own. -But this is rare and the program needs to be very popular. %TODO: maybe include an example here (w3m?) - -Projects without a good community tend to die sooner or later. - - -\section{Evolution of a community} -Let us look at the process a community establishes: In most times it's only one who has an idea, in the beginning. -He starts developing. -When others get in contact with the project, there may be some who are so much interested that they start co-developing. -Others report bugs, and some only use the program. - -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. -The size ratio of the groups vary by type of project. - -One should have that in mind, when starting a \freesw\ project. - - -\section{Creating a strong community} -Building up a good community needs some effort of the main developers. -%TODO: search for documents about this topic - -First communication channels need to be set up, to enable the growth of a community. - -Second, development should be visible by everyone who is interested in it. -Time between work done on the project and its visibility to the public should be kept short. -This makes it interesting for other developers to join. -Developers are the core of a community. - -Third, there is a rule of thumb that should be followed: ``Release early, release often!'' \cite{catb}. -Releases are (more) stable versions, primary for users. -They should be created, frequently. -People will more likely use programs of active projects. - -Fourth, the developers should try to get the users ``in the boat''. -Good communities have a large group of users that do not only receive, but also give something back to the project. -The project leaders should motivate users to contribute. -This unlocks a big work force and gets lot of unexiting work done. - -Fifth, documentation matters. -Good documentation makes it easy for users and developers to start. -And it helps to avoid a lot of unsatisfaction. -Documentation is something that shows quality and that people care about the project. - -And sixth, project leaders should be good souvereigns. -They should try to be fair, to motivate, be visionaires and try to put power and work on many shoulders. - -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! -Volunteer work lives by acknowledgement of the effort spent. diff -r a6f68b7d09fd -r 3b5ba7331eb5 thesis/tex/3-MasqmailProject.tex --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/thesis/tex/3-MasqmailProject.tex Thu Nov 13 23:24:52 2008 +0100 @@ -0,0 +1,218 @@ +\chapter{The \masqmail\ project} + +%TODO: have text by oliver here? + +\section{Purpose of \masqmail} + +\subsection{Target field} +Its original author, Oliver Kurth, sees \masqmail\ so: +\begin{quote} +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. +\end{quote} + +\masqmail\ is inteded to cover a specific niche: non-permanent internet connection and different \NAME{ISP}s. + +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: +\begin{quote} +In these cases, MasqMail is a slim replacement for full-blown MTAs such as sendmail, exim, qmail or postfix. +\end{quote} +\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. + +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. + +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. + + + +\subsection{Typical usage} +This section describes situations that make senseful use of \masqmail. + +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. + +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. + +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. + +A better setup is to run \masqmail\ on every machine %FIXME + + + +\subsection{What makes it special} + +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. + +Workstations use %FIXME + + +\subsection{Alternatives?} +% http://anfi.homeunix.org/sendmail/dialup10.html + +\section{History} +%TODO: let oliver prove read it! +%FIXME: add references +%FIXME: where does the name come from: masqdialer (guessed) + +The date of the first release (version 0.0.1) is unknown. +The only information available is, that it was packaged for \debian\ at 15\nth\ of September in 1999. +Further releases were made every few weeks or month during 2000, 2001 and 2002. +Development ended in mid-2003 in a hard stop. +The last ordinary release known to me is version 0.2.20, released on 4\nth\ of June in 2003. + +During the time of development, Oliver released 53 versions. +That means a new release in less than every 20 days in average! + +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. + +One extra release (version 0.2.21) was made by him in November 2005. +This one is only available from the \debian\ pool. +Comparing it to version 0.2.20 shows, that no source code was altered. +Only building documents (like Makefiles) and \debian\ packageing documents were changed. +That leeds to the assumption that this last release was specificly created for the needs of \debian---to fix some errors in the package. + +In May 2000 the minor version number increased to `1'. +Nothing special is mentioned in the documentation about that. +When it increased again to start the 0.2.x releases, Oliver titled them as the ``development branch'' of \masqmail. +At that second time, he started developing the 0.2.x ``development branch'', continuing to work on the 0.1.x series. +His parallel work on both branches lasted for four month, and one additional last release, numbered 0.1.17, one more year later. + + + +\section{Taking \masqmail} + + + + +\section{About \freesw\ projects} + +% http://www.faqs.org/docs/artu/ + +There are several differences between \freesw\ projects and projects about proprietary software. +To understand \freesw\ projects, one needs to understand \freesw\ itself first. + +\subsection{About \freesw} +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. +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. +One could say, the \GPL\ catalized the \name{Free Software movement}. + +% http://www.fsf.org/about/what-is-free-software + +After all, the \GPL\ was not the first \freesw\ license used. +The \name{MIT License} (or \name{X Consortium License}) for example is older; published in 1988. +Licenses providing the same rights have been used since long time ago. +But none of them was so often (re)used by other projects---thus gattering less awareness. +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. + +\freesw\ gives freedoms to its users. +In contrast to proprietary software restricting the users freedom. +The freedoms (or rights) the user has are stated in the \name{Free Software Definition} of the \NAME{FSF}. Namely these are: +% http://www.gnu.org/philosophy/free-sw.html +% http://www.fsf.org/licensing/essays/free-sw.html +\begin{enumerate} + \item The freedom to run the program, for any purpose (freedom 0). + \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. + \item The freedom to redistribute copies so you can help your neighbor (freedom 2). + \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. +\end{enumerate} + + +\subsection{The term ``Open Source''} +\name{Open Source Software} often stands for the same as \freesw. +But there is an essential difference: \name{Open Source} focuses on the availability of source code, while \freesw\ is about freedoms for people. + +\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. + +% http://www.gnu.org/philosophy/open-source-misses-the-point.html +% http://catb.org/~esr/open-source.html + + +\subsection{Development of \freesw} +Having source code available and the right to modify it, encouridges programmers to actually do so. +Their modifications are manifoldly. +Some tailor the software to their needs. +Some add features. +Some do it just for fun. +There are no limitations---whoever wants to, may work on it. + +Since the boom of the internet, \freesw\ typically is developed by an open community of programmers interested in the software. +The process of development is watchable by everyone. + +The other, now less common, method is a more closed group, developing in a ``sealed'' room, but releasing finished versions to the public. + +Eric~S.\ Raymond discusses about these methods, which he named \name{the bazaar} and \name{the cathedral} \cite{catb}. + +The following text will focus on the ``bazaar'' model. + + +\subsection{The role of the community} +\freesw\ projects rise and fall with their community! + +Most \freesw\ programs are developed by a very small group of programmers, often only one person. +But they are used by many people. +In between the programmers and the users, are people located who are a bit of both. +These are the ones that write documentation, find bugs and probably even fix it. +They discuss on mailing lists, bulletin boards and \NAME{IRC} chats. +The program is often spread by their ``advertising''. + +The \emph{community} consists of the actual developers and all users that contribute to the program. +Contribution can be one of the described ways, or others like providing a server for the project website for example. + +\emph{Community} is everyone who is in contact through the project. +Be it on the mailing list, the discussion board, or by telling the developers about a new feature wanted. + +There will hardly be a community if no communication channels are available. +If the development team does not provide them, there is a chance that encouraged users set them up on their own. +But this is rare and the program needs to be very popular. %TODO: maybe include an example here (w3m?) + +Projects without a good community tend to die sooner or later. + + +\subsection{Evolution of a community} +Let us look at the process a community establishes: In most times it's only one who has an idea, in the beginning. +He starts developing. +When others get in contact with the project, there may be some who are so much interested that they start co-developing. +Others report bugs, and some only use the program. + +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. +The size ratio of the groups vary by type of project. + +One should have that in mind, when starting a \freesw\ project. + + +\subsection{Creating a strong community} +Building up a good community needs some effort of the main developers. +%TODO: search for documents about this topic + +First communication channels need to be set up, to enable the growth of a community. + +Second, development should be visible by everyone who is interested in it. +Time between work done on the project and its visibility to the public should be kept short. +This makes it interesting for other developers to join. +Developers are the core of a community. + +Third, there is a rule of thumb that should be followed: ``Release early, release often!'' \cite{catb}. +Releases are (more) stable versions, primary for users. +They should be created, frequently. +People will more likely use programs of active projects. + +Fourth, the developers should try to get the users ``in the boat''. +Good communities have a large group of users that do not only receive, but also give something back to the project. +The project leaders should motivate users to contribute. +This unlocks a big work force and gets lot of unexiting work done. + +Fifth, documentation matters. +Good documentation makes it easy for users and developers to start. +And it helps to avoid a lot of unsatisfaction. +Documentation is something that shows quality and that people care about the project. + +And sixth, project leaders should be good souvereigns. +They should try to be fair, to motivate, be visionaires and try to put power and work on many shoulders. + +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! +Volunteer work lives by acknowledgement of the effort spent. + + + + + +\section{Project infrastructure} + diff -r a6f68b7d09fd -r 3b5ba7331eb5 thesis/tex/3-ProjectManagement.tex --- a/thesis/tex/3-ProjectManagement.tex Thu Nov 13 15:30:25 2008 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,8 +0,0 @@ -\chapter{Project management} -\section{Infrastructure} -\section{Community} -\section{Development} -\section{Documentation} -\section{Quality assurance} -\section{Distribution} - diff -r a6f68b7d09fd -r 3b5ba7331eb5 thesis/tex/4-CodeAnalysis.tex --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/thesis/tex/4-CodeAnalysis.tex Thu Nov 13 23:24:52 2008 +0100 @@ -0,0 +1,29 @@ +\chapter{Code analysis} + + +\section{Architecture} +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. + + + +\subsection{Structure} +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+. + +%masqmail: mailq, mailrm, runq, rmail, smtpd/in.smtpd +%sendmail: hoststat, mailq, newaliases, purgestat, smtpd + +\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. + +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. + +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. + +\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. + + + + +\section{Code quality} + + +\section{Security} diff -r a6f68b7d09fd -r 3b5ba7331eb5 thesis/tex/4-Experience.tex --- a/thesis/tex/4-Experience.tex Thu Nov 13 15:30:25 2008 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,2 +0,0 @@ -\chapter{Experience} - diff -r a6f68b7d09fd -r 3b5ba7331eb5 thesis/tex/4-Improvements.tex --- a/thesis/tex/4-Improvements.tex Thu Nov 13 15:30:25 2008 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,2 +0,0 @@ -\chapter{Improvements} - diff -r a6f68b7d09fd -r 3b5ba7331eb5 thesis/tex/4-ProjectManagement.tex --- a/thesis/tex/4-ProjectManagement.tex Thu Nov 13 15:30:25 2008 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,2 +0,0 @@ -\chapter{Project management 2} - diff -r a6f68b7d09fd -r 3b5ba7331eb5 thesis/tex/4-Test.tex --- a/thesis/tex/4-Test.tex Thu Nov 13 15:30:25 2008 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,2 +0,0 @@ -\chapter{Test and validation} - diff -r a6f68b7d09fd -r 3b5ba7331eb5 thesis/tex/5-Future.tex --- a/thesis/tex/5-Future.tex Thu Nov 13 15:30:25 2008 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,2 +0,0 @@ -\chapter{The future of \masqmail} - diff -r a6f68b7d09fd -r 3b5ba7331eb5 thesis/tex/5-Improvements.tex --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/thesis/tex/5-Improvements.tex Thu Nov 13 23:24:52 2008 +0100 @@ -0,0 +1,48 @@ +\chapter{Improvements} + + +\section{Existing features} +This overview regards \masqmail version 0.2.21, the state this document starts off. + +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. + +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. + +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. + +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. + + + + +\section{Directions to go} + +\subsection{\masqmail\ in five years} +\label{sec:masqmail-in-5-years} +Now how could \masqmail\ be like in, say, five years? +%requirements +%which parts to do +%how to make masqmail future-safe + +%how to advertise masqmail +%difference for free software +%why is it worth to revive masqmail? + + +\subsection{A design from scratch} +%what would be needed +%would one create it at all? + + + +\section{Work to do} + + +\section{Implementation} + + +\section{Work done} + + +\section{Test and validation} + diff -r a6f68b7d09fd -r 3b5ba7331eb5 thesis/tex/5-Summary.tex --- a/thesis/tex/5-Summary.tex Thu Nov 13 15:30:25 2008 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,2 +0,0 @@ -\chapter{Summary} - diff -r a6f68b7d09fd -r 3b5ba7331eb5 thesis/tex/6-Release.tex --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/thesis/tex/6-Release.tex Thu Nov 13 23:24:52 2008 +0100 @@ -0,0 +1,12 @@ +\chapter{Release} + + +\section{Distribution} + +\subsection{Debian} + + +\section{Documentation} + + +\section{Further life of the project} diff -r a6f68b7d09fd -r 3b5ba7331eb5 thesis/tex/7-Summary.tex --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/thesis/tex/7-Summary.tex Thu Nov 13 23:24:52 2008 +0100 @@ -0,0 +1,2 @@ +\chapter{Summary} + diff -r a6f68b7d09fd -r 3b5ba7331eb5 thesis/thesis.tex --- a/thesis/thesis.tex Thu Nov 13 15:30:25 2008 +0100 +++ b/thesis/thesis.tex Thu Nov 13 23:24:52 2008 +0100 @@ -27,31 +27,13 @@ \setcounter{page}{0} \pagenumbering{arabic} -\part{Mail transfer agents} \include{tex/1-Introduction} -\include{tex/1-Candidates} -\include{tex/1-Comparision} -\include{tex/1-Masqmail} - -\part{Market analysis} -\include{tex/2-FutureOfCommunication} -\include{tex/2-FuturesForMasqmail} - -\part{The masqmail project} -\include{tex/3-FreeSoftwareProjects} -\include{tex/3-BecomingProjectLeader} -\include{tex/3-ProjectManagement} - -\part{Implementation} -\include{tex/4-ProjectManagement} -\include{tex/4-Experience} -\include{tex/4-Improvements} -\include{tex/4-Test} - -\part{Summary and Outlook} -\include{tex/5-Summary} -\include{tex/5-Future} - +\include{tex/2-MailTransferAgents} +\include{tex/3-MasqmailProject} +\include{tex/4-CodeAnalysis} +\include{tex/5-Improvements} +\include{tex/6-Release} +\include{tex/7-Summary} \cleardoublepage \appendix