docs/diploma

annotate thesis/tex/1-Masqmail.tex @ 76:5bd3f2118960

merge
author meillo@marmaro.de
date Tue, 04 Nov 2008 11:34:30 +0100
parents fd55c630ecab
children 3148ed044103
rev   line source
meillo@34 1 \chapter{\masqmail}
meillo@27 2
meillo@27 3 %TODO: have text by oliver here?
meillo@27 4
meillo@27 5
meillo@26 6 \section{Target field}
meillo@74 7 Its original author, Oliver Kurth, sees \masqmail\ so:
meillo@74 8 \begin{quotation}
meillo@74 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.
meillo@74 10 \end{quotation}
meillo@74 11
meillo@74 12 \masqmail\ is inteded to cover a specific niche: non-permanent internet connection and different \NAME{ISP}s.
meillo@74 13
meillo@74 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:
meillo@74 15 \begin{quotation}
meillo@74 16 In these cases, MasqMail is a slim replacement for full-blown MTAs such as sendmail, exim, qmail or postfix.
meillo@74 17 \end{quotation}
meillo@74 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.
meillo@74 19
meillo@74 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.
meillo@74 21
meillo@74 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.
meillo@74 23
meillo@27 24
meillo@27 25
meillo@26 26 \section{Typical usage}
meillo@74 27 This section describes situations that make senseful use of \masqmail.
meillo@74 28
meillo@74 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.
meillo@74 30
meillo@74 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.
meillo@74 32
meillo@74 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.
meillo@74 34
meillo@74 35 A better setup is to run \masqmail\ on every machine %FIXME
meillo@74 36
meillo@74 37 %How it works
meillo@74 38 %
meillo@74 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.
meillo@74 40 %
meillo@74 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).
meillo@74 42 %
meillo@74 43 %When offline, MasqMail behaves just like any other ordinary mail server (with a few limitations, but these will be fixed in the future).
meillo@74 44 %
meillo@74 45 %To detect its online status, MasqMail can take advantage of the masqdialer system. But it also works well without it.
meillo@74 46
meillo@27 47
meillo@27 48
meillo@26 49 \section{What makes it special}
meillo@27 50
meillo@74 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.
meillo@74 52
meillo@74 53 Workstations use
meillo@27 54
meillo@26 55 \section{Alternatives?}
meillo@58 56 % http://anfi.homeunix.org/sendmail/dialup10.html
meillo@27 57
meillo@26 58 \section{Structure}
meillo@27 59
meillo@27 60
meillo@26 61 \section{Features}
meillo@74 62 \begin{itemize}
meillo@74 63 \item Delivers only when online to a destination 'outside' your LAN
meillo@74 64 \item Support for multiple Providers (ie. Mail Servers, or direct delivery)
meillo@74 65 \item Rewriting of Return addresses (Return-Path:, From:, Reply-To:), configurable for each Provider separately
meillo@74 66 \item can also be used as a Mail Server on a LAN
meillo@74 67 \item alias support
meillo@74 68 \item delivery to pipes
meillo@74 69 \item delivery to MDAs (eg. procmail)
meillo@74 70 \item Maildir support (version >= 0.2.5)
meillo@74 71 \item routing depending on sender
meillo@74 72 \item AUTH (RFC 2554) support (as client, since version 0.1.0)
meillo@74 73 \item SMTP-after-POP
meillo@74 74 \item POP3 client
meillo@74 75 \item POP3 client daemon (fetch mail in regular intervals if online)
meillo@74 76 \begin{itemize}
meillo@27 77
meillo@27 78
meillo@26 79 \section{History}
meillo@27 80 %TODO: let oliver prove read it!
meillo@27 81 %FIXME: add references
meillo@26 82
meillo@47 83 The date of the first release (version 0.0.1) is unknown.
meillo@47 84 The only information available is, that it was packaged for \debian\ at 15\nth\ of September in 1999.
meillo@47 85 Further releases were made every few weeks or month during 2000, 2001 and 2002.
meillo@47 86 Development ended in mid-2003 in a hard stop.
meillo@62 87 The last ordinary release known to me is version 0.2.20, released on 4\nth\ of June in 2003.
meillo@27 88
meillo@47 89 During the time of development, Oliver released 53 versions.
meillo@47 90 That means a new release in less than every 20 days in average!
meillo@27 91
meillo@27 92 Mentionable are the four \emph{beta} releases of version 0.1.8 (named with the trailing letters `a' to `d') in winter 2000/2001 and the security-fix 0.1.15.1 in 2002.
meillo@27 93
meillo@47 94 One extra release (version 0.2.21) was made by him in November 2005.
meillo@47 95 This one is only available from the \debian\ pool.
meillo@47 96 Comparing it to version 0.2.20 shows, that no source code was altered.
meillo@47 97 Only building documents (like Makefiles) and \debian\ packageing documents were changed.
meillo@47 98 That leeds to the assumption that this last release was specificly created for the needs of \debian---to fix some errors in the package.
meillo@27 99
meillo@47 100 In May 2000 the minor version number increased to `1'.
meillo@47 101 Nothing special is mentioned in the documentation about that.
meillo@47 102 When it increased again to start the 0.2.x releases, Oliver titled them as the ``development branch'' of \masqmail.
meillo@47 103 At that second time, he started developing the 0.2.x ``development branch'', continuing to work on the 0.1.x series.
meillo@47 104 His parallel work on both branches lasted for four month, and one additional last release, numbered 0.1.17, one more year later.
meillo@27 105