docs/diploma

diff thesis/pieces/old/3-MasqmailProject.tex @ 92:e050221efd38

much restructuring again
author meillo@marmaro.de
date Fri, 14 Nov 2008 18:16:26 +0100
parents thesis/tex/3-MasqmailProject.tex@3b5ba7331eb5
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/thesis/pieces/old/3-MasqmailProject.tex	Fri Nov 14 18:16:26 2008 +0100
     1.3 @@ -0,0 +1,218 @@
     1.4 +\chapter{The \masqmail\ project}
     1.5 +
     1.6 +%TODO: have text by oliver here?
     1.7 +
     1.8 +\section{Purpose of \masqmail}
     1.9 +
    1.10 +\subsection{Target field}
    1.11 +Its original author, Oliver Kurth, sees \masqmail\ so:
    1.12 +\begin{quote}
    1.13 +MasqMail is a mail server designed for hosts that do not have a permanent internet connection eg. a home network or a single host at home. It has special support for connections to different ISPs. It replaces sendmail or other MTAs such as qmail or exim.
    1.14 +\end{quote}
    1.15 +
    1.16 +\masqmail\ is inteded to cover a specific niche: non-permanent internet connection and different \NAME{ISP}s.
    1.17 +
    1.18 +Although it can basically replace other \MTA{}s, it is not generally aimed to do so. The package description of \debian\citeweb{packages.debian:masqmail} states this more clearly by changing the last sentence to:
    1.19 +\begin{quote}
    1.20 +In these cases, MasqMail is a slim replacement for full-blown MTAs such as sendmail, exim, qmail or postfix.
    1.21 +\end{quote}
    1.22 +\masqmail\ is a good replacement ``in these cases'', but not generally, since is lacks features essential for running on mail servers. It is primarily not secure enough for being accessable from untrusted locations.
    1.23 +
    1.24 +The program is best used in home networks, which are non-permanently connected to the internet. \masqmail\ sends mail to local destinations, like users on the same machine and on other machines in the local net, immediately. Email to recipients outside the local net are queued when offline and sent when a online connection gets established.
    1.25 +
    1.26 +Further more does \masqmail\ respect online connections through different \NAME{ISP}s; a common thing for dial-up connections. In particular can different sender addresses be set, dependent on the \NAME{ISP} that is used. This prevents mail to be likely classified as spam.
    1.27 +
    1.28 +
    1.29 +
    1.30 +\subsection{Typical usage}
    1.31 +This section describes situations that make senseful use of \masqmail.
    1.32 +
    1.33 +A home network consisting of some workstations without a server. The network is connected to the internet by dial-up or broadband. Going online is initiated by computers inside the local net. \NAME{IP} addresses change at least once every day.
    1.34 +
    1.35 +Every workstation would be equiped with \masqmail. Mail transfer within the same machine or within the local net works straight forward. Outgoing mail to the internet is sent, to the concerning \NAME{ISP} for relaying, whenever the router goes online. Receiving of mail from outside needs to be done by a mail fetch program, like the \masqmail\ internal \NAME{POP3} client or \name{fetchmail} for example. The configuration for \masqmail\ would be the same on every computer, except the hostname.
    1.36 +
    1.37 +For the same network but having a server, one could have \masqmail\ running on the server and using simple forwarders (see \ref{subsec:relay-only}) to the server on the workstations. This setup does only support mail transfer to the server, but not back to a workstation; also sending mail to another user on the same workstation is not possible.
    1.38 +
    1.39 +A better setup is to run \masqmail\ on every machine %FIXME
    1.40 +
    1.41 +
    1.42 +
    1.43 +\subsection{What makes it special}
    1.44 +
    1.45 +As main advantage, \masqmail\ makes it easy to set up an \MTA\ on workstations or notebooks without the need to do complex configuration or to be an mail server expert.
    1.46 +
    1.47 +Workstations use %FIXME
    1.48 +
    1.49 +
    1.50 +\subsection{Alternatives?}
    1.51 +% http://anfi.homeunix.org/sendmail/dialup10.html
    1.52 +
    1.53 +\section{History}
    1.54 +%TODO: let oliver prove read it!
    1.55 +%FIXME: add references
    1.56 +%FIXME: where does the name come from: masqdialer (guessed)
    1.57 +
    1.58 +The date of the first release (version 0.0.1) is unknown.
    1.59 +The only information available is, that it was packaged for \debian\ at 15\nth\ of September in 1999.
    1.60 +Further releases were made every few weeks or month during 2000, 2001 and 2002.
    1.61 +Development ended in mid-2003 in a hard stop.
    1.62 +The last ordinary release known to me is version 0.2.20, released on 4\nth\ of June in 2003.
    1.63 +
    1.64 +During the time of development, Oliver released 53 versions.
    1.65 +That means a new release in less than every 20 days in average!
    1.66 +
    1.67 +Mentionable are the four \emph{beta} releases of version 0.1.8 (named with the trailing letters `a' to `d') in winter 2000/2001 and the security-fix 0.1.15.1 in 2002.
    1.68 +
    1.69 +One extra release (version 0.2.21) was made by him in November 2005.
    1.70 +This one is only available from the \debian\ pool.
    1.71 +Comparing it to version 0.2.20 shows, that no source code was altered.
    1.72 +Only building documents (like Makefiles) and \debian\ packageing documents were changed.
    1.73 +That leeds to the assumption that this last release was specificly created for the needs of \debian---to fix some errors in the package.
    1.74 +
    1.75 +In May 2000 the minor version number increased to `1'.
    1.76 +Nothing special is mentioned in the documentation about that.
    1.77 +When it increased again to start the 0.2.x releases, Oliver titled them as the ``development branch'' of \masqmail.
    1.78 +At that second time, he started developing the 0.2.x ``development branch'', continuing to work on the 0.1.x series.
    1.79 +His parallel work on both branches lasted for four month, and one additional last release, numbered 0.1.17, one more year later.
    1.80 +
    1.81 +
    1.82 +
    1.83 +\section{Taking \masqmail}
    1.84 +
    1.85 +
    1.86 +
    1.87 +
    1.88 +\section{About \freesw\ projects}
    1.89 +
    1.90 +% http://www.faqs.org/docs/artu/
    1.91 +
    1.92 +There are several differences between \freesw\ projects and projects about proprietary software.
    1.93 +To understand \freesw\ projects, one needs to understand \freesw\ itself first.
    1.94 +
    1.95 +\subsection{About \freesw}
    1.96 +The term ``Free Software'' was coined by the \name{Free Software Foundation} (short: \NAME{FSF}), founded by Richard~M.\ Stallman (known as ``RMS'') in 1985.
    1.97 +Although various licenses make software free, none of them represents the thinking of \freesw\ like the the \GNU\ \gpl\ (short: \GPL). Its first version was written by Stallman in 1989.
    1.98 +One could say, the \GPL\ catalized the \name{Free Software movement}.
    1.99 +
   1.100 +% http://www.fsf.org/about/what-is-free-software
   1.101 +
   1.102 +After all, the \GPL\ was not the first \freesw\ license used.
   1.103 +The \name{MIT License} (or \name{X Consortium License}) for example is older; published in 1988.
   1.104 +Licenses providing the same rights have been used since long time ago.
   1.105 +But none of them was so often (re)used by other projects---thus gattering less awareness.
   1.106 +Further more was the \GPL\ created to be a \emph{general} license for all kinds of programs, unlike most other licenses written for one particular program.
   1.107 +
   1.108 +\freesw\ gives freedoms to its users.
   1.109 +In contrast to proprietary software restricting the users freedom.
   1.110 +The freedoms (or rights) the user has are stated in the \name{Free Software Definition} of the \NAME{FSF}. Namely these are:
   1.111 +% http://www.gnu.org/philosophy/free-sw.html
   1.112 +% http://www.fsf.org/licensing/essays/free-sw.html
   1.113 +\begin{enumerate}
   1.114 +	\item The freedom to run the program, for any purpose (freedom 0).
   1.115 +	\item The freedom to study how the program works, and adapt it to your needs (freedom 1). Access to the source code is a precondition for this.
   1.116 +	\item The freedom to redistribute copies so you can help your neighbor (freedom 2).
   1.117 +	\item The freedom to improve the program, and release your improvements to the public, so that the whole community benefits (freedom 3). Access to the source code is a precondition for this.
   1.118 +\end{enumerate}
   1.119 +
   1.120 +
   1.121 +\subsection{The term ``Open Source''}
   1.122 +\name{Open Source Software} often stands for the same as \freesw.
   1.123 +But there is an essential difference: \name{Open Source} focuses on the availability of source code, while \freesw\ is about freedoms for people.
   1.124 +
   1.125 +\name{Open Source Software} is a subset of \freesw, meaning: All \freesw\ is \name{Open Source}, but there exists \name{Open Source Software} that is not free.
   1.126 +
   1.127 +% http://www.gnu.org/philosophy/open-source-misses-the-point.html
   1.128 +% http://catb.org/~esr/open-source.html
   1.129 +
   1.130 +
   1.131 +\subsection{Development of \freesw}
   1.132 +Having source code available and the right to modify it, encouridges programmers to actually do so.
   1.133 +Their modifications are manifoldly.
   1.134 +Some tailor the software to their needs.
   1.135 +Some add features.
   1.136 +Some do it just for fun.
   1.137 +There are no limitations---whoever wants to, may work on it.
   1.138 +
   1.139 +Since the boom of the internet, \freesw\ typically is developed by an open community of programmers interested in the software.
   1.140 +The process of development is watchable by everyone.
   1.141 +
   1.142 +The other, now less common, method is a more closed group, developing in a ``sealed'' room, but releasing finished versions to the public.
   1.143 +
   1.144 +Eric~S.\ Raymond discusses about these methods, which he named \name{the bazaar} and \name{the cathedral} \cite{catb}.
   1.145 +
   1.146 +The following text will focus on the ``bazaar'' model.
   1.147 +
   1.148 +
   1.149 +\subsection{The role of the community}
   1.150 +\freesw\ projects rise and fall with their community!
   1.151 +
   1.152 +Most \freesw\ programs are developed by a very small group of programmers, often only one person.
   1.153 +But they are used by many people.
   1.154 +In between the programmers and the users, are people located who are a bit of both.
   1.155 +These are the ones that write documentation, find bugs and probably even fix it.
   1.156 +They discuss on mailing lists, bulletin boards and \NAME{IRC} chats.
   1.157 +The program is often spread by their ``advertising''.
   1.158 +
   1.159 +The \emph{community} consists of the actual developers and all users that contribute to the program.
   1.160 +Contribution can be one of the described ways, or others like providing a server for the project website for example.
   1.161 +
   1.162 +\emph{Community} is everyone who is in contact through the project.
   1.163 +Be it on the mailing list, the discussion board, or by telling the developers about a new feature wanted.
   1.164 +
   1.165 +There will hardly be a community if no communication channels are available.
   1.166 +If the development team does not provide them, there is a chance that encouraged users set them up on their own.
   1.167 +But this is rare and the program needs to be very popular. %TODO: maybe include an example here (w3m?)
   1.168 +
   1.169 +Projects without a good community tend to die sooner or later.
   1.170 +
   1.171 +
   1.172 +\subsection{Evolution of a community}
   1.173 +Let us look at the process a community establishes: In most times it's only one who has an idea, in the beginning.
   1.174 +He starts developing.
   1.175 +When others get in contact with the project, there may be some who are so much interested that they start co-developing.
   1.176 +Others report bugs, and some only use the program.
   1.177 +
   1.178 +After some time, one will find a small group of core developers, a larger group of contributers (bugs, patches, documentation) and a very large group of users.
   1.179 +The size ratio of the groups vary by type of project.
   1.180 +
   1.181 +One should have that in mind, when starting a \freesw\ project.
   1.182 +
   1.183 +
   1.184 +\subsection{Creating a strong community}
   1.185 +Building up a good community needs some effort of the main developers.
   1.186 +%TODO: search for documents about this topic
   1.187 +
   1.188 +First communication channels need to be set up, to enable the growth of a community.
   1.189 +
   1.190 +Second, development should be visible by everyone who is interested in it.
   1.191 +Time between work done on the project and its visibility to the public should be kept short.
   1.192 +This makes it interesting for other developers to join.
   1.193 +Developers are the core of a community.
   1.194 +
   1.195 +Third, there is a rule of thumb that should be followed: ``Release early, release often!'' \cite{catb}.
   1.196 +Releases are (more) stable versions, primary for users.
   1.197 +They should be created, frequently.
   1.198 +People will more likely use programs of active projects.
   1.199 +
   1.200 +Fourth, the developers should try to get the users ``in the boat''.
   1.201 +Good communities have a large group of users that do not only receive, but also give something back to the project.
   1.202 +The project leaders should motivate users to contribute.
   1.203 +This unlocks a big work force and gets lot of unexiting work done.
   1.204 +
   1.205 +Fifth, documentation matters.
   1.206 +Good documentation makes it easy for users and developers to start.
   1.207 +And it helps to avoid a lot of unsatisfaction.
   1.208 +Documentation is something that shows quality and that people care about the project.
   1.209 +
   1.210 +And sixth, project leaders should be good souvereigns.
   1.211 +They should try to be fair, to motivate, be visionaires and try to put power and work on many shoulders.
   1.212 +
   1.213 +Not to forget: Every work that was done, every contribution that was made and every idea received needs to be honored in an appropriate way!
   1.214 +Volunteer work lives by acknowledgement of the effort spent.
   1.215 +
   1.216 +
   1.217 +
   1.218 +
   1.219 +
   1.220 +\section{Project infrastructure}
   1.221 +