# HG changeset patch # User meillo@marmaro.de # Date 1231709801 -3600 # Node ID 32e14e98cd911b7093586878363be4ab090caa34 # Parent 724cc6057105ae01b4a710fa9cea4615f750e597 small changes diff -r 724cc6057105 -r 32e14e98cd91 thesis/tex/5-Improvements.tex --- a/thesis/tex/5-Improvements.tex Sun Jan 11 20:49:50 2009 +0100 +++ b/thesis/tex/5-Improvements.tex Sun Jan 11 22:36:41 2009 +0100 @@ -2,12 +2,16 @@ << what to implement how in future >> +short time goals on current code: first part. + +long time goal, a new architecture: second part. \section{On base of current code} +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. @@ -53,7 +57,7 @@ -\subsection{Authentication for SMTP-in} +\subsection{Authentication} 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}. @@ -115,9 +119,9 @@ \section{The new design} -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. +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. -``Many times in life, getting off to the right start makes all the difference.'' \cite[page~32]{graff03} +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}. @@ -421,66 +425,13 @@ 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. 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. +%fixme: why plain text and not db? -> simplicity +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). -\begin{tabular}[hbt]{ l l } -\mbox{ queue-in:} & \mbox{ -\begin{tabular}[hbt]{| c | c | c |} - \hline - incoming & outgoing & pool \\ - \hline - \hline - - & - & - \\ - \hline - 0600 & - & - \\ - \hline - 0600 & - & 0600 \\ - \hline - 0700 & - & 0600 \\ - \hline -\end{tabular} -} \\ +A sample header file. With comments in paranthesis. -\quad & \\ - -\mbox{scanning:} & \mbox{ -\begin{tabular}[hbt]{| c | c | c |} - \hline - incoming & outgoing & pool \\ - \hline - \hline - 0700 & - & 0600 \\ - \hline - 0700 & 0600 & 0600 \\ - \hline - 0700 & 0700 & 0600 \\ - \hline - - & 0700 & 0600 \\ - \hline -\end{tabular} -} \\ - -\quad & \\ - -\mbox{queue-out:} & \mbox{ -\begin{tabular}[hbt]{| c | c | c |} - \hline - incoming & outgoing & pool \\ - \hline - \hline - - & 0700 & 0600 \\ - \hline - - & 0700 & - \\ - \hline - - & - & - \\ - \hline -\end{tabular} -} \\ - -\end{tabular} - -A sample header file. \begin{verbatim} 1LGtYh-0ut-00 (backup copy of the file name) MF: (envelope: sender)