meillo@56: meillo@56: meillo@56: MasqMail - Manual meillo@56: meillo@56: meillo@56: meillo@56: meillo@56:
meillo@56: meillo@56: meillo@56: meillo@56:
meillo@56: meillo@56: meillo@56: meillo@56: meillo@56: meillo@56: meillo@56:
meillo@56: meillo@56: manual meillo@56: meillo@56: Frequently Asked Questions meillo@56: meillo@56: Configuration meillo@56: meillo@56:
meillo@56: meillo@56: meillo@56: Some of these questions were never asked, but I thought they will be meillo@56: some time. Some were asked. meillo@56: meillo@56:

General Questions

meillo@56: meillo@56: meillo@56:

Setup

meillo@56: meillo@56: meillo@56:

Header Rewriting

meillo@56: meillo@56: meillo@56:

Delivering Online

meillo@56: meillo@56: meillo@56:

Bugs

meillo@56: meillo@56: meillo@56:

1.0: When do I need MasqMail?

meillo@56: meillo@56:

You do not need it. But it makes sending mails via a meillo@56: dialup connection a lot easier.

meillo@56: meillo@56:

It is useful if you dial to the internet from time to time via a meillo@56: modem and connect to different providers, each one with a different meillo@56: configuration. Other MTAs are not flexible enough if you have to send meillo@56: mails via different mail servers for each provider. With MasqMail you meillo@56: can configure a different one for each provider and even set your meillo@56: return addresses differently.

meillo@56: meillo@56:

It is also useful if you have a LAN with a gateway which is meillo@56: connected to the internet via a modem because you can rewrite your meillo@56: address depending on whether the recipients are inside or meillo@56: outside your LAN. So responses and delivery failures on your meillo@56: LAN will be sent to you without leaving it, while those outside will meillo@56: be delivered to your address outside. (But it does not yet send meillo@56: delivery failures itself yet.)

meillo@56: meillo@56:

MasqMail is also often used on notebooks.

meillo@56: meillo@56:

1.1: When do I not need MasqMail?

meillo@56: meillo@56:

The use of MasqMail is strongly discouraged if you have a meillo@56: permanent connection to the internet without a firewall. First because meillo@56: it does not have the ability to block relaying (it relays every mail) meillo@56: and second because there are no capabilities to protect against meillo@56: SPAM. You will not take advantages of its features anyway.

meillo@56: meillo@56:

1.2: Can I retrieve mail with MasqMail?

meillo@56: meillo@56:

Yes, for version >= 0.1.0 you can retrieve mail via the POP3 and meillo@56: APOP protocol from single drop mailboxes (in case you do not know meillo@56: about single/mutidrop, you probaby use single drop mailboxes).

meillo@56: meillo@56:

You can also use fetchmail or other pop/imap clients to feed meillo@56: it.

meillo@56: meillo@56:

1.3: Is there a mailing list for MasqMail?

meillo@56: meillo@56:

Yes, there is! See here.

meillo@56: meillo@56:

2.0: After starting masmail, I get the following meillo@56: message: "could not gain root privileges. Is the setuid bit set?"

meillo@56: meillo@56:

Set the set-user-id-bit with chmod u+s /usr/sbin/masqmail.

meillo@56: meillo@56:

2.1: After starting masmail, I get the following meillo@56: message: "bind: (terminating): Address already in use"

meillo@56: meillo@56:

This means that there is already a process listening on a port, meillo@56: usually 25. You either have another MTA running in background meillo@56: (sendmail, exim, etc...) or another instance of masqmail.

meillo@56: meillo@56:

It may also mean that the ports you configured MM to listen to meillo@56: (with 'listen_addresses') are on the same IP address, eg. you may have meillo@56: set your hostname to 127.0.0.1 and try to listen on localhost and your meillo@56: host name. In this case either set your hostname to another IP address meillo@56: or delete one of the conflicting entries.

meillo@56: meillo@56:

3.0: My friends told me that they do not see my full meillo@56: name in their inbox, although it is configured in my mail meillo@56: client.

meillo@56: meillo@56:

You probably used the map_h_from_addresses feature in the meillo@56: route configuration and forgot to set your real name. The syntax meillo@56: is:

meillo@56: meillo@56:
meillo@56: map_h_from_addresses = "charlie:Charlie Miller <cmiller@foo.com>";
meillo@56: 	    
meillo@56: meillo@56:

Do not forget the Charlie Miller.

meillo@56: meillo@56:

4.0: With connection method file, I get the meillo@56: following message in the log file: "Could not open /tmp/connect_route: meillo@56: Permission denied".

meillo@56: meillo@56:

In your ip-up script, you have to set read permission to the user meillo@56: masqmail runs as. After you write the file with the connection name, meillo@56: set read permission to all with chmod ugo+r file. meillo@56: meillo@56:

4.1: With connection methed file, I get the meillo@56: following message in the log file: "route with name name not meillo@56: found.".

meillo@56: meillo@56:

Check whether the name in the file is really identical to name you meillo@56: gave to the route configuration (case sensitive!). Maybe there is a meillo@56: linefeed after the name in the file. Write it with echo -n.

meillo@56: meillo@56:

5.0: I found a bug.

meillo@56: meillo@56:

Make sure you are using the newest version, in case of doubt search meillo@56: it in freshmeat. If you do, tell meillo@56: me. See meillo@56: also the section bugs on the main page.

meillo@56: meillo@56:

5.1: I think I found a bug, but I am not sure meillo@56: whether I configured MasqMail incorrectly.

meillo@56: meillo@56:

Don't care. Tell me. Or write to the mailing meillo@56: list.

meillo@56: meillo@56:
meillo@56:

meillo@56:


meillo@56:
Oliver Kurth
meillo@56: Last modified: Tue May 30 15:19:56 CEST 2000 meillo@56:
meillo@56: This page was created using Genpage - Version: 1.0.6 meillo@56:

meillo@56: meillo@56:
meillo@56:
meillo@56: meillo@56: meillo@56: meillo@56: