annotate thesis/tex/1-Masqmail.tex @ 77:a6d67c5f7d78

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