next_inactive up previous


Adding and Removing Freedom Mail Servers

Zero Knowledge Systems Inc.

November 2000

Abstract:

This document describes the steps to take to add or remove a server to the Freedom Mail Network.


Contents

1. Adding a Freedom Mail Server

To add a server to the Freedom Mail Network, some planning have to first be done. Depending on the server to add, certain steps have to be taken. To make it easier, we will describe one server at a time. Please refer to the Installation of the Freedom Mail Network guide to install each server.

1.1 IMEP

To add an IMEP, we need to know a few things about the network.

  1. Where the MX record for the domain the server is added is.
  2. What IP address the server has.
  3. The list of IP addresses of all IMEPB servers on the network.
With this, the server can be installed and configured to work with the existing network.

1.1.1 Configuration of the Server

It is assumed the server was installed with the rpm and configured as per the installation manual. The files that need special attention on the IMEP are:

rcpthosts
This contains the list of domains for the current network.
qmqpservers
This has the IP addresses of all IMEPB servers on the network.
On the DNS server:

MXon
IMEP needs to give the IP address of the new IMEP server.
On all the IMEPB servers:

qmqpclients
needs the IP address of the new IMEP added to it. This enables the IMEP to send messages to the IMEPB servers.

1.2 IMEPB

The IMEPB is the server that handles the encryption of messages coming from internet users to nyms. The message is first accepted by the IMEP and delivered to the IMEPB to be processed. The IMEPB either encrypts and delivers the message to the STORE or send a bounce message to the RELAY to send back to the internet user.

1.2.1 Planification of the addition of an IMEPB

To add an IMEPB, some information is needed:

  1. The list of IP addresses of all the IMEP servers on the network. This will go in the qmqpclients file.
  2. The list of IP addresses of all the POP servers on the network. This will go in the qmqpclients file so the POP server can send the welcome message to the newly created nym.
  3. The list of IP addresses of all the RELAY servers on the network. This will go in the qmqpservers file.
  4. The shared secret for the network.
  5. The rpm packages for installaling the IMEPB.1.1
  6. The hostname of the STORE and the name of the exported popmail directory.

1.2.2 Installation of the IMEPB server.

The Installation of the IMEPB server should be as said in the manual. There is still one thing to keep in mind. The IMEPB needs to mount the exported directories from the STORE. This needs to be done in the /etc/fstab file so the mounting will be done if a reboot occurs.

1.2.3 Configuration of the servers.

The configuration of the IMEPB is as usual, but these are very important:

locals
has the list of the domains that the server should encrypt and store message for.
qmqpclients
contains the list of IP addresses of all the IMEP servers on the network.
qmpqservers
contains the list of IP addresses of all the RELAY server on the network.
mailmackey
contains the shared secret for the network.
mailroot
contains the path to the popmail directory.
On the IMEP servers, this configuration file needs editing:

qmqpservers
gets the IP address of the new IMEPB server added to the network.
On the RELAY servers, this configuration file needs editing:

qmqpclients
get the IP address of the new IMEPB server added to the network.

1.3 NMTA

The NMTA is the server that accepts messages from nyms to nyms or internet recipients. It authenticates the nyms before accepting any messages.

1.3.1 Planning to install a NMTA server

To install a NMTA server, some information is required:

  1. The IP address of the new server
  2. The IP addresses of the NMTAB servers
  3. The shared secret for the network.
  4. The domain names of the network

1.3.2 Installation of the NTMA server.

If the steps in the Installation of Freedom Mail Server are followed, there shouldn't be any problem.

1.3.3 Configuration of the servers.

On the NMTA, the configuration files are as follow:

qmpqservers
contains the list of all the NTMAB servers
mailmackey
contains the shared secret for the network. This is used to authenticate the nym wanting to send messages.
relaymailfrom
contains the list of domains the NMTA will accept for domain for the enveloppe sender.
On all the NMTAB servers, this file needs editing:

qmqpclients
gets the IP address of the new NMTA server added to it.
 

1.4 NMTAB

The NMTAB is the server that handles the nym messages. It will take care of storing mail to another nym, or send mail for to the internet to the RELAY. This is both for internet email and newsposts.

1.4.1 Planning the installation of a NMTAB server

To install a NMTAB server, some information is needed:

  1. The IP address of the new server
  2. The IP addresses of all the NMTA servers
  3. The IP addresses of all the RELAY servers.
  4. The hostname of the STORE.

1.4.2 Installing the NMTAB server

