docs/diploma

changeset 74:6843dfd6c4fa

added new texts to masqmail chapter and some more
author meillo@marmaro.de
date Sun, 02 Nov 2008 10:35:17 +0100
parents 8b7f7fcf89c9
children 5bd3f2118960
files thesis/bib/websites.bib thesis/tex/1-Candidates.tex thesis/tex/1-Introduction.tex thesis/tex/1-Masqmail.tex
diffstat 4 files changed, 64 insertions(+), 2 deletions(-) [+]
line diff
     1.1 --- a/thesis/bib/websites.bib	Sun Nov 02 10:34:32 2008 +0100
     1.2 +++ b/thesis/bib/websites.bib	Sun Nov 02 10:35:17 2008 +0100
     1.3 @@ -177,3 +177,9 @@
     1.4  	howpublished = "On the Internet: {\small\url{http://www.networkcomputing.com/unixworld/tutorial/810.txt.html} (2008-10-23)}",
     1.5  }
     1.6  
     1.7 +@misc{packages.debian:masqmail,
     1.8 +	author = "Debian",
     1.9 +	title = "\emph{Details of package masqmail in lenny}",
    1.10 +	howpublished = "On the Internet: {\small\url{http://packages.debian.org/lenny/masqmail} (2008-10-24)}",
    1.11 +}
    1.12 +
     2.1 --- a/thesis/tex/1-Candidates.tex	Sun Nov 02 10:34:32 2008 +0100
     2.2 +++ b/thesis/tex/1-Candidates.tex	Sun Nov 02 10:35:17 2008 +0100
     2.3 @@ -13,6 +13,7 @@
     2.4  Following are groups of \mta{}s that will \emph{not} be regarded further.
     2.5  
     2.6  \subsection{Relay-only \MTA{}s}
     2.7 +\label{subsec:relay-only}
     2.8  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.
     2.9  
    2.10  Most \MTA{}s can be configured to act as such a \name{forwarder}. But this is usually an additional functionality.
     3.1 --- a/thesis/tex/1-Introduction.tex	Sun Nov 02 10:34:32 2008 +0100
     3.2 +++ b/thesis/tex/1-Introduction.tex	Sun Nov 02 10:35:17 2008 +0100
     3.3 @@ -10,7 +10,7 @@
     3.4  
     3.5  Development of \unix\ was not only made in the \name{Bell Labratories} of \NAME{AT\&T}. The \name{Univerity of California at Berkeley} worked on their version of a \unix\ operating system, too. It is refered to as \NAME{UCB} \unix, or \name{Berkeley} \unix\index{Berkeley Unix}.
     3.6  
     3.7 -The few features of \name{/bin/mail} lead to a second \NAME{MUA} from Berkeley: \name{Mail} (with a capital `M'). Later, the superior functionality of \name{Mail} went back to \name{Bell Labs} and into the program \name{mailx}, the successor of \name{/bin/mail}. %The different programs for handling mail are a good example for the problem of standardization of \unix. %TODO: need that last sentence?
     3.8 +The few features of \name{/bin/mail} lead to a second \NAME{MUA} from Berkeley: \name{Mail} (with a capital `M'). Later, the superior functionality of \name{Mail} went back to \name{Bell Labs} and into the program \name{mailx}, the successor of \name{/bin/mail}.
     3.9  
    3.10  Nowadays, \name{mailx} and \name{Mail} are quite equivalent and \name{/bin/mail} is linked to either of them---whichever is installed.
    3.11  
    3.12 @@ -90,5 +90,5 @@
    3.13  For deeper knowledge on \sendmail's history, see \cite{costales97} and \cite{vixie01}.
    3.14  
    3.15  
    3.16 -\section{(a look at Windows)}
    3.17 +\section{A look at Windows}
    3.18  % TODO: add content here
     4.1 --- a/thesis/tex/1-Masqmail.tex	Sun Nov 02 10:34:32 2008 +0100
     4.2 +++ b/thesis/tex/1-Masqmail.tex	Sun Nov 02 10:35:17 2008 +0100
     4.3 @@ -4,13 +4,53 @@
     4.4  
     4.5  
     4.6  \section{Target field}
     4.7 +Its original author, Oliver Kurth, sees \masqmail\ so:
     4.8 +\begin{quotation}
     4.9 +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.
    4.10 +\end{quotation}
    4.11 +
    4.12 +\masqmail\ is inteded to cover a specific niche: non-permanent internet connection and different \NAME{ISP}s.
    4.13 +
    4.14 +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:
    4.15 +\begin{quotation}
    4.16 +In these cases, MasqMail is a slim replacement for full-blown MTAs such as sendmail, exim, qmail or postfix.
    4.17 +\end{quotation}
    4.18 +\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. %Nevertheless has \masqmail\ this field of action, where it is better suited for than other \MTA{}s.
    4.19 +
    4.20 +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.
    4.21 +
    4.22 +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.
    4.23 +
    4.24  
    4.25  
    4.26  \section{Typical usage}
    4.27 +This section describes situations that make senseful use of \masqmail.
    4.28 +
    4.29 +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.
    4.30 +
    4.31 +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.
    4.32 +
    4.33 +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.
    4.34 +
    4.35 +A better setup is to run \masqmail\ on every machine %FIXME
    4.36 +
    4.37 +%How it works
    4.38 +%
    4.39 +%When offline, MasqMail queues all mail with a destination outside of the local network. When you connect to the internet, masqmail will be called with a connection name as an argument. MasqMail then sends the queued mail to the configured mailserver for that ISP. When a message from the local net is received when online, MasqMail delivers it immediately. If there is no mail server for that ISP, MasqMail can also send the mails directly to their destinations.
    4.40 +%
    4.41 +%For each ISP different return addresses can be configured. This makes it possible to get around spam traps which desire your return address to be from the same domain as the host the mail is coming from. This is not a problem if you always connect to a single ISP, but is one if you use different ones from time to time. It also makes it possible to configure your mailer to a return address on your local network which maybe totally unknown outside. So delivery failure messages originating on your local net can be sent directly to you, while those that occur outside will be sent to the configured address. (Note that the return path is different from the From: address or the Reply-to: address. You can still have a single address where you want replys to be sent to).
    4.42 +%
    4.43 +%When offline, MasqMail behaves just like any other ordinary mail server (with a few limitations, but these will be fixed in the future).
    4.44 +%
    4.45 +%To detect its online status, MasqMail can take advantage of the masqdialer system. But it also works well without it.
    4.46 +
    4.47  
    4.48  
    4.49  \section{What makes it special}
    4.50  
    4.51 +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.
    4.52 +
    4.53 +Workstations use
    4.54  
    4.55  \section{Alternatives?}
    4.56  % http://anfi.homeunix.org/sendmail/dialup10.html
    4.57 @@ -19,6 +59,21 @@
    4.58  
    4.59  
    4.60  \section{Features}
    4.61 +\begin{itemize}
    4.62 +	\item Delivers only when online to a destination 'outside' your LAN
    4.63 +	\item Support for multiple Providers (ie. Mail Servers, or direct delivery)
    4.64 +	\item Rewriting of Return addresses (Return-Path:, From:, Reply-To:), configurable for each Provider separately
    4.65 +	\item can also be used as a Mail Server on a LAN
    4.66 +	\item alias support
    4.67 +	\item delivery to pipes
    4.68 +	\item delivery to MDAs (eg. procmail)
    4.69 +	\item Maildir support (version >= 0.2.5)
    4.70 +	\item routing depending on sender
    4.71 +	\item AUTH (RFC 2554) support (as client, since version 0.1.0)
    4.72 +	\item SMTP-after-POP
    4.73 +	\item POP3 client
    4.74 +	\item POP3 client daemon (fetch mail in regular intervals if online)
    4.75 +\begin{itemize}
    4.76  
    4.77  
    4.78  \section{History}