masqmail

view docs/FAQ @ 392:c5fd796ea06e

Heavy refactoring in parts of conf.c. init_conf() parse_boolean() parse_list_file() Re-arrangement of code. parse_address_glob_list() Removed unneccessary parameter. parse_list() parse_interface(): Use strtok()/strchr() instead of doing is all by hand. Removed limitation of fixed size buffer. eat_comments() Use a state machine. eat_line_trailing() eat_spaces() read_lval() Better structured code. read_conf() read_route() Removed magic numbers. Made all list type in the config files accept pathname entries, except for `permanent_routes' and `query_routes.' for which this is impossible.
author markus schnalke <meillo@marmaro.de>
date Sat, 18 Feb 2012 18:07:55 +0100
parents
children
line source
1 Frequently Asked Questions
2 ==========================
4 Some of these questions were never asked, but I thought they will
5 be some time. Some were asked.
8 When do I need MasqMail?
9 ------------------------
10 You do not *need* it. But it makes sending mails via a dialup
11 connection a lot easier.
13 It is useful if you dial to the internet from time to time via a
14 modem and connect to different providers, each one with a
15 different configuration. Other MTAs are not flexible enough if you
16 have to send mails via different mail servers for each provider.
17 With MasqMail you can configure a different one for each provider
18 and even set your return addresses differently.
20 It is also useful if you have a LAN with a gateway which is
21 connected to the internet via a modem because you can rewrite your
22 address depending on whether the recipients are *inside* or
23 *outside* your LAN. So responses and delivery failures on your LAN
24 will be sent to you without leaving it, while those outside will
25 be delivered to your address outside. (But it does not yet send
26 delivery failures itself yet.)
28 MasqMail is also often used on notebooks.
31 When do I not need MasqMail?
32 ----------------------------
33 The use of MasqMail is *strongly* discouraged if you have a
34 permanent connection to the internet without a firewall. First
35 because it does not have the ability to block relaying (it relays
36 every mail) and second because there are no capabilities to
37 protect against SPAM. You will not take advantages of its features
38 anyway.
41 Is there a mailing list for MasqMail?
42 -------------------------------------
43 Yes, there is! See here.
46 After starting masmail, I get the following message: "could
47 not gain root privileges. Is the setuid bit set?"
48 -----------------------------------------------------------
49 Set the set-user-id-bit with chmod u+s /usr/sbin/masqmail.
52 After starting masmail, I get the following message: "bind:
53 (terminating): Address already in use"
54 -----------------------------------------------------------
55 This means that there is already a process listening on a port,
56 usually 25. You either have another MTA running in background
57 (sendmail, exim, etc...) or another instance of masqmail.
59 It may also mean that the ports you configured MM to listen to
60 (with 'listen_addresses') are on the same IP address, eg. you may
61 have set your hostname to 127.0.0.1 and try to listen on localhost
62 and your host name. In this case either set your hostname to
63 another IP address or delete one of the conflicting entries.
66 My friends told me that they do not see my full name in their
67 inbox, although it is configured in my mail client.
68 -------------------------------------------------------------
69 You probably used the map_h_from_addresses feature in the route
70 configuration and forgot to set your real name. The syntax is:
72 map_h_from_addresses = "charlie:Charlie Miller <cmiller@foo.com>";
74 Do not forget the Charlie Miller.
77 With connection method file, I get the following message in
78 the log file: "Could not open /tmp/connect_route: Permission
79 denied".
80 ------------------------------------------------------------
81 In your ip-up script, you have to set read permission to the user
82 masqmail runs as. After you write the file with the connection
83 name, set read permission to all with chmod ugo+r file.
86 With connection method file, I get the following message in
87 the log file: "route with name name not found.".
88 -----------------------------------------------------------
89 Check whether the name in the file is really identical to name you
90 gave to the route configuration (case sensitive!).
93 I found a bug.
94 --------------
95 Make sure you are using the newest version, in case of doubt
96 search it in freshmeat. If you do, tell me. See also the section
97 bugs on the main page.
100 I think I found a bug, but I am not sure whether I configured
101 MasqMail incorrectly.
102 -------------------------------------------------------------
103 Don't care. Tell me. Or write to the mailing list.
107 Written by Oliver Kurth
108 Last modified by him: Tue May 30 15:19:56 CEST 2000