# HG changeset patch # User meillo@marmaro.de # Date 1222201709 -7200 # Node ID 0b3b806f4eb28af0e35895240866d1342e4acf00 # Parent a71af14e3887d2a4cb3f67a1ec9600b5aa1d7226 new directory structure; added content about MTAs and history diff -r a71af14e3887 -r 0b3b806f4eb2 thesis/bib/thesis.bib --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/thesis/bib/thesis.bib Tue Sep 23 22:28:29 2008 +0200 @@ -0,0 +1,30 @@ +@book{brooks95, + author = "Brooks, Frederick P., Jr.", + title = "The mythical man-month: essays on software engineering", + year = "1995", + publisher = "Addison-Wesley" +} + + + note = "\url{http://www.example.com}" + +@article{AbedonHymanThomas2003, + author = "Abedon, S. T. and Hyman, P. and Thomas, C.", + year = "2003", + title = "Experimental examination of bacteriophage latent-period evolution as a response to bacterial availability", + journal = "Applied and Environmental Microbiology", + volume = "69", + pages = "7499--7506" +} + +@incollection{Abedon1994, + author = "Abedon, S. T.", + title = "Lysis and the interaction between free phages and infected cells", + pages = "397--405", + booktitle = "Molecular biology of bacteriophage T4", + editor = "Karam, Jim D. Karam and Drake, John W. and Kreuzer, Kenneth N. and Mosig, Gisela + and Hall, Dwight and Eiserling, Frederick A. and Black, Lindsay W. and Kutter, Elizabeth + and Carlson, Karin and Miller, Eric S. and Spicer, Eleanor", + publisher = "ASM Press, Washington DC", + year = "1994" +} diff -r a71af14e3887 -r 0b3b806f4eb2 thesis/cover.tex --- a/thesis/cover.tex Tue Sep 23 22:24:14 2008 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,13 +0,0 @@ -\thispagestyle{empty} - -\begin{flushright} - - \vspace*{12cm} - {\Huge \bfseries masqmail} - - {\large \slshape - diploma thesis by\\ - markus schnalke\\ - } - -\end{flushright} diff -r a71af14e3887 -r 0b3b806f4eb2 thesis/dedication.tex --- a/thesis/dedication.tex Tue Sep 23 22:24:14 2008 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,20 +0,0 @@ -\cleardoublepage - -\thispagestyle{empty} - -\vspace*{3cm} -\begin{center} - \it - Do what you think is interesting,\\ - do something that you think is fun and worthwhile,\\ - because otherwise you won't do it well anyway. - - ---Brian~W. Kernighan--- -\end{center} - -\vspace*{2cm} -\begin{center} - \it - This thesis is dedicated to \dots -\end{center} - diff -r a71af14e3887 -r 0b3b806f4eb2 thesis/foo.tex --- a/thesis/foo.tex Tue Sep 23 22:24:14 2008 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,152 +0,0 @@ -\chapter{something} -laber. \cite{brooks95} - -Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor -incididunt ut labore et dolore magna aliqua. \url{http://marmaro.de/docs} Ut enim ad minim veniam, quis -nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. - -hallo \path{/usr/local/share/man1234} blubb \name{masqmail} laber bla \NAME{ANSI} laber \NAME{RFCs} laber - -\begin{code}{label}{caption} -\begin{lstlisting} -127.0.0.1 pantheon.schnalke.local localhost.localdomain -127.0.0.1 localhost pantheon -192.168.0.100 serveme intranet deb deb.marmaro.de deb.prog.marmaro.de -192.168.0.100 hg hg.marmaro.de hg.prog.marmaro.de - 192.168.0.40 kugel -192.168.0.102 karton -192.168.0.103 milk -192.168.0.74 dream - - -# The following lines are desirable for IPv6 capable hosts -::1 ip6-localhost ip6-loopback -\end{lstlisting} -\end{code} - -\section{blubb} - -Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor -incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis -nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. - -\begin{code}{}{} -\begin{verbatim} -$ make clean -latexmk -c -This is latexmk, John Collins, 2 June 2004, version: 3.07a. -**** Report bugs etc to John Collins . **** -\end{verbatim} -\end{code} - -\section{blah} - -Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor -incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis -nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. - -Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu -fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in -culpa qui officia deserunt mollit anim id est laborum. Lorem ipsum dolor sit -amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore -et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation -ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor -in reprehenderit in voluptate velit esse. Cillum dolore eu fugiat nulla -pariatur. - -Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia -deserunt mollit anim id est laborum. Lorem ipsum dolor sit amet, consectetur -adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna -aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi -ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in -voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint -occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim\index{Texteditor} -id est laborum. - -Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut -aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in -voluptate velit esse cillum dolore eu fugiat nulla pariatur. Duis aute irure -dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla -pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui -officia deserunt mollit anim id est laborum. Lorem ipsum dolor sit amet, -consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et -dolore magna aliqua. - -\chapter{muh} - -Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut -aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in -voluptate velit esse cillum dolore eu fugiat nulla pariatur. Duis aute irure -dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla -pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui -officia deserunt mollit anim id est laborum. Lorem ipsum dolor sit amet, -consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et -dolore magna aliqua. - - -\section{mäh} - -Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor -incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis\index{Texteditor} -nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. - -Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu -fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in -culpa qui officia deserunt mollit anim id est laborum. Lorem ipsum dolor sit -amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore -et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation -ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor -in reprehenderit in voluptate velit esse. Cillum dolore eu fugiat nulla -pariatur. - -Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia -deserunt mollit anim id est laborum. Lorem ipsum dolor sit amet, consectetur -adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna -aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi -ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in -voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint -occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim -id est laborum. - -Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut -aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in -voluptate velit esse cillum dolore eu fugiat nulla pariatur. Duis aute irure -dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla -pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui -officia deserunt mollit anim id est laborum. Lorem ipsum dolor sit amet, -consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et -dolore magna aliqua. - -\section{miau} - -Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor -incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis -nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. - -Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu -fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in -culpa qui officia deserunt mollit anim id est laborum. Lorem ipsum dolor sit -amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore -et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation -ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor -in reprehenderit in voluptate velit esse. Cillum dolore eu fugiat nulla -pariatur. - -Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia -deserunt mollit anim id est laborum. Lorem ipsum dolor sit amet, consectetur -\index{Prototyp} -adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna -aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi -ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in\index{Daten} -voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint -occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim -id est laborum. - -Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut -aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in -voluptate velit esse cillum dolore eu fugiat nulla pariatur. Duis aute irure -dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla -pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui -officia deserunt mollit anim id est laborum. Lorem ipsum dolor sit amet,\index{Texteditor} -consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et -dolore magna aliqua. diff -r a71af14e3887 -r 0b3b806f4eb2 thesis/header.tex --- a/thesis/header.tex Tue Sep 23 22:24:14 2008 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,88 +0,0 @@ -\documentclass[english,a4paper,twoside,openright]{report} - - \usepackage[utf8]{inputenc} - \usepackage{graphicx} - \usepackage{url} - - \usepackage{makeidx} - \makeindex - - \setlength{\parindent}{0em} - \setlength{\parskip}{1.0ex plus 1.0ex minus 0.5ex} - \setcounter{tocdepth}{3} - - \pagestyle{headings} - %\pagestyle{fancy} - %\lhead[\leftmark]{\thepage} - %\chead[]{} - %\rhead[\thepage]{\rightmark} - %\ifoot[\textsc{Markus Schnalke}]{\textsc{Markus Schnalke}} - %\cfoot[]{} - %\ofoot[\thepage]{\thepage} - - \usepackage{setspace} - \usepackage{relsize} - - % formating - \renewcommand{\path}[1]{\textit{#1}} - \newcommand{\name}[1]{\emph{#1}} - \newcommand{\NAME}[1]{{\smaller\textsc{#1}\larger}} - - % \newcommand{\source}[1]{\hspace{1em}\textit{\scriptsize(Quelle: #1)}} - \let\OLDcleardoublepage\cleardoublepage - \renewcommand{\cleardoublepage}{\thispagestyle{empty}\OLDcleardoublepage} - - % shortcuts - \newcommand{\masqmail}{\name{masqmail}} - \newcommand{\sendmail}{\name{sendmail}} - \newcommand{\mta}{\name{mail transfer agent}} - \newcommand{\email}{\name{email}} - \newcommand{\debian}{\name{Debian}} - \newcommand{\linux}{\name{Linux}} - \newcommand{\gnulinux}{\NAME{GNU}/\name{Linux}} - \newcommand{\MTA}{\NAME{MTA}} - \newcommand{\RFC}{\NAME{RFC}} - \newcommand{\GNU}{\NAME{GNU}} - - %%%% BEGIN DEBUG %%%% - %\usepackage{showidx} - %\doublespace - %%%% END DEBUG %%%% - - - % font - \usepackage[T1]{fontenc} - \usepackage[sc,osf]{mathpazo} - \linespread{1.05} % Palatino needs more leading (space between lines) - - - - \usepackage{listings} - \lstset{ - basicstyle=\ttfamily\footnotesize, - numberstyle=\tiny, - basewidth=0.45em, - numbers=left, - stepnumber=1, - numbersep=2em, - showstringspaces=true, - showtabs=true, - tab=\rightarrowfill, - frame=lines, - tabsize=4, - captionpos=b, - breaklines=false, - breakatwhitespace=true - } - - - \newenvironment{code}[2] { - \begin{center} - \lstset{label=#1,caption=#2} - \begin{list}{}{\setlength{\rightmargin}{2em}\setlength{\leftmargin}{2em}} - \item\ttfamily\footnotesize - }{ - \end{list} - \end{center} - } - diff -r a71af14e3887 -r 0b3b806f4eb2 thesis/official.tex --- a/thesis/official.tex Tue Sep 23 22:24:14 2008 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,12 +0,0 @@ -\cleardoublepage -\thispagestyle{empty} - -\emph{English:}\\ -Herewith I affirm that I wrote this document on my own, and that I have not used any other resources than the mentioned ones. - -\vspace{3ex} -\emph{German:}\\ -Hiermit bestätige ich, dass ich die vorliegende Arbeit selbstständig verfasst, und keine anderen als die angegebenen Hilfsmittel verwendet habe. - -\vspace{6ex} -Breitingen, YYYY-MM-DD % FIXME diff -r a71af14e3887 -r 0b3b806f4eb2 thesis/preface.tex --- a/thesis/preface.tex Tue Sep 23 22:24:14 2008 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,80 +0,0 @@ -\cleardoublepage -\chapter*{Preface} -\addcontentsline{toc}{chapter}{Preface} - -\section*{Preface} -Lorem ipsum dolor sit amet, \cite{brooks95} consectetur adipisicing elit, sed do eiusmod tempor -incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis -nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. - -Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu -fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in -culpa qui officia deserunt mollit anim id est laborum. Lorem ipsum dolor sit -amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore -et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation -ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor -in reprehenderit in voluptate velit esse. Cillum dolore eu fugiat nulla -pariatur. - -Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia -deserunt mollit anim id est laborum. Lorem ipsum dolor sit amet, consectetur\index{Daten} -adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna -aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi -ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in -voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint -occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim -id est laborum. - -Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut -aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in\index{Texteditor} -voluptate velit esse cillum dolore eu fugiat nulla pariatur. Duis aute irure -dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla\index{Geistesblitz} -pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui -officia deserunt mollit anim id est laborum. Lorem ipsum dolor sit amet, -consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et -dolore magna aliqua. - - -\section*{Organisation} -text - -\section*{Audience and Assumptions} -text - -\section*{How to read this document} -text - -\section*{Conventions used in the book} - -The following typographic conventions are used in this book: - -\begin{tabular}{ p{0.15\textwidth} p{0.8\textwidth} } -\emph{Italic} & -is used for names, including command names, file name, hostnames, usernames and email addresses. -Further more it is used to emphasize text. -\\ &\\ - -\texttt{Constant Width} & -is used for source code, contents of files and output from programs. -\\ &\\ - -\texttt{\$} & -indicates the the user shell prompt. -\\ &\\ - -\texttt{\#} & -indicates the the root shell prompt. -\\ -\end{tabular} - - - -\section*{Regarded versions} -text - -\section*{Additional sources} -\NAME{RFCs}, other books, source code, websites - - -\section*{Acknowledgements} -text diff -r a71af14e3887 -r 0b3b806f4eb2 thesis/tex/about-mta.tex --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/thesis/tex/about-mta.tex Tue Sep 23 22:28:29 2008 +0200 @@ -0,0 +1,35 @@ +\chapter{About \name{mail transfer agent}s} + +% TODO: describe content of this chapter here + + +\section{What is a \name{mail transfer agent}?} +The basic job of a \name{mail transfer agent} (or \name{mail transport agent}, short \NAME{MTA}) is to transfer/transport \name{electronic mail} (short \name{email}) from one host to another. + +% TODO: include definitions from others here (cites) + + +\section{History of \NAME{MTA}s} +% FIXME: is that true? +In the old days, the 70s, when Unix was created, computers were expensive. Universities and big firms normally had a single server with an amount of terminals connected to it. The computer filled a whole room somewhere in the cellar. People were operating at the terminals that were located in the offices and wired to the server. At that time, there was hardly no networking at all. + +During the following years, when computers became affordable and so more common (but still no personal computers at that time), connections between single computers were established. Inter-university connections were one of the first networks. + +Electronic mail is a basic concept in Unix. A lot of information gets distributed via system mail on Unix machines. System mail is electronic mail that stays on one machine. In nowadays this is primary notifications from system programs. But back then, there were frequently sent emails between users on the same machine. + +When computers were connected to each other and networks grew, the need appered to send electronic mail from one machine to another. E.g. Alice sitting on a terminal connected to server1 wants to send email to Bob sitting on a terminal connected to server2. + +Unix provided everything for that task, except a good tool to do the mail transport from server1 to server2. + +At that point the fathers of Unix at \name{Bell Labs} wrote the \NAME{UUCP} program and its compagnons. At about the same time in Berkeley a different solution for the same problem was developed: Eric Allman wrote \name{sendmail}.\footnote{To be exact: He wrote \name{delivermail} which he enhanced to \name{sendmail}.} + + +\section{About \name{sendmail}} +\name{sendmail} is the defacto-standard for \name{mail transfer agents}. + +% FIXME: is that true? +It was the first \NAME{MTA} and had no real alternative for a long time. + +All other existing substitutes, which are mainly \name{postfix}, \name{exim}, \name{qmail} and the here regarded \name{masqmail}, mimic \name{sendmail}'s behavior. Especially, they all create a symbolic link named ``sendmail'' pointing to their own executable. This is because a lot of programs assume there is an executable called ``sendmail'' on every computer system. + +Besides being the ``standard'', \name{sendmail} probably is the most scalable and powerful solution for transfering emails and definatly the most flexible one. diff -r a71af14e3887 -r 0b3b806f4eb2 thesis/tex/cover.tex --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/thesis/tex/cover.tex Tue Sep 23 22:28:29 2008 +0200 @@ -0,0 +1,13 @@ +\thispagestyle{empty} + +\begin{flushright} + + \vspace*{12cm} + {\Huge \bfseries masqmail} + + {\large \slshape + diploma thesis by\\ + markus schnalke\\ + } + +\end{flushright} diff -r a71af14e3887 -r 0b3b806f4eb2 thesis/tex/dedication.tex --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/thesis/tex/dedication.tex Tue Sep 23 22:28:29 2008 +0200 @@ -0,0 +1,20 @@ +\cleardoublepage + +\thispagestyle{empty} + +\vspace*{3cm} +\begin{center} + \it + Do what you think is interesting,\\ + do something that you think is fun and worthwhile,\\ + because otherwise you won't do it well anyway. + + ---Brian~W. Kernighan--- +\end{center} + +\vspace*{2cm} +\begin{center} + \it + This thesis is dedicated to \dots +\end{center} + diff -r a71af14e3887 -r 0b3b806f4eb2 thesis/tex/foo.tex --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/thesis/tex/foo.tex Tue Sep 23 22:28:29 2008 +0200 @@ -0,0 +1,152 @@ +\chapter{something} +laber. \cite{brooks95} + +Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor +incididunt ut labore et dolore magna aliqua. \url{http://marmaro.de/docs} Ut enim ad minim veniam, quis +nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. + +hallo \path{/usr/local/share/man1234} blubb \name{masqmail} laber bla \NAME{ANSI} laber \NAME{RFCs} laber + +\begin{code}{label}{caption} +\begin{lstlisting} +127.0.0.1 pantheon.schnalke.local localhost.localdomain +127.0.0.1 localhost pantheon +192.168.0.100 serveme intranet deb deb.marmaro.de deb.prog.marmaro.de +192.168.0.100 hg hg.marmaro.de hg.prog.marmaro.de + 192.168.0.40 kugel +192.168.0.102 karton +192.168.0.103 milk +192.168.0.74 dream + + +# The following lines are desirable for IPv6 capable hosts +::1 ip6-localhost ip6-loopback +\end{lstlisting} +\end{code} + +\section{blubb} + +Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor +incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis +nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. + +\begin{code}{}{} +\begin{verbatim} +$ make clean +latexmk -c +This is latexmk, John Collins, 2 June 2004, version: 3.07a. +**** Report bugs etc to John Collins . **** +\end{verbatim} +\end{code} + +\section{blah} + +Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor +incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis +nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. + +Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu +fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in +culpa qui officia deserunt mollit anim id est laborum. Lorem ipsum dolor sit +amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore +et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation +ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor +in reprehenderit in voluptate velit esse. Cillum dolore eu fugiat nulla +pariatur. + +Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia +deserunt mollit anim id est laborum. Lorem ipsum dolor sit amet, consectetur +adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna +aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi +ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in +voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint +occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim\index{Texteditor} +id est laborum. + +Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut +aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in +voluptate velit esse cillum dolore eu fugiat nulla pariatur. Duis aute irure +dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla +pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui +officia deserunt mollit anim id est laborum. Lorem ipsum dolor sit amet, +consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et +dolore magna aliqua. + +\chapter{muh} + +Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut +aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in +voluptate velit esse cillum dolore eu fugiat nulla pariatur. Duis aute irure +dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla +pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui +officia deserunt mollit anim id est laborum. Lorem ipsum dolor sit amet, +consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et +dolore magna aliqua. + + +\section{mäh} + +Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor +incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis\index{Texteditor} +nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. + +Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu +fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in +culpa qui officia deserunt mollit anim id est laborum. Lorem ipsum dolor sit +amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore +et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation +ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor +in reprehenderit in voluptate velit esse. Cillum dolore eu fugiat nulla +pariatur. + +Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia +deserunt mollit anim id est laborum. Lorem ipsum dolor sit amet, consectetur +adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna +aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi +ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in +voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint +occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim +id est laborum. + +Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut +aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in +voluptate velit esse cillum dolore eu fugiat nulla pariatur. Duis aute irure +dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla +pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui +officia deserunt mollit anim id est laborum. Lorem ipsum dolor sit amet, +consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et +dolore magna aliqua. + +\section{miau} + +Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor +incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis +nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. + +Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu +fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in +culpa qui officia deserunt mollit anim id est laborum. Lorem ipsum dolor sit +amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore +et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation +ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor +in reprehenderit in voluptate velit esse. Cillum dolore eu fugiat nulla +pariatur. + +Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia +deserunt mollit anim id est laborum. Lorem ipsum dolor sit amet, consectetur +\index{Prototyp} +adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna +aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi +ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in\index{Daten} +voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint +occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim +id est laborum. + +Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut +aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in +voluptate velit esse cillum dolore eu fugiat nulla pariatur. Duis aute irure +dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla +pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui +officia deserunt mollit anim id est laborum. Lorem ipsum dolor sit amet,\index{Texteditor} +consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et +dolore magna aliqua. diff -r a71af14e3887 -r 0b3b806f4eb2 thesis/tex/header.tex --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/thesis/tex/header.tex Tue Sep 23 22:28:29 2008 +0200 @@ -0,0 +1,88 @@ +\documentclass[english,a4paper,twoside,openright]{report} + + \usepackage[utf8]{inputenc} + \usepackage{graphicx} + \usepackage{url} + + \usepackage{makeidx} + \makeindex + + \setlength{\parindent}{0em} + \setlength{\parskip}{1.0ex plus 1.0ex minus 0.5ex} + \setcounter{tocdepth}{3} + + \pagestyle{headings} + %\pagestyle{fancy} + %\lhead[\leftmark]{\thepage} + %\chead[]{} + %\rhead[\thepage]{\rightmark} + %\ifoot[\textsc{Markus Schnalke}]{\textsc{Markus Schnalke}} + %\cfoot[]{} + %\ofoot[\thepage]{\thepage} + + \usepackage{setspace} + \usepackage{relsize} + + % formating + \renewcommand{\path}[1]{\textit{#1}} + \newcommand{\name}[1]{\emph{#1}} + \newcommand{\NAME}[1]{{\smaller\textsc{#1}\larger}} + + % \newcommand{\source}[1]{\hspace{1em}\textit{\scriptsize(Quelle: #1)}} + \let\OLDcleardoublepage\cleardoublepage + \renewcommand{\cleardoublepage}{\thispagestyle{empty}\OLDcleardoublepage} + + % shortcuts + \newcommand{\masqmail}{\name{masqmail}} + \newcommand{\sendmail}{\name{sendmail}} + \newcommand{\mta}{\name{mail transfer agent}} + \newcommand{\email}{\name{email}} + \newcommand{\debian}{\name{Debian}} + \newcommand{\linux}{\name{Linux}} + \newcommand{\gnulinux}{\NAME{GNU}/\name{Linux}} + \newcommand{\MTA}{\NAME{MTA}} + \newcommand{\RFC}{\NAME{RFC}} + \newcommand{\GNU}{\NAME{GNU}} + + %%%% BEGIN DEBUG %%%% + %\usepackage{showidx} + %\doublespace + %%%% END DEBUG %%%% + + + % font + \usepackage[T1]{fontenc} + \usepackage[sc,osf]{mathpazo} + \linespread{1.05} % Palatino needs more leading (space between lines) + + + + \usepackage{listings} + \lstset{ + basicstyle=\ttfamily\footnotesize, + numberstyle=\tiny, + basewidth=0.45em, + numbers=left, + stepnumber=1, + numbersep=2em, + showstringspaces=true, + showtabs=true, + tab=\rightarrowfill, + frame=lines, + tabsize=4, + captionpos=b, + breaklines=false, + breakatwhitespace=true + } + + + \newenvironment{code}[2] { + \begin{center} + \lstset{label=#1,caption=#2} + \begin{list}{}{\setlength{\rightmargin}{2em}\setlength{\leftmargin}{2em}} + \item\ttfamily\footnotesize + }{ + \end{list} + \end{center} + } + diff -r a71af14e3887 -r 0b3b806f4eb2 thesis/tex/official.tex --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/thesis/tex/official.tex Tue Sep 23 22:28:29 2008 +0200 @@ -0,0 +1,12 @@ +\cleardoublepage +\thispagestyle{empty} + +\emph{English:}\\ +Herewith I affirm that I wrote this document on my own, and that I have not used any other resources than the mentioned ones. + +\vspace{3ex} +\emph{German:}\\ +Hiermit bestätige ich, dass ich die vorliegende Arbeit selbstständig verfasst, und keine anderen als die angegebenen Hilfsmittel verwendet habe. + +\vspace{6ex} +Breitingen, YYYY-MM-DD % FIXME diff -r a71af14e3887 -r 0b3b806f4eb2 thesis/tex/preface.tex --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/thesis/tex/preface.tex Tue Sep 23 22:28:29 2008 +0200 @@ -0,0 +1,80 @@ +\cleardoublepage +\chapter*{Preface} +\addcontentsline{toc}{chapter}{Preface} + +\section*{Preface} +Lorem ipsum dolor sit amet, \cite{brooks95} consectetur adipisicing elit, sed do eiusmod tempor +incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis +nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. + +Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu +fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in +culpa qui officia deserunt mollit anim id est laborum. Lorem ipsum dolor sit +amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore +et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation +ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor +in reprehenderit in voluptate velit esse. Cillum dolore eu fugiat nulla +pariatur. + +Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia +deserunt mollit anim id est laborum. Lorem ipsum dolor sit amet, consectetur\index{Daten} +adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna +aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi +ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in +voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint +occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim +id est laborum. + +Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut +aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in\index{Texteditor} +voluptate velit esse cillum dolore eu fugiat nulla pariatur. Duis aute irure +dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla\index{Geistesblitz} +pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui +officia deserunt mollit anim id est laborum. Lorem ipsum dolor sit amet, +consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et +dolore magna aliqua. + + +\section*{Organisation} +text + +\section*{Audience and Assumptions} +text + +\section*{How to read this document} +text + +\section*{Conventions used in the book} + +The following typographic conventions are used in this book: + +\begin{tabular}{ p{0.15\textwidth} p{0.8\textwidth} } +\emph{Italic} & +is used for names, including command names, file name, hostnames, usernames and email addresses. +Further more it is used to emphasize text. +\\ &\\ + +\texttt{Constant Width} & +is used for source code, contents of files and output from programs. +\\ &\\ + +\texttt{\$} & +indicates the the user shell prompt. +\\ &\\ + +\texttt{\#} & +indicates the the root shell prompt. +\\ +\end{tabular} + + + +\section*{Regarded versions} +text + +\section*{Additional sources} +\NAME{RFCs}, other books, source code, websites + + +\section*{Acknowledgements} +text diff -r a71af14e3887 -r 0b3b806f4eb2 thesis/tex/titlepage.tex --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/thesis/tex/titlepage.tex Tue Sep 23 22:28:29 2008 +0200 @@ -0,0 +1,69 @@ +\cleardoublepage +\thispagestyle{empty} + +\begin{titlepage} + +\begin{center} +{\Huge \bfseries masqmail } + +{\large a mail tranfer agent for workstations and small networks } +\end{center} + +\section*{\centering Abstract} +\masqmail\ is a \mta\ for workstations and small networks. It is a drop-in replacement for \sendmail, but much smaller. + +This diploma thesis analyzes the structure and concepts of \masqmail, and its security and safety. Based on this knowledge, the source code will get improved and everything will be written down for documentation. + +After successful tests in a real environment, a new version of \masqmail\ will be released and it will be packaged for the \gnulinux\ Distribution \debian. + + + +%Masqmail ist ein Mail Transfer Agent wie Sendmail und kann diesen +%ersetzen. Er bietet alle gängigen Funktionen eines MTA und zudem die +%Möglichkeit Mails abhängig von äußeren Faktoren über verschiedene +%Mail-Relays (ISPs wie GMX) zu versenden. +% +%Im Gegensatz zu den bekannten MTAs Sendmail, Postfix, Exim ist sein +%Codeumfang nur etwa ein Zehntel. Auch verglichen mit Qmail ist er nur +%halb so groß. +% +%Somit ist Masqmail ein kleiner, überschaubarer MTA der gerade für +%Workstations (ohne ständige Internetanbindung) oder für kleine Netze +%geeignet ist. +% +%Aktive Entwicklung von Masqmail findet seit einiger Zeit kaum noch +%statt. Auch anstehende Bugfixes werden nicht, oder nur begrenzt, +%vorgenommen. +%Genutzt wird das Programm aber allemal, denn kleine MTAs für +%nicht-permanente Verbindungen gibt es sonst (AFAIR) keine. +% +%Ich will mich in meiner DA in die Konzepte eines MTA am Beispiel von +%Masqmail einarbeiten. Ich möchte eine Sicherheitsanalyse durchführen +%und nach kritischen Stellen im Code suchen. Anschließend möchte ich +%den Code verbessern, wo es nötig ist. +% +%Mein großes Ziel im Hintergrund ist es, diesem Programm wieder mehr +%Leben einzuhauchen. Ich möchte Masqmail zukünftig weiterentwickeln, es +%betreuen und vor allem die bisher sehr spärliche Dokumentation stark +%ausbauen. + + +\vspace*{12ex} +%\vfill + +Diploma thesis of Markus \textsc{Schnalke} (matriculation number: 039131).\\ +Course \name{Business Information Systems} at the \name{University of Applied Sciences Ulm}.\\ +Year 2009. + +Supervisor:\\ +Prof.~Dr.~rer.~nat. Markus \textsc{Schäffter}, \name{University of Applied Sciences Ulm}. + +\vfill + +{\scriptsize\ttfamily + Copyright \copyright\ 2008, 2009 by Markus Schnalke. + + Permission is hereby granted to copy and distribute this document in verbatim form. +} + +\end{titlepage} diff -r a71af14e3887 -r 0b3b806f4eb2 thesis/thesis.bib --- a/thesis/thesis.bib Tue Sep 23 22:24:14 2008 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,30 +0,0 @@ -@book{brooks95, - author = "Brooks, Frederick P., Jr.", - title = "The mythical man-month: essays on software engineering", - year = "1995", - publisher = "Addison-Wesley" -} - - - note = "\url{http://www.example.com}" - -@article{AbedonHymanThomas2003, - author = "Abedon, S. T. and Hyman, P. and Thomas, C.", - year = "2003", - title = "Experimental examination of bacteriophage latent-period evolution as a response to bacterial availability", - journal = "Applied and Environmental Microbiology", - volume = "69", - pages = "7499--7506" -} - -@incollection{Abedon1994, - author = "Abedon, S. T.", - title = "Lysis and the interaction between free phages and infected cells", - pages = "397--405", - booktitle = "Molecular biology of bacteriophage T4", - editor = "Karam, Jim D. Karam and Drake, John W. and Kreuzer, Kenneth N. and Mosig, Gisela - and Hall, Dwight and Eiserling, Frederick A. and Black, Lindsay W. and Kutter, Elizabeth - and Carlson, Karin and Miller, Eric S. and Spicer, Eleanor", - publisher = "ASM Press, Washington DC", - year = "1994" -} diff -r a71af14e3887 -r 0b3b806f4eb2 thesis/thesis.tex --- a/thesis/thesis.tex Tue Sep 23 22:24:14 2008 +0200 +++ b/thesis/thesis.tex Tue Sep 23 22:28:29 2008 +0200 @@ -8,31 +8,32 @@ \date{2008-09-16} -\input{header} +\input{tex/header} \begin{document} \pagenumbering{roman} -\include{cover} -\include{titlepage} -\include{official} -\include{dedication} +\include{tex/cover} +\include{tex/titlepage} +\include{tex/official} +\include{tex/dedication} \cleardoublepage \tableofcontents -\include{preface} +\include{tex/preface} \setcounter{page}{0} \pagenumbering{arabic} \part{Purpose and structure} -\include{foo} +\include{tex/about-mta} +\include{tex/foo} \part{Security and Safety} -%\include{foo} +%\include{tex/foo} \part{Enhancements} -%\include{foo} +%\include{tex/foo} \part{Documentation, test and distribution} -%\include{foo} +%\include{tex/foo} hallo \appendix @@ -44,7 +45,7 @@ % bibliography \addcontentsline{toc}{chapter}{Bibliography} \bibliographystyle{gerapali} -\bibliography{thesis} +\bibliography{bib/thesis} \addcontentsline{toc}{chapter}{Index} \printindex diff -r a71af14e3887 -r 0b3b806f4eb2 thesis/titlepage.tex --- a/thesis/titlepage.tex Tue Sep 23 22:24:14 2008 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,69 +0,0 @@ -\cleardoublepage -\thispagestyle{empty} - -\begin{titlepage} - -\begin{center} -{\Huge \bfseries masqmail } - -{\large a mail tranfer agent for workstations and small networks } -\end{center} - -\section*{\centering Abstract} -\masqmail\ is a \mta\ for workstations and small networks. It is a drop-in replacement for \sendmail, but much smaller. - -This diploma thesis analyzes the structure and concepts of \masqmail, and its security and safety. Based on this knowledge, the source code will get improved and everything will be written down for documentation. - -After successful tests in a real environment, a new version of \masqmail\ will be released and it will be packaged for the \gnulinux\ Distribution \debian. - - - -%Masqmail ist ein Mail Transfer Agent wie Sendmail und kann diesen -%ersetzen. Er bietet alle gängigen Funktionen eines MTA und zudem die -%Möglichkeit Mails abhängig von äußeren Faktoren über verschiedene -%Mail-Relays (ISPs wie GMX) zu versenden. -% -%Im Gegensatz zu den bekannten MTAs Sendmail, Postfix, Exim ist sein -%Codeumfang nur etwa ein Zehntel. Auch verglichen mit Qmail ist er nur -%halb so groß. -% -%Somit ist Masqmail ein kleiner, überschaubarer MTA der gerade für -%Workstations (ohne ständige Internetanbindung) oder für kleine Netze -%geeignet ist. -% -%Aktive Entwicklung von Masqmail findet seit einiger Zeit kaum noch -%statt. Auch anstehende Bugfixes werden nicht, oder nur begrenzt, -%vorgenommen. -%Genutzt wird das Programm aber allemal, denn kleine MTAs für -%nicht-permanente Verbindungen gibt es sonst (AFAIR) keine. -% -%Ich will mich in meiner DA in die Konzepte eines MTA am Beispiel von -%Masqmail einarbeiten. Ich möchte eine Sicherheitsanalyse durchführen -%und nach kritischen Stellen im Code suchen. Anschließend möchte ich -%den Code verbessern, wo es nötig ist. -% -%Mein großes Ziel im Hintergrund ist es, diesem Programm wieder mehr -%Leben einzuhauchen. Ich möchte Masqmail zukünftig weiterentwickeln, es -%betreuen und vor allem die bisher sehr spärliche Dokumentation stark -%ausbauen. - - -\vspace*{12ex} -%\vfill - -Diploma thesis of Markus \textsc{Schnalke} (matriculation number: 039131).\\ -Course \name{Business Information Systems} at the \name{University of Applied Sciences Ulm}.\\ -Year 2009. - -Supervisor:\\ -Prof.~Dr.~rer.~nat. Markus \textsc{Schäffter}, \name{University of Applied Sciences Ulm}. - -\vfill - -{\scriptsize\ttfamily - Copyright \copyright\ 2008, 2009 by Markus Schnalke. - - Permission is hereby granted to copy and distribute this document in verbatim form. -} - -\end{titlepage}