docs/diploma

changeset 249:32e14e98cd91

small changes
author meillo@marmaro.de
date Sun, 11 Jan 2009 22:36:41 +0100
parents 724cc6057105
children 9f06b3a1388f
files thesis/tex/5-Improvements.tex
diffstat 1 files changed, 10 insertions(+), 59 deletions(-) [+]
line diff
     1.1 --- a/thesis/tex/5-Improvements.tex	Sun Jan 11 20:49:50 2009 +0100
     1.2 +++ b/thesis/tex/5-Improvements.tex	Sun Jan 11 22:36:41 2009 +0100
     1.3 @@ -2,12 +2,16 @@
     1.4  
     1.5  << what to implement how in future >>
     1.6  
     1.7 +short time goals on current code: first part.
     1.8 +
     1.9 +long time goal, a new architecture: second part.
    1.10  
    1.11  
    1.12  
    1.13  
    1.14  \section{On base of current code}
    1.15  
    1.16 +The first three \TODO{}s are implementable by improving the current code or by adding wrappers or interposition filters. The following sections describe solution approaches to do that work.
    1.17  
    1.18  
    1.19  
    1.20 @@ -53,7 +57,7 @@
    1.21  
    1.22  
    1.23  
    1.24 -\subsection{Authentication for SMTP-in}
    1.25 +\subsection{Authentication}
    1.26  
    1.27  Several ways to restrict access are available. The most simple one is restrictiction by the \NAME{IP} address. No extra complexity is added this way, but static \NAME{IP} addresses are mandatory. This kind of restriction may be enabled using the operating system's \path{hosts.allow} and \path{hosts.deny} files. To allow only connections to port 25 from localhost or the local network \texttt{192.168.100.0/24} insert the line ``\texttt{25: ALL}'' into \path{hosts.deny} and ``\texttt{25: 127.0.0.1, 192.168.100.}'' into \path{hosts.allow}.
    1.28  
    1.29 @@ -115,9 +119,9 @@
    1.30  
    1.31  \section{The new design}
    1.32  
    1.33 -The last sections identified the jobs that need to be done by a modern \MTA; problems and prefered choices were mentioned too. Now the various jobs are assigned to modules, of which an architecture is created. It is inpired by existing ones and driven by the identified jobs and requirements.
    1.34 +The last chapter identified the requirements for a modern and securt \masqmail. Now the various jobs of an \MTA\ get assigned to modules, of which the new architecture is created. It is inspired by existing \MTA{}s and driven by the identified requirements.
    1.35  
    1.36 -``Many times in life, getting off to the right start makes all the difference.'' \cite[page~32]{graff03}
    1.37 +One wise experience was kept in mind during the design: ``Many times in life, getting off to the right start makes all the difference.'' \cite[page~32]{graff03}.
    1.38  
    1.39  
    1.40  
    1.41 @@ -421,66 +425,13 @@
    1.42  No spool files are modified after they are written to disk. Modifications to header files can be made by the \name{scanning} module in the ``move'' from \name{incoming} to \name{outgoing}---it is a create and remove, actually. Further rewriting can happen in \name{queue-out}, as well without altering the file.
    1.43  
    1.44  Data files do not change at all within the system. They are written in default local plain text format. Required translation is done in the receiver and transport modules.
    1.45 +%fixme: why plain text and not db? -> simplicity
    1.46  
    1.47 +Mark spooled mail messages when processing of the writing module is finished: Either by setting the executable bit (like \postfix\ does), or by changing the owner (an approach for multiple masqmail users).
    1.48  
    1.49 -\begin{tabular}[hbt]{ l l }
    1.50  
    1.51 -\mbox{ queue-in:} & \mbox{
    1.52 -\begin{tabular}[hbt]{| c | c | c |}
    1.53 -	\hline
    1.54 - incoming & outgoing & pool \\
    1.55 -	\hline
    1.56 -	\hline
    1.57 - - & - & - \\
    1.58 -	\hline
    1.59 - 0600 & - & - \\
    1.60 -	\hline
    1.61 - 0600 & - & 0600 \\
    1.62 -	\hline
    1.63 - 0700 & - & 0600 \\
    1.64 -	\hline
    1.65 -\end{tabular}
    1.66 -} \\
    1.67 +A sample header file. With comments in paranthesis.
    1.68  
    1.69 -\quad & \\
    1.70 -
    1.71 -\mbox{scanning:} & \mbox{
    1.72 -\begin{tabular}[hbt]{| c | c | c |}
    1.73 -	\hline
    1.74 - incoming & outgoing & pool \\
    1.75 -	\hline
    1.76 -	\hline
    1.77 - 0700 & - & 0600 \\
    1.78 -	\hline
    1.79 - 0700 & 0600 & 0600 \\
    1.80 -	\hline
    1.81 - 0700 & 0700 & 0600 \\
    1.82 -	\hline
    1.83 - - & 0700 & 0600 \\
    1.84 -	\hline
    1.85 -\end{tabular}
    1.86 -} \\
    1.87 -
    1.88 -\quad & \\
    1.89 -
    1.90 -\mbox{queue-out:} & \mbox{
    1.91 -\begin{tabular}[hbt]{| c | c | c |}
    1.92 -	\hline
    1.93 - incoming & outgoing & pool \\
    1.94 -	\hline
    1.95 -	\hline
    1.96 - - & 0700 & 0600 \\
    1.97 -	\hline
    1.98 - - & 0700 & - \\
    1.99 -	\hline
   1.100 - - & - & - \\
   1.101 -	\hline
   1.102 -\end{tabular}
   1.103 -} \\
   1.104 -
   1.105 -\end{tabular}
   1.106 -
   1.107 -A sample header file.
   1.108  \begin{verbatim}
   1.109  1LGtYh-0ut-00                (backup copy of the file name)
   1.110  MF:<meillo@dream>            (envelope: sender)