annotate docs/FAQ @ 323:29de6a1c4538

Fixed an important bug with folded headers! g_strconcat() returns a *copy* of the string, but hdr->value still pointed to the old header (which probably was a memory leak, too). If the folded part had been quite small it was likely that the new string was at the same position as the old one, thus making everything go well. But if pretty long headers were folded several times it was likely that the new string was allocated somewhere else in memory, thus breaking things. In result mails to lots of recipients (folded header) were frequently only sent to the ones in the first line. Sorry for the inconvenience.
author meillo@marmaro.de
date Fri, 03 Jun 2011 09:47:27 +0200
parents 08b32edca1d5
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
215
08b32edca1d5 added the contents of the old FAQ page
meillo@marmaro.de
parents:
diff changeset
1 Frequently Asked Questions
08b32edca1d5 added the contents of the old FAQ page
meillo@marmaro.de
parents:
diff changeset
2 ==========================
08b32edca1d5 added the contents of the old FAQ page
meillo@marmaro.de
parents:
diff changeset
3
08b32edca1d5 added the contents of the old FAQ page
meillo@marmaro.de
parents:
diff changeset
4 Some of these questions were never asked, but I thought they will
08b32edca1d5 added the contents of the old FAQ page
meillo@marmaro.de
parents:
diff changeset
5 be some time. Some were asked.
08b32edca1d5 added the contents of the old FAQ page
meillo@marmaro.de
parents:
diff changeset
6
08b32edca1d5 added the contents of the old FAQ page
meillo@marmaro.de
parents:
diff changeset
7
08b32edca1d5 added the contents of the old FAQ page
meillo@marmaro.de
parents:
diff changeset
8 When do I need MasqMail?
08b32edca1d5 added the contents of the old FAQ page
meillo@marmaro.de
parents:
diff changeset
9 ------------------------
08b32edca1d5 added the contents of the old FAQ page
meillo@marmaro.de
parents:
diff changeset
10 You do not *need* it. But it makes sending mails via a dialup
08b32edca1d5 added the contents of the old FAQ page
meillo@marmaro.de
parents:
diff changeset
11 connection a lot easier.
08b32edca1d5 added the contents of the old FAQ page
meillo@marmaro.de
parents:
diff changeset
12
08b32edca1d5 added the contents of the old FAQ page
meillo@marmaro.de
parents:
diff changeset
13 It is useful if you dial to the internet from time to time via a
08b32edca1d5 added the contents of the old FAQ page
meillo@marmaro.de
parents:
diff changeset
14 modem and connect to different providers, each one with a
08b32edca1d5 added the contents of the old FAQ page
meillo@marmaro.de
parents:
diff changeset
15 different configuration. Other MTAs are not flexible enough if you
08b32edca1d5 added the contents of the old FAQ page
meillo@marmaro.de
parents:
diff changeset
16 have to send mails via different mail servers for each provider.
08b32edca1d5 added the contents of the old FAQ page
meillo@marmaro.de
parents:
diff changeset
17 With MasqMail you can configure a different one for each provider
08b32edca1d5 added the contents of the old FAQ page
meillo@marmaro.de
parents:
diff changeset
18 and even set your return addresses differently.
08b32edca1d5 added the contents of the old FAQ page
meillo@marmaro.de
parents:
diff changeset
19
08b32edca1d5 added the contents of the old FAQ page
meillo@marmaro.de
parents:
diff changeset
20 It is also useful if you have a LAN with a gateway which is
08b32edca1d5 added the contents of the old FAQ page
meillo@marmaro.de
parents:
diff changeset
21 connected to the internet via a modem because you can rewrite your
08b32edca1d5 added the contents of the old FAQ page
meillo@marmaro.de
parents:
diff changeset
22 address depending on whether the recipients are *inside* or
08b32edca1d5 added the contents of the old FAQ page
meillo@marmaro.de
parents:
diff changeset
23 *outside* your LAN. So responses and delivery failures on your LAN
08b32edca1d5 added the contents of the old FAQ page
meillo@marmaro.de
parents:
diff changeset
24 will be sent to you without leaving it, while those outside will
08b32edca1d5 added the contents of the old FAQ page
meillo@marmaro.de
parents:
diff changeset
25 be delivered to your address outside. (But it does not yet send
08b32edca1d5 added the contents of the old FAQ page
meillo@marmaro.de
parents:
diff changeset
26 delivery failures itself yet.)
08b32edca1d5 added the contents of the old FAQ page
meillo@marmaro.de
parents:
diff changeset
27
08b32edca1d5 added the contents of the old FAQ page
meillo@marmaro.de
parents:
diff changeset
28 MasqMail is also often used on notebooks.
08b32edca1d5 added the contents of the old FAQ page
meillo@marmaro.de
parents:
diff changeset
29
08b32edca1d5 added the contents of the old FAQ page
meillo@marmaro.de
parents:
diff changeset
30
08b32edca1d5 added the contents of the old FAQ page
meillo@marmaro.de
parents:
diff changeset
31 When do I not need MasqMail?
08b32edca1d5 added the contents of the old FAQ page
meillo@marmaro.de
parents:
diff changeset
32 ----------------------------
08b32edca1d5 added the contents of the old FAQ page
meillo@marmaro.de
parents:
diff changeset
33 The use of MasqMail is *strongly* discouraged if you have a
08b32edca1d5 added the contents of the old FAQ page
meillo@marmaro.de
parents:
diff changeset
34 permanent connection to the internet without a firewall. First
08b32edca1d5 added the contents of the old FAQ page
meillo@marmaro.de
parents:
diff changeset
35 because it does not have the ability to block relaying (it relays
08b32edca1d5 added the contents of the old FAQ page
meillo@marmaro.de
parents:
diff changeset
36 every mail) and second because there are no capabilities to
08b32edca1d5 added the contents of the old FAQ page
meillo@marmaro.de
parents:
diff changeset
37 protect against SPAM. You will not take advantages of its features
08b32edca1d5 added the contents of the old FAQ page
meillo@marmaro.de
parents:
diff changeset
38 anyway.
08b32edca1d5 added the contents of the old FAQ page
meillo@marmaro.de
parents:
diff changeset
39
08b32edca1d5 added the contents of the old FAQ page
meillo@marmaro.de
parents:
diff changeset
40
08b32edca1d5 added the contents of the old FAQ page
meillo@marmaro.de
parents:
diff changeset
41 Is there a mailing list for MasqMail?
08b32edca1d5 added the contents of the old FAQ page
meillo@marmaro.de
parents:
diff changeset
42 -------------------------------------
08b32edca1d5 added the contents of the old FAQ page
meillo@marmaro.de
parents:
diff changeset
43 Yes, there is! See here.
08b32edca1d5 added the contents of the old FAQ page
meillo@marmaro.de
parents:
diff changeset
44
08b32edca1d5 added the contents of the old FAQ page
meillo@marmaro.de
parents:
diff changeset
45
08b32edca1d5 added the contents of the old FAQ page
meillo@marmaro.de
parents:
diff changeset
46 After starting masmail, I get the following message: "could
08b32edca1d5 added the contents of the old FAQ page
meillo@marmaro.de
parents:
diff changeset
47 not gain root privileges. Is the setuid bit set?"
08b32edca1d5 added the contents of the old FAQ page
meillo@marmaro.de
parents:
diff changeset
48 -----------------------------------------------------------
08b32edca1d5 added the contents of the old FAQ page
meillo@marmaro.de
parents:
diff changeset
49 Set the set-user-id-bit with chmod u+s /usr/sbin/masqmail.
08b32edca1d5 added the contents of the old FAQ page
meillo@marmaro.de
parents:
diff changeset
50
08b32edca1d5 added the contents of the old FAQ page
meillo@marmaro.de
parents:
diff changeset
51
08b32edca1d5 added the contents of the old FAQ page
meillo@marmaro.de
parents:
diff changeset
52 After starting masmail, I get the following message: "bind:
08b32edca1d5 added the contents of the old FAQ page
meillo@marmaro.de
parents:
diff changeset
53 (terminating): Address already in use"
08b32edca1d5 added the contents of the old FAQ page
meillo@marmaro.de
parents:
diff changeset
54 -----------------------------------------------------------
08b32edca1d5 added the contents of the old FAQ page
meillo@marmaro.de
parents:
diff changeset
55 This means that there is already a process listening on a port,
08b32edca1d5 added the contents of the old FAQ page
meillo@marmaro.de
parents:
diff changeset
56 usually 25. You either have another MTA running in background
08b32edca1d5 added the contents of the old FAQ page
meillo@marmaro.de
parents:
diff changeset
57 (sendmail, exim, etc...) or another instance of masqmail.
08b32edca1d5 added the contents of the old FAQ page
meillo@marmaro.de
parents:
diff changeset
58
08b32edca1d5 added the contents of the old FAQ page
meillo@marmaro.de
parents:
diff changeset
59 It may also mean that the ports you configured MM to listen to
08b32edca1d5 added the contents of the old FAQ page
meillo@marmaro.de
parents:
diff changeset
60 (with 'listen_addresses') are on the same IP address, eg. you may
08b32edca1d5 added the contents of the old FAQ page
meillo@marmaro.de
parents:
diff changeset
61 have set your hostname to 127.0.0.1 and try to listen on localhost
08b32edca1d5 added the contents of the old FAQ page
meillo@marmaro.de
parents:
diff changeset
62 and your host name. In this case either set your hostname to
08b32edca1d5 added the contents of the old FAQ page
meillo@marmaro.de
parents:
diff changeset
63 another IP address or delete one of the conflicting entries.
08b32edca1d5 added the contents of the old FAQ page
meillo@marmaro.de
parents:
diff changeset
64
08b32edca1d5 added the contents of the old FAQ page
meillo@marmaro.de
parents:
diff changeset
65
08b32edca1d5 added the contents of the old FAQ page
meillo@marmaro.de
parents:
diff changeset
66 My friends told me that they do not see my full name in their
08b32edca1d5 added the contents of the old FAQ page
meillo@marmaro.de
parents:
diff changeset
67 inbox, although it is configured in my mail client.
08b32edca1d5 added the contents of the old FAQ page
meillo@marmaro.de
parents:
diff changeset
68 -------------------------------------------------------------
08b32edca1d5 added the contents of the old FAQ page
meillo@marmaro.de
parents:
diff changeset
69 You probably used the map_h_from_addresses feature in the route
08b32edca1d5 added the contents of the old FAQ page
meillo@marmaro.de
parents:
diff changeset
70 configuration and forgot to set your real name. The syntax is:
08b32edca1d5 added the contents of the old FAQ page
meillo@marmaro.de
parents:
diff changeset
71
08b32edca1d5 added the contents of the old FAQ page
meillo@marmaro.de
parents:
diff changeset
72 map_h_from_addresses = "charlie:Charlie Miller <cmiller@foo.com>";
08b32edca1d5 added the contents of the old FAQ page
meillo@marmaro.de
parents:
diff changeset
73
08b32edca1d5 added the contents of the old FAQ page
meillo@marmaro.de
parents:
diff changeset
74 Do not forget the Charlie Miller.
08b32edca1d5 added the contents of the old FAQ page
meillo@marmaro.de
parents:
diff changeset
75
08b32edca1d5 added the contents of the old FAQ page
meillo@marmaro.de
parents:
diff changeset
76
08b32edca1d5 added the contents of the old FAQ page
meillo@marmaro.de
parents:
diff changeset
77 With connection method file, I get the following message in
08b32edca1d5 added the contents of the old FAQ page
meillo@marmaro.de
parents:
diff changeset
78 the log file: "Could not open /tmp/connect_route: Permission
08b32edca1d5 added the contents of the old FAQ page
meillo@marmaro.de
parents:
diff changeset
79 denied".
08b32edca1d5 added the contents of the old FAQ page
meillo@marmaro.de
parents:
diff changeset
80 ------------------------------------------------------------
08b32edca1d5 added the contents of the old FAQ page
meillo@marmaro.de
parents:
diff changeset
81 In your ip-up script, you have to set read permission to the user
08b32edca1d5 added the contents of the old FAQ page
meillo@marmaro.de
parents:
diff changeset
82 masqmail runs as. After you write the file with the connection
08b32edca1d5 added the contents of the old FAQ page
meillo@marmaro.de
parents:
diff changeset
83 name, set read permission to all with chmod ugo+r file.
08b32edca1d5 added the contents of the old FAQ page
meillo@marmaro.de
parents:
diff changeset
84
08b32edca1d5 added the contents of the old FAQ page
meillo@marmaro.de
parents:
diff changeset
85
08b32edca1d5 added the contents of the old FAQ page
meillo@marmaro.de
parents:
diff changeset
86 With connection method file, I get the following message in
08b32edca1d5 added the contents of the old FAQ page
meillo@marmaro.de
parents:
diff changeset
87 the log file: "route with name name not found.".
08b32edca1d5 added the contents of the old FAQ page
meillo@marmaro.de
parents:
diff changeset
88 -----------------------------------------------------------
08b32edca1d5 added the contents of the old FAQ page
meillo@marmaro.de
parents:
diff changeset
89 Check whether the name in the file is really identical to name you
08b32edca1d5 added the contents of the old FAQ page
meillo@marmaro.de
parents:
diff changeset
90 gave to the route configuration (case sensitive!).
08b32edca1d5 added the contents of the old FAQ page
meillo@marmaro.de
parents:
diff changeset
91
08b32edca1d5 added the contents of the old FAQ page
meillo@marmaro.de
parents:
diff changeset
92
08b32edca1d5 added the contents of the old FAQ page
meillo@marmaro.de
parents:
diff changeset
93 I found a bug.
08b32edca1d5 added the contents of the old FAQ page
meillo@marmaro.de
parents:
diff changeset
94 --------------
08b32edca1d5 added the contents of the old FAQ page
meillo@marmaro.de
parents:
diff changeset
95 Make sure you are using the newest version, in case of doubt
08b32edca1d5 added the contents of the old FAQ page
meillo@marmaro.de
parents:
diff changeset
96 search it in freshmeat. If you do, tell me. See also the section
08b32edca1d5 added the contents of the old FAQ page
meillo@marmaro.de
parents:
diff changeset
97 bugs on the main page.
08b32edca1d5 added the contents of the old FAQ page
meillo@marmaro.de
parents:
diff changeset
98
08b32edca1d5 added the contents of the old FAQ page
meillo@marmaro.de
parents:
diff changeset
99
08b32edca1d5 added the contents of the old FAQ page
meillo@marmaro.de
parents:
diff changeset
100 I think I found a bug, but I am not sure whether I configured
08b32edca1d5 added the contents of the old FAQ page
meillo@marmaro.de
parents:
diff changeset
101 MasqMail incorrectly.
08b32edca1d5 added the contents of the old FAQ page
meillo@marmaro.de
parents:
diff changeset
102 -------------------------------------------------------------
08b32edca1d5 added the contents of the old FAQ page
meillo@marmaro.de
parents:
diff changeset
103 Don't care. Tell me. Or write to the mailing list.
08b32edca1d5 added the contents of the old FAQ page
meillo@marmaro.de
parents:
diff changeset
104
08b32edca1d5 added the contents of the old FAQ page
meillo@marmaro.de
parents:
diff changeset
105
08b32edca1d5 added the contents of the old FAQ page
meillo@marmaro.de
parents:
diff changeset
106
08b32edca1d5 added the contents of the old FAQ page
meillo@marmaro.de
parents:
diff changeset
107 Written by Oliver Kurth
08b32edca1d5 added the contents of the old FAQ page
meillo@marmaro.de
parents:
diff changeset
108 Last modified by him: Tue May 30 15:19:56 CEST 2000