The installation of the NMTAB server should follow the steps described in the Installation of the Freedom Mail Servers. The important step to remember is to install the mounting of the popmail directory in the /etc/fstab file so it will be remounted at reboot

1.4.3 Configuration of the servers

The NTMAB needs some configuration of its control files:

qmqpclients
has the list of IP addresses of all the NTMA servers.
qmqpservers
has the list of IP addresses of all the RELAY servers.
mailroot
has the path to the popmail directory where the message for the nyms are stored.
The NMTA has one file that needs editing:

qmqpservers
gets the IP address of the new NMTAB server added to it.
The RELAY has one file that needs editing:

qmpqclients
get the IP address of the new NMTAB server added to it.

1.5 POP

The pop server doesn't do much interaction with the rest of the network, except for the first welcome message to a nym. It creates the user account if it doesn't exists, and also let's the nym retrieve it mail.

1.5.1 Planning the installation of a POP server

The pop server does need some information:

  1. The IP address of the new POP server
  2. The shared secret for the network.
  3. The list of IP addresses of all IMEPB servers.

1.5.2 Installation of the POP server

The installation of the POP server is described in the Installation of the Freedom Mail Server manual. Keep in mind that the POP server needs a nfs connection to the STORE. These connection should be added to the /etc/fstab file so it will be mounted at reboot.

1.5.3 Configuration of the servers

The POP server needs a few configuration to be able to work:

mailmackey
contains the shared secret for the network.
mailroot
contains the path to the popmail directory
qmqpservers
contains the list of IP addresses of all IMEPB servers. This is to send the welcome message when the nym is first connecting.
The IMEPB servers need editing to this file:

qmqpclients
get the IP address of the new POP server added to it.

1.6 RELAY

The RELAY handles any messages going to the internet. These messages can be nym to internet, bounce from the IMEPB and also newsposting, which the RELAY takes care of.

1.6.1 Planning for the installation of the RELAY

Before installating a new RELAY, we need some information.

  1. The IP address of the new RELAY server.
  2. The IP addresses of the IMEPB servers.
  3. The list of IP addresses of the NMTAB servers.
  4. The domain of the network.

1.6.2 Installatin of the RELAY server

The installation of the RELAY server should be done as per the Installation of the Freedom Mail Servers manual.

1.6.3 Configuration of the servers

The RELAY server need these configuration:

locals
should have the domain of the network with the news. in front. This lets the newspost be intercepted and sent the to nntp server.
nntp.host
contains the hostname of the newserver which will accept news posts.
nntp.port
contains the port number which the newserver accepts the news posts.
qmqpclients
contains the list of IP addresses of all IMPEB and NTMAB servers on the network.

2. Removing a Freedom Mail Server

To remove a server is not as hard as installing as we don't care about the server being removed. As such, only the other servers wil be shown in the steps to remove a particular server

2.1 IMEP

On the DNS server:

MX Record
has the IP address of the IMEP server deleted from its files.
On all of the IMEPB servers:

qmqpclients
has the IP address of the server being removed deleted from it.

2.2 IMEPB

On all IMEP servers:

qmqpservers
has the IP address of the server being removed deleted from it.
On all RELAY servers

qmqpclients
has the IP address of the server being removed deleted from it.

2.3 NTMA

On all NMTAB servers:

qmqpclients
has the IP address of the server being removed deleted from it.

2.4 NMTAB

On all NTMA servers:

qmqpservers
has the IP address of the server being removed deleted from it.
On all the RELAY servers:

qmqpcliens
has the IP address of the server being removed deleted from it.

2.5 POP

On all the IMEPB servers:

qmqpclients
has the IP address of the server being removed deleted from it.

2.6 RELAY

On all the IMEPB servers:

qmqpservers
has the IP address of the server being removed deleted from it.
On all the NTMAB servers:

qmqpservers
has the IP address of the server being removed deleted from it.

About this document ...

Adding and Removing Freedom Mail Servers

This document was generated using the LaTeX2HTML translator Version 99.2beta8 (1.43)

Copyright © 1993, 1994, 1995, 1996, Nikos Drakos, Computer Based Learning Unit, University of Leeds.
Copyright © 1997, 1998, 1999, Ross Moore, Mathematics Department, Macquarie University, Sydney.

The command line arguments were:
latex2html -no_subdir -split 0 -show_section_numbers Adding_and_Removing_Mail_servers.tex

The translation was initiated by Serge Chevarie-Pelletier on 2000-12-15


Footnotes

...IMEPB.1.1
These packages are described in the Installation of the Freedom Servers manual

next_inactive up previous
Serge Chevarie-Pelletier 2000-12-15