docs/diploma

diff thesis/tex/2-MailTransferAgents.tex @ 89:3b5ba7331eb5

complete restructuring of whole document
author meillo@marmaro.de
date Thu, 13 Nov 2008 23:24:52 +0100
parents
children e050221efd38
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/thesis/tex/2-MailTransferAgents.tex	Thu Nov 13 23:24:52 2008 +0100
     1.3 @@ -0,0 +1,365 @@
     1.4 +\chapter{Mail transfer agents}
     1.5 +
     1.6 +\section{\unix\ \MTA{}s}
     1.7 +
     1.8 +After having read about the history of electronic mail and the basics of \mta{}s in the last chapter, this chapter introduces a group of \mta{}s. Among them, the already mentioned \sendmail. The selected group will be delimited against other groups of \MTA{}s, which are described as well.
     1.9 +
    1.10 +The chosen programs will be presented to the reader in a short overview and with the most important facts. The next chapter will show a comparison of these programs in several disciplines.
    1.11 +
    1.12 +
    1.13 +\section{Types of \MTA{}s}
    1.14 +``Mail transfer agent'' is a term covering a variety of programs. One thing is common to them: they transfer email from one \emph{thing} to another. These \emph{things} can be hosts, meaning independent machines, or protocols like \NAME{SMTP} and \NAME{UUCP}, between which mail is transfered.\footnote{\sendmail{}'s initial purpose was moving mail between \NAME{UUCP}, \NAME{SMTP}, and \name{Berknet}.}
    1.15 +
    1.16 +Beside this common property, \MTA{}s can be very different. Some of them have \NAME{POP3} and/or \NAME{IMAP} servers included. Some can fetch mails through these protocols. Others have have all features you can think of. And maybe there are some that do nothing else but transporting email.
    1.17 +
    1.18 +Following are groups of \mta{}s that will \emph{not} be regarded further.
    1.19 +
    1.20 +\subsection{Relay-only \MTA{}s}
    1.21 +\label{subsec:relay-only}
    1.22 +This is the most simple kind of \MTA. It transfers mail only to defined \name{smart hosts}\footnote{\name{smart host}s are \MTA{}s that receives email and route it to the actual destination}. \name{Relay-only} \MTA{}s do not receive mail from outside the system, and they do not deliver locally.
    1.23 +
    1.24 +Most \MTA{}s can be configured to act as such a \name{forwarder}. But this is usually an additional functionality.
    1.25 +
    1.26 +One would use such a program to give a system the possibility to send mail, without the need to do lots of configuration. In a local network, usually the clients are set up with a \name{relay-only} \MTA, while there is one \name{mail server} that acts as a \name{smart host}. The ``dumb'' clients send mail to this one \name{mail server} which does all the work.
    1.27 +
    1.28 +Examples for that group are: \name{nullmailer}, \name{ssmtp} and \name{esmtp}.
    1.29 +
    1.30 +
    1.31 +\subsection{Groupware}
    1.32 +Normally the term ``groupware'' does not mean one single program, but a suite of programs. They build a framework which is then populated with various modules that provide actual funktionality. Modules for mail transfer, file storage, calendars, resource management, instant messaging, etc., are commonly available.
    1.33 +
    1.34 +One would use one of these program suites if the main work to do is not mail transfer, but providing integrated communication facilities and team working support for a group of people. The most common scenario are companies. They have \name{groupware} running to provide adequate services for their teams to work efficently. But one may use \name{groupware} on the home server for his family members also.
    1.35 +
    1.36 +Examples are: \name{Lotus Notes}, \name{Microsoft Exchange}, \name{OpenGroupware.org} and \name{eGroupWare}.
    1.37 +
    1.38 +
    1.39 +\subsection{``Real'' \MTA{}s}
    1.40 +There is a third type of \mta{}s in between the minimalistic \name{relay-only} \MTA{}s and the bloated \name{groupware}. Those programs may be named ``real \MTA{}s'', or ``proper \MTA{}s'', though there is no common name. They are what is meant with the term ``\mta''.
    1.41 +
    1.42 +Common to them is their focus on transfering email, while being able to act as \name{smart host}. Their variety ranges from ones mostly restricted to mail transfer (\name{qmail}) to others already having interfaces for adding further mail processing modules (\name{postfix})---thus everything in between the other two groups.  %FIXME: are postfix and qmail good examples?
    1.43 +
    1.44 +This group is of importance in this document. The programs selected for the comparison are ``real \MTA{}s''.
    1.45 +
    1.46 +
    1.47 +
    1.48 +\subsection{Programs to sort out}
    1.49 +
    1.50 +\name{Mail transfer agent}s can be segmented in various ways, apart from the classification above. Groups of programs wiproperties significantly different from \masqmail\ will be sorted out now.
    1.51 +
    1.52 +\subsection{Non-\emph{sendmail-compatible} \MTA{}s}
    1.53 +Due to \sendmail's significance---described in section \ref{sec:sendmail}---compatiblity interfaces for \sendmail\ are of importance for \unix\ \MTA{}s. Being not \emph{sendmail-compatible} does not need to matter for some fields of action, but makes the program ineligible for serving as a general purpose \MTA\ on \unix\ systems.
    1.54 +
    1.55 +Hence all \MTA{}s not having a \emph{sendmail-compatible} interface or not offering it as a compatibility addon, will not be covered here.
    1.56 +
    1.57 +An Examples here is \name{Apache James}.  %FIXME: check if correct
    1.58 +
    1.59 +
    1.60 +\subsection{Non-free software}
    1.61 +Only programs being \freesw\ are regarded, because comparing \freesw\ with proprietary or commercial software is not what typical users of programs like \masqmail\ do. Comparison with those non-free programs may be a point for large \freesw\ projects, trying to step into the business world. Small projects, mostly used by individuals at home, need to be compared against other projects of similar shape.
    1.62 +
    1.63 +The comparison should be seen from \masqmail's point of view, so non-free software is out of the way.
    1.64 +
    1.65 +
    1.66 +
    1.67 +\section{Popular \MTA{}s}
    1.68 +The programs remaining are \emph{sendmail-compatible} ``smart'' \MTA{}s that focus on mail transfer and are \freesw. One would not use a program for a job it is not suited for. Therefor only \mta{}s that are mostly similar to \masqmail\ are regarded.
    1.69 +
    1.70 +For the comparision, five programs are taken. These are: \sendmail, \name{qmail}, \name{postfix}, \name{exim}, and \masqmail. The four alternatives to \masqmail\ are the most important representatives of the regarded group. % FIXME: add ref that affirm that
    1.71 +
    1.72 +\name{courier-mta} is also a member of this group, being even closer to \name{groupware} than \name{postfix}. It is excluded here, because the \NAME{IMAP} and webmail parts of the mail server suite are more in focus than its \MTA. Common mail server setups even bundle \name{courier-imap} with \name{postfix}.
    1.73 +
    1.74 +Other members are: \name{smail}, \name{zmailer}, \name{mmdf}, and more; they all are less important and rarely used.
    1.75 +
    1.76 +Following is a small introduction to each of the five programs chosen for comparision.
    1.77 +
    1.78 +\subsection{\sendmail}
    1.79 +\label{sec:sendmail}
    1.80 +\sendmail\ is the most popular \mta. Since it was one of the first \MTA{}s and was shipped by many vendors of \unix\ systems.
    1.81 +
    1.82 +The program was written by Eric Allman as the successor of his program \name{delivermail}. \sendmail\ was first released with \NAME{BSD} 4.1c in 1983. Allman was not the only one working on the program. Other people developed own versions of it and a variety of flavors came up, especially in the late eighties when Allman was inactive.
    1.83 +
    1.84 +\sendmail\ is focused on transfering mails between different protocols and networks, this lead to a very flexible (though complex) configuration.
    1.85 +
    1.86 +The latest version is 8.14.3 from May 2008. The program is distributed under the \name{Sendmail License} as both, \freesw\ and proprietary software of \name{Sendmail, Inc.}.
    1.87 +
    1.88 +Further development will go into the project \name{MeTA1} which succeeds \sendmail.
    1.89 +
    1.90 +More information can be found on the \sendmail\ homepage \citeweb{sendmail:homepage} and on \citeweb{wikipedia:sendmail} and \citeweb{jdebp}.
    1.91 +
    1.92 +
    1.93 +\subsection{\name{qmail}}
    1.94 +\label{sec:qmail}
    1.95 +\name{qmail} is seen by its community as ``a modern SMTP server which makes sendmail obsolete''. It was written by Daniel~J.\ Bernstein starting in 1995. His primary goal was to create a secure \MTA\ to replace the popular, but vulnerable, \sendmail.
    1.96 +
    1.97 +\name{qmail} first introduced may innovative concepts in \mta\ design and is generally seen as the first security-aware \MTA\ developed.
    1.98 +
    1.99 +Since November 2007, \name{qmail} is released in the \name{public domain} which makes it \freesw. The latest release is 1.03 from July 1998.
   1.100 +
   1.101 +The programs homepages are \citeweb{qmail:homepage1} and \citeweb{qmail:homepage2}. Further information about \name{qmail} is available on \citeweb{lifewithqmail}, \citeweb{wikipedia:qmail} and \citeweb{jdebp}.
   1.102 +
   1.103 +
   1.104 +\subsection{\name{postfix}}
   1.105 +\label{sec:postfix}
   1.106 +The \name{postfix} project was started in 1999 at \name{IBM research}, then called \name{VMailer} or \name{IBM Secure Mailer}. Wietse Venema's program ``attempts to be fast, easy to administer, and secure. The outside has a definite Sendmail-ish flavor, but the inside is completely different.''\citeweb{postfix:homepage} In fact, \name{postfix} was mainly designed after qmail's architecture to gain security. But in contrast to \name{qmail} it aims much more on being fast and full-featured.
   1.107 +
   1.108 +Today \name{postfix} is taken by many \unix systems and \gnulinux distributions as default \MTA.
   1.109 +
   1.110 +The latest stable version is numbered 2.5.5 from August 2008. \name{postfix} is covered by the \name{IBM Public License 1.0} which is a \freesw\ license.
   1.111 +
   1.112 +Additional information is available on the program's homepage \citeweb{postfix:homepage}, on \citeweb{jdebp} and \citeweb{wikipedia:postfix}.
   1.113 +
   1.114 +
   1.115 +\subsection{\name{exim}}
   1.116 +\label{sec:exim}
   1.117 +\name{exim} was started in 1995 by Philip Hazel at the \name{University of Cambridge}. Its age is about the same as \name{qmail}'s, but the architecture is totally different.
   1.118 +
   1.119 +While \name{qmail} took a completely new approach, \name{exim} forked of \name{smail-3}, and therefor is monolitic like that and like \sendmail. But having no separation of the individual components of the system, like \name{qmail} and \name{postfix} have, did not hurt. Its security is comparably good.
   1.120 +
   1.121 +\name{exim} is highly configurable, especially in the field of mail policies. This makes it easy to specify how mail is routed through the system and who is allowed to send email to whom. Also interfaces for integration of virus and spam check programs are provided by design.
   1.122 +
   1.123 +The program is \freesw, released under the \GPL. The latest stable version is 4.69 from December 2007.
   1.124 +
   1.125 +One finds \name{exim} on its homepage \citeweb{exim:homepage}. More information about it can be retrieved from \citeweb{wikipedia:exim} and \citeweb{jdebp}.
   1.126 +
   1.127 +
   1.128 +\subsection{\masqmail}
   1.129 +\label{sec:masqmail}
   1.130 +The \masqmail\ program was written by Oliver Kurth, starting in 1999. His aim was to create a small \mta\ which is especially focused on computers with dial-up connections to the internet. \masqmail\ is easy configurable for situations which are rarely solveable with the common \MTA{}s.
   1.131 +
   1.132 +\masqmail\ queues mail for destinations outside the local network if no connection to the internet is online. If the machine goes online, this mail is sent. Mail to local machines is sent immediately.
   1.133 +
   1.134 +While the other \MTA{}s are more general purpose \MTA{}s, \masqmail\ aims on special situations only. Nevertheless can it handle ordinary mail transfers too.
   1.135 +
   1.136 +\masqmail\ is released under the \GPL, which makes it \freesw. The latest stable version is 0.2.21 from November 2005.
   1.137 +
   1.138 +The program's new homepage \citeweb{masqmail:homepage} provides further information about this \MTA.
   1.139 +
   1.140 +
   1.141 +
   1.142 +
   1.143 +\section{Comparison of \MTA{}s}
   1.144 +
   1.145 +% http://shearer.org/MTA_Comparison
   1.146 +% http://www.geocities.com/mailsoftware42/
   1.147 +% http://fanf.livejournal.com/50917.html
   1.148 +% http://archives.neohapsis.com/archives/postfix/2006-07/1762.html
   1.149 +% http://www.oreillynet.com/lpt/a/6849
   1.150 +% http://www.mailradar.com/mailstat/
   1.151 +
   1.152 +\subsection{First release}
   1.153 +sendmail: 1983
   1.154 +
   1.155 +postfix: 1999
   1.156 +
   1.157 +qmail: 1996 (first beta 0.70), 1997 (first general 1.0)
   1.158 +
   1.159 +exim: 1995
   1.160 +
   1.161 +masqmail: 1999
   1.162 +
   1.163 +exchange: 1993
   1.164 +
   1.165 +
   1.166 +\subsection{Lines of code (with sloccount on debian packages)}
   1.167 +sendmail: 93k
   1.168 +
   1.169 +postfix: 92k
   1.170 +
   1.171 +qmail: 18k
   1.172 +
   1.173 +exim: 54k
   1.174 +
   1.175 +masqmail: 14k
   1.176 +
   1.177 +exchange: (no source available)
   1.178 +
   1.179 +
   1.180 +\subsection{Architecture}
   1.181 +sendmail: monolitic
   1.182 +
   1.183 +postfix: modular
   1.184 +
   1.185 +qmail: modular
   1.186 +
   1.187 +exim: monolitic
   1.188 +
   1.189 +masqmail: monolitic
   1.190 +
   1.191 +exchange: (unknown)
   1.192 +
   1.193 +
   1.194 +\subsection{Design goals}
   1.195 +sendmail: flexibility
   1.196 +
   1.197 +postfix: performance and security
   1.198 +
   1.199 +qmail: security
   1.200 +
   1.201 +exim: general, flexible \& extensive facilities for checking
   1.202 +
   1.203 +masqmail: for non-permanent internet connection
   1.204 +
   1.205 +exchange: groupware
   1.206 +
   1.207 +
   1.208 +\subsection{Market share (by Bernstein in 2001)}
   1.209 +sendmail: 42\%
   1.210 +
   1.211 +postfix: 1.6\%
   1.212 +
   1.213 +qmail: 17\%
   1.214 +
   1.215 +exim: 1.6\%
   1.216 +
   1.217 +masqmail: (unknown)
   1.218 +
   1.219 +exchange: 18\%
   1.220 +
   1.221 +
   1.222 +
   1.223 +
   1.224 +1) complexity
   1.225 +
   1.226 +2) security
   1.227 +
   1.228 +3) simplicity of configuration and administration
   1.229 +
   1.230 +4) flexibility of configuration and administration
   1.231 +
   1.232 +5) code size
   1.233 +
   1.234 +6) code quality
   1.235 +
   1.236 +7) documentation (amount and quality)
   1.237 +
   1.238 +8) community (amount and quality)
   1.239 +
   1.240 +9) used it myself
   1.241 +
   1.242 +10) had problems with it
   1.243 +
   1.244 +
   1.245 +
   1.246 +\section{The future of communication}
   1.247 +\label{chap:future-of-communication}
   1.248 +As globalization proceeds, long distance communication becomes more and more important. This chapter tries to locate trends in communication methods and their impact on the future for communication. The insights gathered from the analysis will be applied to \masqmail, afterwards.
   1.249 +
   1.250 +
   1.251 +\subsection{Communication methods}
   1.252 +\label{sec:communication-methods}
   1.253 +Today's long distance communication methods are either written or spoken information. And on the other side, they can be classified by the time between responses.
   1.254 +
   1.255 +A classification of long distance communication methods is shown in figure %\ref{fig:}.
   1.256 +% slow     |              |             |
   1.257 +%          |              | letter      | days
   1.258 +%          |              |             |
   1.259 +%          |              |             |
   1.260 +%          | answering    | email       |
   1.261 +%          |   machine    | telefax     | few seconds
   1.262 +%          |              | SMS         |
   1.263 +% fast     |              |             |
   1.264 +%          | telephone    | IM          | real time
   1.265 +% -----------------------------------------------------
   1.266 +% response | spoken       | written     | delivery time
   1.267 +
   1.268 +% TODO: find reference literature
   1.269 +
   1.270 +\paragraph{Speed}
   1.271 +Communication gets faster in general. Slow mediums as letters get substituted by electronic mail, which is delivered within seconds. Also communication becomes more transmitted through digital channels. This can be seen at the telephone which's information is now more and more transported in bits over the internet link. Also telefaxes are succeeded by email or are transported within email. Instant messaging can be seen as the written couterpart to the telephone; not to substitute it completely, but to be used if it is more useful for the information to transmit.
   1.272 +
   1.273 +Many of the digital communication methods gained success by beeing cheaper than their counterparts. One example here is instant messaging in contrast to the telephone. As phoning costs fell, it became more popular again. The last years showed, that communication cost degreased dropped generally, caused by the transport through digital channels. And nothing to see, that would make them rise again.
   1.274 +
   1.275 +It seems as if in future will be low-cost communication methods available, which will be digitally transmitted.
   1.276 +
   1.277 +\paragraph{Variety}
   1.278 +Regarding the variety of communication methods shows a change, too. Communication systems are more easy to establish today, so more get established. This leads to more methods a person uses. But not only in the amount, also in parallel. For example when two people talk to each other on the phone, one might send a URI\footnote{Uniform Resource Identifier} by email meanwhile, because oral communication is not well suited to exchange such data. Another example for in parallel used communication channels is video chatting. Ony typically sees the other person, talks to it, and additionally has a instant messaging facility for exchanging written information.
   1.279 +
   1.280 +Parallel usage of different kinds of communication channels will be important in future. The most common combinations are one for spoken and one for written information. But one for dialogs and one for sending documents will be important too.
   1.281 +
   1.282 +\paragraph{Hardware}
   1.283 +Next about the hardware needed for communicating. On the one side stands the telephone, now available as the mobile phone. It provides spoken dialog by calling, spoken messages with the included answering machine and written messages in form of short message service. On the other side stands the letter and its relatives. They need pen and paper, a telefax machine or in most today's cases a computer. They typically send documents, only instant messaging is focused on dialog.
   1.284 +
   1.285 +The last years finally brought the two groups together, with \name{smart phones} being the merging element. Smart phones are computers in the size of mobile phones. They provide both functions, using it as telephones and as computers.
   1.286 +
   1.287 +It matches well the requirements of telephoning and short message service, for which it was designed of course. Also providing being suitable for instant messaging in what is needed additionally to the telephone and short message service. The only problem is the minimal keyboard available to insert text. This also affects writing documents in case of email. It can be done but not very comfortably. Further communication methods include voice and video messages.
   1.288 +
   1.289 +This leaves us with the need for ordinary computers for the field of exchanging documents, and as better input hardware for all written input.
   1.290 +
   1.291 +
   1.292 +
   1.293 +\subsection{Trends for electronic mail}
   1.294 +\label{sec:email-trends}
   1.295 +The previous section stated that electronic mail will still be important in future to complete the communication methods provided by phone and instant messaging.
   1.296 +
   1.297 +But will emailing in future not be the same as emailing now. This will mainly affect how email is transfered.
   1.298 +
   1.299 +\paragraph{Provider oriented emailing}
   1.300 +Today's email structure is heavily dependent on email providers. This means, most people have email addresses from some provider. These can be the provider of their online connection (e.g.\ \NAME{AOL}, \name{T\~Online}), freemail provider (e.g.\ \NAME{GMX}, \name{Yahoo}, \name{Hotmail}) or provider that offer enhanced mail services that one needs to pay for. Outgoing mail is send either with the webmail client of the provider or using \name{mail user agent}s sending it to the provider for relay. Incoming mail is read with the webmail client or retrieved from the provider via \NAME{POP3} or \NAME{IMAP} to the local computer to be read in the \name{mail user agent}. This means all mail sending and receiving work is done by the provider.
   1.301 +
   1.302 +The reason therefor is originated in the time when people used dial-up connections to the internet. A mail server needs to be online to receive email. Sending mail is no problem, but receiving it is hardly possible with an \MTA\ being few time online. Internet service providers had servers running all day long connected to the internet. So they offered email service.
   1.303 +
   1.304 +\paragraph{Provider independence}
   1.305 +Nowadays, dial-up internet access is rare; the majority has broadband internet access paying a flat rate for it. So being online or not does not affect costs anymore, even traffic is unlimited. Today it is possible to have an own mail server running at home. The last technical problem remaining are the changing \NAME{IP} addresses one gets assigned every 24 hours. But this is easily solvable with one of the dynamic \NAME{DNS} services around; they provide the mapping of a fixed domain name to the changing \NAME{IP} addresses.
   1.306 +
   1.307 +Home servers become popular in these days, for central data storage and multi media services. Being assembled of energy efficient elements, power consumption is no big problem anymore. These home servers will replace video recorders and music collections in the near future. It is also realistic that they will manage heating systems and intercoms too. Given the future leads to this direction, it is a logical step to have email and other communication will be provided by the (or one of) the own server aswell.
   1.308 +
   1.309 +After \mta{}s have not been popular for users in the last time, the next years might bring them back to them. Maybe in a few years nearly everyone will have one running at home \dots\ possibly without knowing about it.
   1.310 +
   1.311 +\paragraph{Is email future-safe?}
   1.312 +It seems as if electronic mail or a similar technology has good chances to survive the next decades. This bases on the assumption that it always will be important to send information messages. These can be notes from other people, or notifications from systems (like a broken or full hard drive in the home server, or the coffee machine ran out of coffee beans). Other communication technologies are not as suitable for this kind of messages, as email, short message service, voice mail, and the like. Telephone talks are more focused on dialog and normally interrupt people. These kind of messages should not interrupt people, unless urgent, and they do not need two-way information exchange. The second argument appies to instant messaging too. If only one message is to be send, one does not need instant messaging. Thus, one type of one-way message sending technology will survive.
   1.313 +
   1.314 +Whether email will be the one surviving, or short message service, or another one, does not matter. Probably it will be \name{unified messaging}, which includes all of the other ones in it, anyway. \MTA{}s are a kind of software needed for all of these messaging methods---programs that transfer and receive messages.
   1.315 +
   1.316 +\paragraph{Pushing versus polling}
   1.317 +The retrieval of email is a field that is about to change now. The old way is to fetch email by polling the server that holds the personal mail box. This polling is done in regular intervals, often once every five to thirty minutes. The mail transfer from the mail box to the \name{mail user agent} is initiated from the mail client side. The disadvantage herewith is the delay between mail actually arriving on the server and the user finally having the message on his screen.
   1.318 +
   1.319 +To remove this disadvantage, \name{push email} was invented. Here the server is not polled every few minutes about new mail, but the server pushes new mail directly to the client on arrival. The transfer is initiated by the server. This concept became popular with the smart phones; they were able to do emailing, but the traffic caused by polling the server often was expensive. The concept workes well with mobile phones where the provider knows about the client, but it seems not to be a choice for computers since the provider needs to have some kind of login to push data to the computer.
   1.320 +
   1.321 +The push concept, however could swap over to computers when using a home server and no external provider. A possible scenario is a home server receiving mail from the internet and pushing it to computers and smart phones. The configuration could be done by the user through some simple interface, like one configures his telephone system to have different telephone numbers ring on specified phones.
   1.322 +%FIXME: add reference to push email
   1.323 +
   1.324 +\paragraph{Internet Mail 2000}
   1.325 +Another concept to redesign the electronic mail system, but this time focused on mail transfer is named ``Internet Mail 2000''. It was proposed by Daniel J.\ Bernstein, the creater of \name{qmail}. Similar approaches were independently introduced by others too.
   1.326 +
   1.327 +As main change it makes the sender have the responsibility of mail storage; only a notification about a mail message gets send to the receiver, who can fetch the message then from the sender's server. This is in contrast to the \NAME{SMTP} mail architecture, where mail and the responsibility for it is transfered from the sender to the receiver.
   1.328 +
   1.329 +\name{Mail transfer agent}s are still important in this mail architecture, but in a slightly different way. Their job is not transfering mail anymore---this makes the name missleading---they are used to transport the notifications about new mail to the destinations. This is a quite similar job as they do in the \NAME{SMTP} model. The real transfer of the mail can be done in any way, for example via \NAME{FTP} or \NAME{SCP}.
   1.330 +
   1.331 +%FIXME: add references for IM2000
   1.332 +
   1.333 +
   1.334 +\section{Market analysis}
   1.335 +
   1.336 +\subsection{\NAME{SWOT} analysis}
   1.337 +%TODO
   1.338 +
   1.339 +
   1.340 +
   1.341 +\subsection{What will be important}
   1.342 +\label{sec:important-for-mtas}
   1.343 +Now that it is explained why email will survive (in some changed but related form), it is time to think about the properties required for \mta{}s in the next years. As the fields and kinds of usage change, the requirement change too.
   1.344 +
   1.345 +Provider independence through running an own mail server at home asks for easy configuration of the \MTA. Providers have specialists to configure the systems, but ordinary people do not. Solutions are either having some home service system for computer configuration established with specialists coming to one's home to set up the systems; like it is already common for problems with the power supply or water supply system. Or configuration needs to be easy and fool-prove, to be done by the owner himself. The latter solution depends on standardized parts that fit together seamlessly. The technology itself must not be a problem itself. Only settings custom to the users environment should be left open for him to set. This of course needs to be doable on a simple configuration interface like a web interface; non-technical educated users should be able to configure the system.
   1.346 +
   1.347 +\sendmail\ and \name{qmail} appear to have bad positions at this point. Their configuration is complex, thus they would need simplification wrappers around them to provide easy configuration.
   1.348 +
   1.349 +The approach of wrappers around the main program to make it look easier to the outside is a good concept in general. %FIXME: add ref
   1.350 +It still lets the specialist do complex and detailed configuration, and also offering a simple configuration interface to novices. Further more is it well suited to provide various wrappers with different user interfaces (e.g.\ a graphical program, a website, a command line program; all of them either in a questionaire style or iteractive).
   1.351 +
   1.352 +When \MTA{}s become popular on home servers and maybe even on workstations and smart phones, then performance will be less important. Providers need \mta{}s that process a large amount of mail in short time. Home servers or workstations however, do not see that much mail; they need to handle tens or hundrets of email messages per hour. Thus performance will probably not be a main requirement for an \MTA\ in the future, if they mainly run on private machines.
   1.353 +
   1.354 +\name{postfix} focuses much on performance, this might not be an important point then.
   1.355 +
   1.356 +New mailing concepts and architectures like push email or \name{Internet Mail 2000} will, if they succeed, require \mta{}s to adopt the new technology. \MTA{}s that are not able to change are going to be sorted out by evolution. Thus it is important to not focus too much on one use case, but to stay flexible. Allman saw this property of \sendmail\ one reason for its huge success (see section \ref{sec:sendmail}).
   1.357 +
   1.358 +Another important requirement for all kinds of software will be security. There is a constant trend going from completely non-secured software from the 70s and 80s over growing security awareness in the 90s to security being a primary goal now. This leads to the conclusion that software security will even more important in the next years. As more clients get connected to the internet and especially more computers are waiting for incoming connections (like an \MTA\ in a home server), there are more possibilities to break into systems. Securing software systems will be done with increasing effort in future.
   1.359 +
   1.360 +``Plug-and-play''-able hardware with preconfigured software running can be expected to become popular. Like someone buys a set-top box to watch Pay-TV today, he might be buying a box acting as mail server in a few years. He plugs the power cable in, inserts his email address in a web interface and selects the clients (workstation computers or smart phones) to which mail should be send and from which mail is accepted to receive. That's all. It would just work then, like everyone expects it from a set-top box today.
   1.361 +
   1.362 +Containing secure and robust software is a pre-requisite for such boxes to make that vision possible.
   1.363 +
   1.364 +It seems as if all widely used \mta{}s provide good security nowadays. \name{qmail}'s architecture, also used in \name{postfix}, is generally seen to be conceptually more secure, however.
   1.365 +
   1.366 +In summary: easy configuration, aswell as the somehow opposed flexibility will be important for future \mta{}s. Also will it be security, but not performance. \MTA{}s might become more commodity software, like web servers already are today, with the purpose to include it in many systems and the need of minimal configuration.
   1.367 +
   1.368 +