docs/diploma

changeset 393:6494832a798c

fixed all half-spaces after RF, RG, TODO
author meillo@marmaro.de
date Sat, 07 Feb 2009 12:00:11 +0100
parents b4611d4e1484
children 7d85fd0da3df
files thesis/tbl/requirements.tbl thesis/tbl/strategies.tbl thesis/tex/0-preface.tex thesis/tex/1-Introduction.tex thesis/tex/3-MailTransferAgents.tex thesis/tex/4-MasqmailsFuture.tex thesis/tex/5-Improvements.tex thesis/thesis.sty
diffstat 8 files changed, 103 insertions(+), 109 deletions(-) [+]
line diff
     1.1 --- a/thesis/tbl/requirements.tbl	Sat Feb 07 11:42:45 2009 +0100
     1.2 +++ b/thesis/tbl/requirements.tbl	Sat Feb 07 12:00:11 2009 +0100
     1.3 @@ -2,26 +2,26 @@
     1.4  	\hline
     1.5  	Requirement & Importance & Pending work & Focus \\
     1.6  	\hline \hline
     1.7 -	\RF1: In/out channels    & ++ & - & + \\
     1.8 -	\RF2: Mail queuing       & ++ & - & + \\
     1.9 -	\RF3: Header sanitizing  & 0 & - & - \\
    1.10 -	\RF4: Aliasing           & 0 & - & - \\
    1.11 -	\RF5: Route management   & + & - & 0 \\
    1.12 -	\RF6: Authentication     & ++ & + & +++ \\
    1.13 -	\RF7: Encryption         & ++ & + & +++ \\
    1.14 -	\RF8: Spam handling      & + & ++ & +++ \\
    1.15 -	\RF9: Malware handling   & - & + & 0 \\
    1.16 -	\RF10: Archiving         & - & + & 0 \\
    1.17 +	\RF\,1: In/out channels    & ++ & - & + \\
    1.18 +	\RF\,2: Mail queuing       & ++ & - & + \\
    1.19 +	\RF\,3: Header sanitizing  & 0 & - & - \\
    1.20 +	\RF\,4: Aliasing           & 0 & - & - \\
    1.21 +	\RF\,5: Route management   & + & - & 0 \\
    1.22 +	\RF\,6: Authentication     & ++ & + & +++ \\
    1.23 +	\RF\,7: Encryption         & ++ & + & +++ \\
    1.24 +	\RF\,8: Spam handling      & + & ++ & +++ \\
    1.25 +	\RF\,9: Malware handling   & - & + & 0 \\
    1.26 +	\RF\,10: Archiving         & - & + & 0 \\
    1.27  	\hline
    1.28 -	\RG1: Security           & ++ & + & +++ \\
    1.29 -	\RG2: Reliability        & ++ & + & +++ \\
    1.30 -	\RG3: Robustness         & + & + & ++ \\
    1.31 -	\RG4: Extendability      & + & ++ & +++ \\
    1.32 -	\RG5: Maintainability    & + & 0 & + \\
    1.33 -	\RG6: Testability        & 0 & 0 & 0 \\
    1.34 -	\RG7: Performance        & -{}- & - & -{}-{}- \\
    1.35 -	\RG8: Availability       & - & - & -{}- \\
    1.36 -	\RG9: Portability        & - & -{}- & -{}-{}- \\
    1.37 -	\RG10: Usability         & + & -{}- & - \\
    1.38 +	\RG\,1: Security           & ++ & + & +++ \\
    1.39 +	\RG\,2: Reliability        & ++ & + & +++ \\
    1.40 +	\RG\,3: Robustness         & + & + & ++ \\
    1.41 +	\RG\,4: Extendability      & + & ++ & +++ \\
    1.42 +	\RG\,5: Maintainability    & + & 0 & + \\
    1.43 +	\RG\,6: Testability        & 0 & 0 & 0 \\
    1.44 +	\RG\,7: Performance        & -{}- & - & -{}-{}- \\
    1.45 +	\RG\,8: Availability       & - & - & -{}- \\
    1.46 +	\RG\,9: Portability        & - & -{}- & -{}-{}- \\
    1.47 +	\RG\,10: Usability         & + & -{}- & - \\
    1.48  	\hline
    1.49  \end{tabular}
     2.1 --- a/thesis/tbl/strategies.tbl	Sat Feb 07 11:42:45 2009 +0100
     2.2 +++ b/thesis/tbl/strategies.tbl	Sat Feb 07 12:00:11 2009 +0100
     2.3 @@ -2,32 +2,32 @@
     2.4  	\hline
     2.5  	Requirement           & Focus & S\,1 & S\,2 & S\,3 \\
     2.6  	\hline \hline
     2.7 -	\RF7: Encryption (\TODO1)       & +++ & x  &    &   \\
     2.8 -	\RF6: Authentication (\TODO2)   & +++ & x  &    &   \\
     2.9 -	\RG1: Security (\TODO3)         & +++ &    & x  & x \\
    2.10 -	\RG2: Reliability (\TODO4)      & +++ &    &    & x \\
    2.11 -	\RF8: Spam handling (\TODO5)    & +++ & x  & x  & x \\
    2.12 -	\RG4: Extendability (\TODO6)    & +++ &    &    & x \\
    2.13 +	\RF\,7: Encryption (\TODO\,1)       & +++ & x  &    &   \\
    2.14 +	\RF\,6: Authentication (\TODO\,2)   & +++ & x  &    &   \\
    2.15 +	\RG\,1: Security (\TODO\,3)         & +++ &    & x  & x \\
    2.16 +	\RG\,2: Reliability (\TODO\,4)      & +++ &    &    & x \\
    2.17 +	\RF\,8: Spam handling (\TODO\,5)    & +++ & x  & x  & x \\
    2.18 +	\RG\,4: Extendability (\TODO\,6)    & +++ &    &    & x \\
    2.19  	\hline
    2.20 -	\RG3: Robustness        & ++  &    &    & x \\
    2.21 +	\RG\,3: Robustness        & ++  &    &    & x \\
    2.22  	\hline
    2.23 -	\RF1: In/out channels   & +   & x  & x  & x \\
    2.24 -	\RF2: Mail queueing     & +   &    &    & x \\
    2.25 -	\RG5: Maintainability   & +   &    &    & x \\
    2.26 +	\RF\,1: In/out channels   & +   & x  & x  & x \\
    2.27 +	\RF\,2: Mail queueing     & +   &    &    & x \\
    2.28 +	\RG\,5: Maintainability   & +   &    &    & x \\
    2.29  	\hline
    2.30 -	\RF5: Route management  & 0   & x  &    &   \\
    2.31 -	\RF9: Malware handling  & 0   & x  & x  & x \\
    2.32 -	\RF10: Archiving        & 0   & x  &    & x \\
    2.33 -	\RG6: Testability       & 0   &    &    & x \\
    2.34 +	\RF\,5: Route management  & 0   & x  &    &   \\
    2.35 +	\RF\,9: Malware handling  & 0   & x  & x  & x \\
    2.36 +	\RF\,10: Archiving        & 0   & x  &    & x \\
    2.37 +	\RG\,6: Testability       & 0   &    &    & x \\
    2.38  	\hline
    2.39 -	\RF3: Header sanitizing & -   & x  &    &   \\
    2.40 -	\RF4: Aliasing          & -   & x  &    &   \\
    2.41 -	\RG10: Usability        & -   & x  &    &   \\
    2.42 +	\RF\,3: Header sanitizing & -   & x  &    &   \\
    2.43 +	\RF\,4: Aliasing          & -   & x  &    &   \\
    2.44 +	\RG\,10: Usability        & -   & x  &    &   \\
    2.45  	\hline
    2.46 -	\RG8: Availability      & -{}- & x &    &   \\
    2.47 +	\RG\,8: Availability      & -{}- & x &    &   \\
    2.48  	\hline
    2.49 -	\RG7: Performance       & -{}-{}- & x &  &  \\
    2.50 -	\RG9: Portability       & -{}-{}- & x &  &  \\
    2.51 +	\RG\,7: Performance       & -{}-{}- & x &  &  \\
    2.52 +	\RG\,9: Portability       & -{}-{}- & x &  &  \\
    2.53  	\hline \hline
    2.54  	Score (Sum of `+')      & 23  & 9  & 7  & 17 \\
    2.55  	\hline
     3.1 --- a/thesis/tex/0-preface.tex	Sat Feb 07 11:42:45 2009 +0100
     3.2 +++ b/thesis/tex/0-preface.tex	Sat Feb 07 12:00:11 2009 +0100
     3.3 @@ -4,7 +4,7 @@
     3.4  
     3.5  This thesis is about \masqmail, a small mail transfer agent for workstations and home networks. In October 2007 I had chosen \masqmail\ for my machines because of its small size though it was a ``real'' mail transfer agent. \masqmail\ served me well since then and I have found no reasons to change.
     3.6  
     3.7 -Unfortunately, the \masqmail\ package in \debian, which is my preferred \NAME{GNU}/Linux distribution, is unmaintained since the beginning of 2008. Unmaintained packages are likely to get dropped out of a distribution if critical bugs appear in them. Although \masqmail\ had no critical bugs, this was a situation I definitely wanted to prevent.
     3.8 +Unfortunately, the \masqmail\ package in \name{Debian}, which is my preferred \NAME{GNU}/Linux distribution, is unmaintained since the beginning of 2008. Unmaintained packages are likely to get dropped out of a distribution if critical bugs appear in them. Although \masqmail\ had no critical bugs, this was a situation I definitely wanted to prevent.
     3.9  
    3.10  Using my diploma thesis as a ``power-start'' for maintaining and developing \masqmail\ in the future was a great idea. As it came to my mind I knew this is the thing I \emph{wanted} to do. --- I did it! :-)
    3.11  
    3.12 @@ -20,7 +20,7 @@
    3.13  
    3.14  This document is primary written with an audience of \masqmail\ developers and developers of other mail transfer agents in mind. But users of \masqmail\ and everyone who is interested in email systems in general may find this thesis an interesting literature, too.
    3.15  
    3.16 -However, at least basic knowledge about \unix\ and C programming is a prerequisite for chapters three, four, and five. \person{Kernighan} and \person{Pike}'s ``The \NAME{UNIX} Programming Environment'' \cite{kernighan84} is a valuable source to gain information about \unix. Programming in the C language is best learned from \person{Kernighan} and \person{Ritchie}'s ``The C Programming Language'' \cite{k&r}.
    3.17 +However, at least basic knowledge about Unix and C programming is a prerequisite for chapters three, four, and five. \person{Kernighan} and \person{Pike}'s ``The \NAME{UNIX} Programming Environment'' \cite{kernighan84} is a valuable source to gain information about Unix. Programming in the C language is best learned from \person{Kernighan} and \person{Ritchie}'s ``The C Programming Language'' \cite{k&r}.
    3.18  
    3.19  
    3.20  
     4.1 --- a/thesis/tex/1-Introduction.tex	Sat Feb 07 11:42:45 2009 +0100
     4.2 +++ b/thesis/tex/1-Introduction.tex	Sat Feb 07 12:00:11 2009 +0100
     4.3 @@ -26,7 +26,7 @@
     4.4  
     4.5  \item[\MUA{}:]
     4.6  \index{mua}
     4.7 -\name{Mail User Agents} are the software users deal with. A user writes and reads email with it. The \MUA{} passes outgoing mail to the nearest \MTA. Also the \MUA{} displays the contents of the user's mailbox. Well known \MUA{}s are \name{Mozilla Thunderbird} and \name{mutt} on \unix\ systems, and \name{Microsoft Outlook} on \name{Windows}.
     4.8 +\name{Mail User Agents} are the software users deal with. A user writes and reads email with it. The \MUA{} passes outgoing mail to the nearest \MTA. Also the \MUA{} displays the contents of the user's mailbox. Well known \MUA{}s are \name{Mozilla Thunderbird} and \name{mutt} on Unix systems, and \name{Microsoft Outlook} on \name{Windows}.
     4.9  
    4.10  \item[\MDA{}:]
    4.11  \index{mda}
    4.12 @@ -88,7 +88,7 @@
    4.13  
    4.14  The \masqmail\ project\index{masqmail!the project} was initiated by \person{Oliver Kurth} in 1999. His aim was to create a small \MTA\ that is especially focused on computers with dial-up Internet connections\index{dial-up}. Throughout the next four years he worked steadily on it, releasing new versions every few weeks. During the active phase of development 53 version have been released. In average, this is a new version every 20 days.
    4.15  
    4.16 -This thesis is based on the latest release of \masqmail---version 0.2.21, dated November 2005\index{masqmail!latest release}. It was released after a 28 month gap of inactivity. The source code of 0.2.21 is the same as of 0.2.20, with only build documents modified. The homepage of \masqmail\ \citeweb{masqmail:homepage2}\index{masqmail!homepage} does not include this latest release, but it can be retrieved from the \debian\ package pool\index{debian!package pool}\footnote{The \NAME{URL} is:\\\url{http://ftp.de.debian.org/debian/pool/main/m/masqmail/masqmail_0.2.21.orig.tar.gz}} \citeweb{packages.debian}.
    4.17 +This thesis is based on the latest release of \masqmail---version 0.2.21, dated November 2005\index{masqmail!latest release}. It was released after a 28 month gap of inactivity. The source code of 0.2.21 is the same as of 0.2.20, with only build documents modified. The homepage of \masqmail\ \citeweb{masqmail:homepage2}\index{masqmail!homepage} does not include this latest release, but it can be retrieved from the \name{Debian} package pool\index{debian!package pool}\footnote{The \NAME{URL} is:\\\url{http://ftp.de.debian.org/debian/pool/main/m/masqmail/masqmail_0.2.21.orig.tar.gz}} \citeweb{packages.debian}.
    4.18  
    4.19  \masqmail\ is covered by the \name{General Public License}\index{gpl} (short: \NAME{GPL}) version two or any later version \cite{fsf:gpl}. This qualifies \masqmail\ as Free Software\index{free software} \cite{fsf:freesw-definition}.
    4.20  
    4.21 @@ -111,7 +111,7 @@
    4.22  
    4.23  It is intended to cover a specific niche: non-permanent Internet connection and different \name{Internet Service Providers} (short: \NAME{ISP}s).
    4.24  
    4.25 -Although it can basically replace other \MTA{}s it is not \emph{generally} aimed to do so. The package description of \masqmail\ within \debian\ states this more clearly by changing the last sentence to:\index{debian!masqmail package}
    4.26 +Although it can basically replace other \MTA{}s it is not \emph{generally} aimed to do so. The package description of \masqmail\ within \name{Debian} states this more clearly by changing the last sentence to:\index{debian!masqmail package}
    4.27  
    4.28  \begin{quote}
    4.29  In these cases, MasqMail is a slim replacement for full-blown \MTA{}s such as sendmail, exim, qmail or postfix.
    4.30 @@ -364,7 +364,7 @@
    4.31  
    4.32  Although the development on \masqmail\ has been stopped in 2003, \masqmail\ still has its users. Having users is already reason enough for further development and maintenance. This applies especially when the software covers a niche and when requirements for such software in general changed. Both is the case for \masqmail.
    4.33  
    4.34 -It is difficult to get numbers about users of Free Software because no one needs to tell anyone when he uses some software. \debian's \name{popcon} statistics \citeweb{popcon.debian} are a try to provided numbers. For January 2009, the statistics report 60 \masqmail\ installations of which 49 are in active use. If it is assumed that one third of all \debian\ users report their installed software\footnote{One third is a high guess as it means there would be only about 230 thousand \debian\ installations in total. But according to the \name{Linux Counter} \citeweb{counter.li.org} between 490 thousand and 12 million \debian\ users can be estimated.}, there would be in total around 150 active \masqmail\ installations in \debian. \name{Ubuntu} which also does \name{popcon} statistics \citeweb{popcon.ubuntu}, counts 82 installations with 13 active ones. If here also one third of all systems submit their data, 40 active installations can be added. Including a guessed amount of additional 30 installations on other \unix\ operating systems makes about 220 \masqmail\ installations in total. Of course one person may have \masqmail\ installed on more than one computer, but a total of 150 different users seems to be realistic.
    4.35 +It is difficult to get numbers about users of Free Software because no one needs to tell anyone when he uses some software. \name{Debian}'s \name{popcon} statistics \citeweb{popcon.debian} are a try to provided numbers. For January 2009, the statistics report 60 \masqmail\ installations of which 49 are in active use. If it is assumed that one third of all \name{Debian} users report their installed software\footnote{One third is a high guess as it means there would be only about 230 thousand \name{Debian} installations in total. But according to the \name{Linux Counter} \citeweb{counter.li.org} between 490 thousand and 12 million \name{Debian} users can be estimated.}, there would be in total around 150 active \masqmail\ installations in \name{Debian}. \name{Ubuntu} which also does \name{popcon} statistics \citeweb{popcon.ubuntu}, counts 82 installations with 13 active ones. If here also one third of all systems submit their data, 40 active installations can be added. Including a guessed amount of additional 30 installations on other Unix operating systems makes about 220 \masqmail\ installations in total. Of course one person may have \masqmail\ installed on more than one computer, but a total of 150 different users seems to be realistic.
    4.36  \index{debian!popcon}
    4.37  \index{masqmail!users}
    4.38  
     5.1 --- a/thesis/tex/3-MailTransferAgents.tex	Sat Feb 07 11:42:45 2009 +0100
     5.2 +++ b/thesis/tex/3-MailTransferAgents.tex	Sat Feb 07 12:00:11 2009 +0100
     5.3 @@ -73,7 +73,7 @@
     5.4  
     5.5  \MTA{}s can also be split in other ways.
     5.6  
     5.7 -Due to \sendmail's significance in the early times of email, compatibility interfaces to \sendmail\ are important for Unix \MTA{}s. The reason is that many mail applications simply assume the \sendmail\ \MTA\ to be installed on the system. Being not \name{sendmail-compatible} may not matter for some fields of action, but makes the program ineligible for serving as a general purpose \MTA\ on \unix\ systems. Hence being sendmail-compatible is a major property of an \MTA. \MTA{}s without \name{sendmail-compatible} interfaces, or at least compatibility add-ons, will not be covered here. One example for such a program is \name{Apache James}.  %FIXME: check if correct
     5.8 +Due to \sendmail's significance in the early times of email, compatibility interfaces to \sendmail\ are important for Unix \MTA{}s. The reason is that many mail applications simply assume the \sendmail\ \MTA\ to be installed on the system. Being not \name{sendmail-compatible} may not matter for some fields of action, but makes the program ineligible for serving as a general purpose \MTA\ on Unix systems. Hence being sendmail-compatible is a major property of an \MTA. \MTA{}s without \name{sendmail-compatible} interfaces, or at least compatibility add-ons, will not be covered here. One example for such a program is \name{Apache James}.  %FIXME: check if correct
     5.9  \index{sendmail!compatibility}
    5.10  
    5.11  Another separation can be done between Free Software \MTA{}s and proprietary ones. Many of the \MTA{}s for Unix systems are Free Software. Only these are regarded throughout this thesis, because comparing Free Software with proprietary or commercial software is not what typical users of programs like \masqmail\ do. Comparison with non-free programs may be a point for large Free Software projects that try 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 document is seen from \masqmail's point of view---an \MTA\ for Unix systems on home servers and workstations---so non-free software is out of the way.
    5.12 @@ -102,7 +102,7 @@
    5.13  
    5.14  \section{Popular MTAs}
    5.15  
    5.16 -This section introduces a selection of popular \MTA{}s; they are the most likely substitutes for \masqmail. All are sendmail-compatible ``smart'' \freesw\ \MTA{}s that focus on mail transfer, as is \masqmail.
    5.17 +This section introduces a selection of popular \MTA{}s; they are the most likely substitutes for \masqmail. All are sendmail-compatible ``smart'' Free Software \MTA{}s that focus on mail transfer, as is \masqmail.
    5.18  
    5.19  The programs chosen to be compared are: \sendmail, \exim, \qmail, and \postfix. They are the most important representatives of the regarded group.
    5.20  
    5.21 @@ -206,7 +206,7 @@
    5.22  
    5.23  The \postfix\ project started in 1999 at \NAME{IBM} \name{research}, then called \name{VMailer} or \NAME{IBM} \name{Secure Mailer}. \person{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, \postfix\ was mainly designed after qmail's architecture to gain security. But in contrast to \qmail\ it aims much more on being fast and full-featured.
    5.24  
    5.25 -Today \postfix\ is taken by many \unix\ systems and \gnulinux\ distributions as default \MTA.
    5.26 +Today \postfix\ is taken by many Unix systems and \gnulinux\ distributions as default \MTA.
    5.27  
    5.28  The latest stable version is numbered 2.5.6 from December 2008. \postfix\ is covered by the \NAME{IBM} \name{Public License 1.0} which is a Free Software license.
    5.29  
     6.1 --- a/thesis/tex/4-MasqmailsFuture.tex	Sat Feb 07 11:42:45 2009 +0100
     6.2 +++ b/thesis/tex/4-MasqmailsFuture.tex	Sat Feb 07 12:00:11 2009 +0100
     6.3 @@ -44,7 +44,7 @@
     6.4  The requirements are named ``\NAME{RF}'' for ``requirement, functional''.
     6.5  
     6.6  
     6.7 -\paragraph{\RF1: Incoming and outgoing channels}
     6.8 +\paragraph{\RF\,1: Incoming and outgoing channels}
     6.9  \label{rf1}
    6.10  \sendmail-compatible \MTA{}s must support at least two incoming channels: mail submitted using the \path{sendmail} command, and mail received on a \NAME{TCP} port. Thus it is common to split the incoming channels into local and remote. This is done by \qmail\ and \postfix. The same way is \person{Hafiz}'s view \cite{hafiz05}.
    6.11  \index{incoming channels}
    6.12 @@ -80,7 +80,7 @@
    6.13  
    6.14  
    6.15  
    6.16 -\paragraph{\RF2: Mail queuing}
    6.17 +\paragraph{\RF\,2: Mail queuing}
    6.18  \label{rf2}
    6.19  \index{mail queue}
    6.20  Mail queuing removes the need to deliver instantly as a message is received. The queue provides fail-safe storage of mails until they are delivered. Mail queues are probably used in all \MTA{}s, even in some simple forwarders. The mail queue is essential for \masqmail, as \masqmail\ is intended for non-permanent online connections. This means, mail must be queued until a online connection is available to send the message. This may be after a reboot. Hence the mail queue must provide persistence.
    6.21 @@ -93,7 +93,7 @@
    6.22  
    6.23  
    6.24  
    6.25 -\paragraph{\RF3: Header sanitizing}
    6.26 +\paragraph{\RF\,3: Header sanitizing}
    6.27  \label{rf3}
    6.28  \index{header sanitizing}
    6.29  Mail coming into the system often lacks important header lines. At least the required ones must be added by the \MTA. One example is the \texttt{Date:} header, another is the, not required but recommended, \texttt{Message-ID:} header. Apart from adding missing headers, rewriting headers is important, too. Changing the locally known domain part of email addresses to globally known ones is an example. \masqmail\ needs to be able to rewrite the domain part dependent on the route used to send the message, to prevent messages to get classified as spam.
    6.30 @@ -104,7 +104,7 @@
    6.31  
    6.32  
    6.33  
    6.34 -\paragraph{\RF4: Aliasing}
    6.35 +\paragraph{\RF\,4: Aliasing}
    6.36  \label{rf4}
    6.37  \index{aliases}
    6.38  Email addresses can have aliases, thus they need to be expanded. Aliases can be of different kind: another local user, a remote user, a list of local and remote users, or a command. Most important are the aliases in the \path{aliases} file, usually located at \path{/etc/aliases}. Addresses expanding to lists of users lead to more envelopes. Aliases changing the recipient's domain part may require a different route to be used.
    6.39 @@ -112,7 +112,7 @@
    6.40  
    6.41  
    6.42  
    6.43 -\paragraph{\RF5: Route management}
    6.44 +\paragraph{\RF\,5: Route management}
    6.45  \label{rf5}
    6.46  \index{online routes}
    6.47  One key feature of \masqmail\ is its ability to send mail out over different routes. The online state defines the active route to be used. A specific route may not be suited for all messages, thus these messages are hold back until a suiting route is active. For more information on this concept see section~\ref{sec:masqmail-routes}.
    6.48 @@ -120,7 +120,7 @@
    6.49  
    6.50  
    6.51  
    6.52 -\paragraph{\RF6: Authentication}
    6.53 +\paragraph{\RF\,6: Authentication}
    6.54  \label{rf6}
    6.55  \label{requirement-authentication}
    6.56  \index{auth}
    6.57 @@ -153,7 +153,7 @@
    6.58  
    6.59  
    6.60  
    6.61 -\paragraph{\RF7: Encryption}
    6.62 +\paragraph{\RF\,7: Encryption}
    6.63  \label{rf7}
    6.64  \label{requirement-encryption}
    6.65  \index{enc}
    6.66 @@ -185,7 +185,7 @@
    6.67  
    6.68  
    6.69  
    6.70 -\paragraph{\RF8: Spam handling}
    6.71 +\paragraph{\RF\,8: Spam handling}
    6.72  \label{rf8}
    6.73  \index{spam}
    6.74  Spam is a major threat nowadays, but it is a war that is hard to win. The goal is to provide state-of-the-art spam protection, but not more. (See section~\ref{sec:swot-analysis}.)
    6.75 @@ -211,7 +211,7 @@
    6.76  
    6.77  
    6.78  
    6.79 -\paragraph{\RF9: Malware handling}
    6.80 +\paragraph{\RF\,9: Malware handling}
    6.81  \label{rf9}
    6.82  \index{malware}
    6.83  Related to spam is malicious content (short: \name{malware}) like viruses, worms, and trojan horses. They, in contrast to spam, do not affect the \MTA\ itself, as they are in the mail's body. \MTA{}s that search for malware are equal to post offices that open letters to check if they contain something that could harm the recipient. This is not a mail transport job. But by many people the \MTA\ which is responsible for the recipient is seen to be at a good position to do this work, thus it is often done there. Though, it is nice to have interfaces to such scanners within the \MTA.
    6.84 @@ -223,7 +223,7 @@
    6.85  
    6.86  
    6.87  
    6.88 -\paragraph{\RF10: Archiving}
    6.89 +\paragraph{\RF\,10: Archiving}
    6.90  \label{rf10}
    6.91  \index{archiving}
    6.92  Mail archiving and auditability become more important as email establishes as technology for serious business communication. Archiving is a must for companies in many countries. In the United States, the \name{Sarbanes-Oxley Act} \cite{sox} covers this topic.
    6.93 @@ -246,7 +246,7 @@
    6.94  These non-functional requirements are named ``\NAME{RG}'' for ``requirement, general''.
    6.95  
    6.96  
    6.97 -\paragraph{\RG1: Security}
    6.98 +\paragraph{\RG\,1: Security}
    6.99  \index{security}
   6.100  \MTA{}s are critical points for computer security as they are accessible from external networks. They must be secured with high effort. Properties like the need for high privilege level, from outside influenced work load, work on unsafe data, and demand for reliability, increase the need for security. This is best done by modularization, also called \name{compartmentalization}, as described in section~\ref{sec:discussion-mta-arch}.
   6.101  \index{compartmentalization}
   6.102 @@ -255,7 +255,7 @@
   6.103  \index{masqmail!security}
   6.104  
   6.105  
   6.106 -\paragraph{\RG2: Reliability}
   6.107 +\paragraph{\RG\,2: Reliability}
   6.108  \index{reliability}
   6.109  Reliability is the second essential quality property for an \MTA. Mail for which the \MTA\ took responsibility must never get lost while it is within the \MTA's responsibility. The \MTA\ must not be \emph{the cause} of any mail loss, no matter what happens. Unreliable \MTA{}s are of no value. However, as the mail transport infrastructure is a distributed system, one of the communication partners or the transport medium may crash at any time during mail transfer. Thus reliability is needed for mail transfer communication, too.
   6.110  \index{mail loss}
   6.111 @@ -266,27 +266,27 @@
   6.112  \index{duplicates}
   6.113  
   6.114  
   6.115 -\paragraph{\RG3: Robustness}
   6.116 +\paragraph{\RG\,3: Robustness}
   6.117  \index{robustness}
   6.118  Being robust means handling errors properly. Small errors may get corrected, large errors may kill a process. Killed processes should get restarted automatically and lead to a clean state again. Log messages should be written in every case. Robust software does not need a special environment, it creates a friendly environment itself. \person{Raymond}'s \name{Rule of Robustness} and his \name{Rule of Repair} are good descriptions \cite[pages~18--21]{raymond03}.
   6.119  
   6.120  
   6.121 -\paragraph{\RG4: Extendability}
   6.122 +\paragraph{\RG\,4: Extendability}
   6.123  \index{extendability}
   6.124  \masqmail's architecture needs to be extendable to allow new features to be added afterwards. The reasons for this need are the changing requirements. New requirements will appear, like more efficient mail transfer of large messages or a final solution to the spam problem. Extendability is the ability of software to include new function with little work.
   6.125  
   6.126  
   6.127 -\paragraph{\RG5: Maintainability}
   6.128 +\paragraph{\RG\,5: Maintainability}
   6.129  \index{maintainability}
   6.130  Maintaining software takes much time and effort. \person{Spinellis} guesses ``40\,\% to 70\,\% of the effort that goes into a software system is expended after the system is written first time.'' \cite[page~1]{spinellis03}. This work is called \emph{maintaining}. Hence making software good to maintain will ease all further work.
   6.131  
   6.132  
   6.133 -\paragraph{\RG6: Testability}
   6.134 +\paragraph{\RG\,6: Testability}
   6.135  \index{testability}
   6.136  Good testability make maintenance easier too, because functionality is directly verifiable when changes are done, thus removing the uncertainty. Modularized software makes testing easier, because parts can be tested without external influences. \person{Spinellis} sees testability as a sub-quality of maintainability.
   6.137  
   6.138  
   6.139 -\paragraph{\RG7: Performance}
   6.140 +\paragraph{\RG\,7: Performance}
   6.141  \index{performance}
   6.142  Also called ``efficiency''. Efficient software requires few time and few resources. The merge of communication hardware and its move from service providers to homes and to mobile devices demand smaller and more resource-friendly software. The amount of mail will be lower even if much more mail will be sent, thus time performance is less important. \masqmail\ is not a program to be used on large servers, but on small devices. Thus more important for \masqmail\ will be energy and heat saving, maybe also system resources.
   6.143  
   6.144 @@ -294,18 +294,18 @@
   6.145  
   6.146  
   6.147  
   6.148 -\paragraph{\RG8: Availability}
   6.149 +\paragraph{\RG\,8: Availability}
   6.150  \index{availability}
   6.151  Availability is important for server programs. They must stay operational by blocking \name{denial of service} attacks and the like. Automated restarts into a clean state after fatal errors are also required.
   6.152  
   6.153  
   6.154 -\paragraph{\RG9: Portability}
   6.155 +\paragraph{\RG\,9: Portability}
   6.156  \index{portability}
   6.157 -Source code that compiles and runs on various operation systems is called portable. Portability can be achieved by using standard features of the programming language and common libraries. Basic rules to achieve portable code are defined by \person{Kernighan} and \person{Pike} \cite{kernighan99}. Portable code lets software spread faster. Portability among the various flavors of Unix systems is a goal for \masqmail, because these systems are the ones \MTA{}s usually run on. No special care needs to be taken for non-\unix\ platforms.
   6.158 +Source code that compiles and runs on various operation systems is called portable. Portability can be achieved by using standard features of the programming language and common libraries. Basic rules to achieve portable code are defined by \person{Kernighan} and \person{Pike} \cite{kernighan99}. Portable code lets software spread faster. Portability among the various flavors of Unix systems is a goal for \masqmail, because these systems are the ones \MTA{}s usually run on. No special care needs to be taken for non-Unix platforms.
   6.159  
   6.160  
   6.161  
   6.162 -\paragraph{\RG10: Usability}
   6.163 +\paragraph{\RG\,10: Usability}
   6.164  \index{usability}
   6.165  Usability, not mentioned by \person{Hafiz} (he focuses on architecture) but by \person{Spinellis} and \person{Kan}, is a property which is very important from the user's point of view. Software with bad usability is rarely used, no matter how good it is. If substitutes with better usability exist, the user will switch to one of them. Here, usability includes setting up and configuring; the term ``users'' includes administrators. Having \MTA{}s on home servers and workstations requires easy and standardized configuration. The common setups should be configurable with little action by the user. Complex configuration should be possible, but the focus should be on the most common form of configuration: choosing one of several common setups.
   6.166  
   6.167 @@ -380,55 +380,55 @@
   6.168  Here follows a description of how far the requirements are already fulfilled by \masqmail.
   6.169  
   6.170  
   6.171 -\paragraph{\RF1: In/out channels}
   6.172 +\paragraph{\RF\,1: In/out channels}
   6.173  \index{incoming channels}
   6.174  \index{outgoing channels}
   6.175 -The incoming and outgoing channels that \masqmail\ already has (depicted in figure~\ref{fig:masqmail-channels} on page \pageref{fig:masqmail-channels}) are the ones required for an \MTA{}s at the moment. Currently, support for other protocols seems not to be necessary, although new protocols and mailing concepts are likely to appear (see section~\ref{sec:email-trends}). As other protocols are not required today, \masqmail\ is regarded to fulfill \RF1. Without any support in \masqmail\ for adding further protocols, the best strategy is to delaying such work until the functionality is essential, anyway.
   6.176 +The incoming and outgoing channels that \masqmail\ already has (depicted in figure~\ref{fig:masqmail-channels} on page \pageref{fig:masqmail-channels}) are the ones required for an \MTA{}s at the moment. Currently, support for other protocols seems not to be necessary, although new protocols and mailing concepts are likely to appear (see section~\ref{sec:email-trends}). As other protocols are not required today, \masqmail\ is regarded to fulfill \RF\,1. Without any support in \masqmail\ for adding further protocols, the best strategy is to delaying such work until the functionality is essential, anyway.
   6.177  
   6.178  %fixme: << smtp submission >> %fixme
   6.179  
   6.180 -\paragraph{\RF2: Queuing}
   6.181 +\paragraph{\RF\,2: Queuing}
   6.182  \index{mail queue}
   6.183  One single mail queue is used in \masqmail. It satisfies all current requirements.
   6.184  
   6.185 -\paragraph{\RF3: Header sanitizing}
   6.186 +\paragraph{\RF\,3: Header sanitizing}
   6.187  \index{header sanitizing}
   6.188  The envelope and mail headers are generated when the mail is put into the queue. The requirements are fulfilled.
   6.189  
   6.190 -\paragraph{\RF4: Aliasing}
   6.191 +\paragraph{\RF\,4: Aliasing}
   6.192  \index{aliases}
   6.193  Aliasing is done on delivery. All common kinds of aliases in the global aliases file are supported. So called \name{.forward} aliasing is not supported, but this is less common and seldom used.
   6.194  
   6.195 -\paragraph{\RF5: Route management}
   6.196 +\paragraph{\RF\,5: Route management}
   6.197  \index{online routes}
   6.198  Querying the name of the active route is done on delivery. Headers can get rewritten a second time then. This part does provide all the functionality required.
   6.199  
   6.200 -\paragraph{\RF6: Authentication}
   6.201 +\paragraph{\RF\,6: Authentication}
   6.202  \index{auth}
   6.203  Static authentication, based on \NAME{IP} addresses, can be achieved with \person{Venema}'s \NAME{TCP} \name{Wrapper} \cite{venema92}, by editing the \path{hosts.allow} and \path{hosts.deny} files. This is only relevant to authenticate hosts that try to submit mail into the system. Dynamic (secret-based) \SMTP\ authentication is already supported in form of \NAME{SMTP-AUTH} and \SMTP-after-\NAME{POP}, but only for outgoing connections. For incoming connections only address-based authentication is supported.
   6.204  \index{auth!smtp-after-pop}
   6.205  \index{auth!smtp-auth}
   6.206  
   6.207 -\paragraph{\RF7: Encryption}
   6.208 +\paragraph{\RF\,7: Encryption}
   6.209  \index{enc}
   6.210  Similar is the situation for encryption which is also only available for outgoing channels; here a tunnel application, like \name{openssl}, is needed. A secure tunnel can be created to send mail trough. State-of-the-art, however, is using \NAME{STARTTLS}, but this is not supported. For incoming channels, no encryption is available. The only possible setup to provide encryption of incoming channels is using an application like \name{stunnel} to crypt between the secure connection to the remote host and the plain connection to the \MTA. Unfortunately, this suffers from the problem explained on page \pageref{fig:stunnel} in figure~\ref{fig:stunnel}. Anyway, it would still be no \NAME{STARTTLS} support.
   6.211  \index{secure tunnel}
   6.212  
   6.213 -\paragraph{\RF8: Spam handling}
   6.214 +\paragraph{\RF\,8: Spam handling}
   6.215  \index{spam!handling}
   6.216  \masqmail\ does not provide special support for spam filtering. Spam prevention by not accepting spam during the \SMTP\ dialog is not possible at all. Spam filtering is only possible by using two \masqmail\ instances with an external spam filter in between. The mail flow is from the receiving \MTA\ instance, which accepts mail, to the filter application that processes and possible modifies it, to the second \MTA\ which is responsible for further delivery of the mail. This is a concept that works in general, and it is good to separate different work with clear interfaces. But the need of two instances of the same \MTA, with doubled setup, makes it rather a work-around. Better is to have this data flow respected in the \MTA\ design, like it was done in \postfix. Anyway, the more important part of spam handling, for sure, is done during the \SMTP\ dialog by completely refusing unwanted mail.
   6.217  
   6.218 -\paragraph{\RF9: Malware handling}
   6.219 +\paragraph{\RF\,9: Malware handling}
   6.220  \index{malware!handling}
   6.221  For malware handling applies nearly the same as for spam handling, except that all checks are done after mail is accepted. The possible setup is the same with the two \MTA\ instances and the filter in between. \masqmail\ does support such a setup, but not in a nice way.
   6.222  
   6.223 -\paragraph{\RF10: Archiving}
   6.224 +\paragraph{\RF\,10: Archiving}
   6.225  \index{archiving}
   6.226  There is currently no way for archiving every message that does through \masqmail.
   6.227  
   6.228  
   6.229  
   6.230 -\paragraph{\RG1: Security}
   6.231 +\paragraph{\RG\,1: Security}
   6.232  \index{security}
   6.233  \masqmail's current security is bad. However, it seems acceptable for using \masqmail\ on workstations and private networks, if the environment is trustable and \masqmail\ is protected against remote attacks. In environments where untrusted components or persons have access to \masqmail, its security is too low. Its author states that \masqmail\ ``is not designed to'' such usage \citeweb{masqmail:homepage2}. This is a clear indicator for being careful. Issues like high memory consumption, low performance, and denial-of-service attacks---things not regarded by design---may cause serious problems. In any way, a security report that confirms \masqmail's security level is missing.
   6.234  \index{masqmail!security}
   6.235 @@ -436,7 +436,7 @@
   6.236  \masqmail\ uses conditional compilation to exclude unneeded functionality from the executable at compile time. Excluding code means excluding all bugs and weaknesses within this code, too. Excluding unused code is a good concept to improve security.
   6.237  \index{conditional compilation}
   6.238  
   6.239 -\paragraph{\RG2: Reliability}
   6.240 +\paragraph{\RG\,2: Reliability}
   6.241  \index{reliability}
   6.242  Its reliability is also not good enough. Situations where only one part of a sent message was removed from the queue and the other part remained as garbage, showed off \citeweb{debian:bug245882}. Problems with large mail messages in conjunction with small bandwidth were also reported \citeweb{debian:bug216226}. Fortunately, lost email was no big problem yet, but \person{Kurth} warns:
   6.243  \index{masqmail!bugs}
   6.244 @@ -449,22 +449,22 @@
   6.245  In summary: Current reliability needs to be improved.
   6.246  %fixme: state machine
   6.247  
   6.248 -\paragraph{\RG3: Robustness}
   6.249 +\paragraph{\RG\,3: Robustness}
   6.250  \index{robustness}
   6.251  The logging behavior of \masqmail\ is good, although it does not cover the whole code. For example, if the queue directory is world writeable by accident (or as action of an intruder), any user can remove messages from the queue or replace them with own ones. \masqmail\ does not even write a debug message in this case. The origin of this problem, however, is \masqmail's trust in its environment.
   6.252  %fixme: rule of robustness, rule of repair
   6.253  
   6.254 -\paragraph{\RG4: Extendability}
   6.255 +\paragraph{\RG\,4: Extendability}
   6.256  \index{extendability}
   6.257  \masqmail's extendability is very poor. This is a general problem of monolithic software, but can though be provided with high effort. \exim\ is an example for good extendability in a monolithic program.
   6.258  
   6.259 -\paragraph{\RG5: Maintainability}
   6.260 +\paragraph{\RG\,5: Maintainability}
   6.261  \index{maintainability}
   6.262  The maintainability of \masqmail\ is equivalent to other software of similar kind. Missing modularity and therefore more complexity makes the maintainer's work harder. Conditional compilation might be good for security, but \name{ifdef}s scattered throughout the source code is a pain for maintenance. In summary is \masqmail's maintainability bearable, like in average Free Software projects.
   6.263  
   6.264  
   6.265  
   6.266 -\paragraph{\RG6: Testability}
   6.267 +\paragraph{\RG\,6: Testability}
   6.268  \index{testability}
   6.269  The testability suffers from missing modularity, too. Testing program parts is hard to do. Nevertheless, it is done by compiling parts of the source to two special test programs: One tests reading input from a socket, the other tests constructing messages and sending it directly. Neither is designed for automated testing of source parts, they are rather to help the programmer during development.
   6.270  
   6.271 @@ -473,21 +473,21 @@
   6.272  
   6.273  %fixme: think about clean-room testing
   6.274  
   6.275 -\paragraph{\RG7: Performance}
   6.276 +\paragraph{\RG\,7: Performance}
   6.277  \index{performance}
   6.278  The performance---efficiency---of \masqmail\ is good enough for its target field of operation, where this is a minor goal.
   6.279  
   6.280 -\paragraph{\RG8: Availability}
   6.281 +\paragraph{\RG\,8: Availability}
   6.282  \index{availability}
   6.283  This applies equal to availability. Hence no further work needs to be done her.
   6.284  
   6.285 -\paragraph{\RG9: Portability}
   6.286 +\paragraph{\RG\,9: Portability}
   6.287  \index{portability}
   6.288  The code's portability is good with view on Unix-like operation systems. At least \name{Debian}, \name{Red Hat}, \NAME{SUSE}, \name{Slackware}, \name{Free}\NAME{BSD}, \name{Open}\NAME{BSD}, and \name{Net}\NAME{BSD} are reported to be able to compile and run \masqmail\ \citeweb{masqmail:homepage2}. Special requirements for the underlying file system are not known. Thus, the portability is already good.
   6.289  \index{masqmail!supported systems}
   6.290  
   6.291  
   6.292 -\paragraph{\RG10: Usability}
   6.293 +\paragraph{\RG\,10: Usability}
   6.294  \index{usability}
   6.295  The usability is very good, from the administrator's point of view. \masqmail\ was developed to suite a specific, limited job---its configuration does perfect match. The user's view does not reach to the \MTA, as it is hidden behind the \MUA. Configuration could be eased even more by providing configuration generators that enable \masqmail\ to be used right ``out of the box'' after running one of several configuration scripts for common setups. This would improve \masqmail's usability for not technical educated people.
   6.296  \index{out-of-the-box usage}
   6.297 @@ -517,34 +517,34 @@
   6.298  These tasks are presented in more detail in a todo list, now. The list is sorted by focus and then by importance.
   6.299  
   6.300  
   6.301 -\subsubsection*{\TODO1: Encryption (\RF7)}
   6.302 +\subsubsection*{\TODO\,1: Encryption (\RF\,7)}
   6.303  \index{enc}
   6.304  Encryption is chosen for number one as it is essential to provide privacy. Using \NAME{STARTTLS} for encryption is definitely needed and should be added first; encrypted data transfer is hardly possible without support for it.
   6.305  
   6.306  
   6.307 -\subsubsection*{\TODO2: Authentication (\RF6)}
   6.308 +\subsubsection*{\TODO\,2: Authentication (\RF\,6)}
   6.309  \index{auth}
   6.310  Authentication of incoming \SMTP\ connections is also highly needed and should be added second. It is important to restrict access and to prevent relaying. For workstations and local networks, this has only medium importance and address-based authentication is sufficient in most times. But secret-based authentication is mandatory to receive mail from the Internet. Additionally it is a guard against spam.
   6.311  
   6.312  
   6.313 -\subsubsection*{\TODO3: Security (\RG1)}
   6.314 +\subsubsection*{\TODO\,3: Security (\RG\,1)}
   6.315  \index{security}
   6.316  \masqmail's security is bad, thus the program is forced into a limited field of operation. This field of operation even shrinks as security becomes more important and networking and interaction increases. Secure and trusted environment become rare, thus improving security is an important thing to do. The focus should be on adding compartments to split \masqmail\ into separate modules. (See section~\ref{sec:discussion-mta-arch}.) Furthermore, \masqmail's security should be tested throughout to get a definitive view how good it really is and where the weak spots are.
   6.317  \index{modularity}
   6.318  
   6.319  
   6.320 -\subsubsection*{\TODO4: Reliability (\RG2)}
   6.321 +\subsubsection*{\TODO\,4: Reliability (\RG\,2)}
   6.322  \index{reliability}
   6.323  Reliability is also to improve. It is a key quality property for an \MTA, and not good enough in \masqmail. Reliability is strong related to the queue, thus improvements there are favorable. Applying ideas of \name{crash-only software} \cite{candea03} will be a good step. \person{Candea} and \person{Fox} see in killing the process the best way to stop a running program. Doing so inevitably demands for good reliability of the queue, and the start up process inevitably demands for good recovery. Those critical situations for reliability are nothing special anymore, they are common. Hence they are regularly tested and will definitely work.
   6.324  \index{crash-only software}
   6.325  
   6.326  
   6.327 -\subsubsection*{\TODO5: Spam handling (\RF8)}
   6.328 +\subsubsection*{\TODO\,5: Spam handling (\RF\,8)}
   6.329  \index{spam!handling}
   6.330  As authentication can be a guard against spam, filter facilities have lower priority. But basic spam filtering and interfaces for external tools should be implemented in future. Configuration guides for a setup of two \masqmail\ instances with a spam scanner in between should be written. And at least a basic kind of spam prevention during the \SMTP\ dialog should be implemented.
   6.331  
   6.332  
   6.333 -\subsubsection*{\TODO6: Extendability (\RG4)}
   6.334 +\subsubsection*{\TODO\,6: Extendability (\RG\,4)}
   6.335  \index{extendability}
   6.336  \masqmail\ lacks an interface to plug in modules with additional functionality. There exists no add-on or module system. The code is only separated by function into various source files. Some functional parts can be included or excluded by conditional compilation. But the \name{ifdef}s are scattered through all the code. This situation needs to be improved by collecting related function into single places that interact through clear interfaces with other parts. Also should these interfaces allow efficient adding of further functionality.
   6.337  \index{conditional compilation}
   6.338 @@ -578,7 +578,7 @@
   6.339  \index{interposition filter}
   6.340  
   6.341  
   6.342 -The requirements are now regarded, each on its own, and are linked to the development strategy that is preferred to reach each specific requirement. If some requirement is well achievable by using different strategies then it is linked to all of them. Implementing encryption (\TODO1) and authentication (\TODO2), for example, are limited to a narrow region in the code. Such features are addable to the current code base without much problem. In contrast can quality properties like reliability (\TODO4), extendability (\TODO6), and maintainability hardly be added to code afterwards---if at all. Security (\TODO3) is improvable in a new design, of course, but also with wrappers or interposition filters.
   6.343 +The requirements are now regarded, each on its own, and are linked to the development strategy that is preferred to reach each specific requirement. If some requirement is well achievable by using different strategies then it is linked to all of them. Implementing encryption (\TODO\,1) and authentication (\TODO\,2), for example, are limited to a narrow region in the code. Such features are addable to the current code base without much problem. In contrast can quality properties like reliability (\TODO\,4), extendability (\TODO\,6), and maintainability hardly be added to code afterwards---if at all. Security (\TODO\,3) is improvable in a new design, of course, but also with wrappers or interposition filters.
   6.344  
   6.345  This linking of requirements to the strategies is shown in table~\ref{tab:strategies}. The requirements are ordered by their focus.
   6.346  
   6.347 @@ -720,7 +720,7 @@
   6.348  Redesigning a software as requirements change helps keeping it alive. % fixme: add quote: ``one thing surely remains: change'' (something like that)
   6.349  \index{redesign}
   6.350  
   6.351 -Another danger is the dead end of complexity which is likely to appear by constant work on the same code base. It is even more likely if the code base has a monolithic architecture. A good example for simplicity is \qmail\ which consists of small independent modules, each with only about one thousand lines of code. Such simple code makes it obvious to understand what it does. The \name{suckless} project \citeweb{suckless.org} for example advertises such a philosophy of small and simple software by following the thoughts of the \unix\ inventors \cite{kernighan84} \cite{kernighan99}. Simple, small, and clear code avoids complexity and is thus also a strong prerequisite for security.
   6.352 +Another danger is the dead end of complexity which is likely to appear by constant work on the same code base. It is even more likely if the code base has a monolithic architecture. A good example for simplicity is \qmail\ which consists of small independent modules, each with only about one thousand lines of code. Such simple code makes it obvious to understand what it does. The \name{suckless} project \citeweb{suckless.org} for example advertises such a philosophy of small and simple software by following the thoughts of the Unix inventors \cite{kernighan84} \cite{kernighan99}. Simple, small, and clear code avoids complexity and is thus also a strong prerequisite for security.
   6.353  \index{suckless}
   6.354  
   6.355  
     7.1 --- a/thesis/tex/5-Improvements.tex	Sat Feb 07 11:42:45 2009 +0100
     7.2 +++ b/thesis/tex/5-Improvements.tex	Sat Feb 07 12:00:11 2009 +0100
     7.3 @@ -482,7 +482,7 @@
     7.4  
     7.5  The connections between \name{queue-in} and \name{scanning}, as well as between \name{scanning} and \name{queue-out}, is provided by the queues, only signals might be useful to trigger runs. Communication between receiver and transport modules and the outside world is organized by their specific protocol (e.g.\ \SMTP).
     7.6  
     7.7 -Left is only the communication between the receiver modules and \name{queue-in}, and between \name{queue-out} and the transport modules. Suggested for this communication is a simple protocol with data exchange through \unix\ pipes. Figure~\ref{fig:ipc-protocol} shows a state diagram for the protocol.
     7.8 +Left is only the communication between the receiver modules and \name{queue-in}, and between \name{queue-out} and the transport modules. Suggested for this communication is a simple protocol with data exchange through Unix pipes. Figure~\ref{fig:ipc-protocol} shows a state diagram for the protocol.
     7.9  
    7.10  The protocol is described in more detail now:
    7.11  \index{protocol}
     8.1 --- a/thesis/thesis.sty	Sat Feb 07 11:42:45 2009 +0100
     8.2 +++ b/thesis/thesis.sty	Sat Feb 07 12:00:11 2009 +0100
     8.3 @@ -43,24 +43,18 @@
     8.4  \newcommand{\exim}{\name{exim}}
     8.5  \newcommand{\postfix}{\name{postfix}}
     8.6  
     8.7 -\newcommand{\debian}{\name{Debian}}
     8.8  \newcommand{\gnulinux}{\NAME{GNU}/\name{Linux}}
     8.9  \newcommand{\MTA}{\NAME{MTA}}
    8.10  \newcommand{\MUA}{\NAME{MUA}}
    8.11  \newcommand{\MDA}{\NAME{MDA}}
    8.12  \newcommand{\RFC}{\NAME{RFC}}
    8.13  \newcommand{\GNU}{\NAME{GNU}}
    8.14 -\newcommand{\unix}{Unix}
    8.15 -\newcommand{\freesw}{Free Software}
    8.16  \newcommand{\SMTP}{\NAME{SMTP}}
    8.17  \newcommand{\TLS}{\NAME{TLS}}
    8.18  
    8.19 -\newcommand{\TODO}{\NAME{TODO}\,}
    8.20 -\newcommand{\RF}{\NAME{RF}\,}
    8.21 -\newcommand{\RG}{\NAME{RG}\,}
    8.22 -\newcommand{\RA}{\NAME{RA}\,}
    8.23 -\newcommand{\St}{\NAME{S}\,}
    8.24 -%fixme: remove the \, and insert them in the text directly
    8.25 +\newcommand{\TODO}{\NAME{TODO}}
    8.26 +\newcommand{\RF}{\NAME{RF}}
    8.27 +\newcommand{\RG}{\NAME{RG}}
    8.28  
    8.29  
    8.30