Mailman
This wiki document explains howto setup [http://www.list.org/ Mailman] mailing list software with apache web server and exim mail server in ubuntu linux. The intended audience are experienced linux users and system administrators. NOTE: THIS DOCUMENT IS NOT COMPLETE
Introduction
If you are new to Mailman, this section provides a quick introduction about Mailman.
Mailman is a free software for managing electronic mail discussion and e-newsletter lists. Many open source mailing lists use Mailman as their mailing list software. It is powerful, easy to install and easy to maintain.
Assumptions
It is assumed that you are aware of running linux commands, editting files, starting/stopping services in the linux system. It is also assumed that ubuntu linux is running, you have root user access and you want to use Mailman software.
It is also assumed you have internet connection and you have configured /etc/apt/sources.list.
Installation
Mailman provides the web interface for the administrators and users. So, it requires apache with mod_perl support. Mailman uses an external mailserver to send/receive emails. It is proven that mailman works perfect with the following mailservers:
- Postfix
- Exim
- Sendmail
- Qmail
In this section, we will see howto install mailman, apache web server and Exim mail server. We will use mailman 2.1.5-x, apache 2.0.54-x and exim 4.52-2.
Apache2
Apache2 is already in the repository. So, to install apache2 you run:
- # apt-get install apache2
- # apt-get install apache2-common
Mailman
Mailman is already in the repository. So, to install mailman you run:
- # apt-get install mailman
It copies the installation files in /var/lib/mailman. It installs the cgi scripts in /usr/lib/cgi-bin/mailman' directory.
It creates 'list' linux user'. It creates 'list' linux group. The mailman process would be owned by this user.
Exim4
Exim4 is already in the repository. So, to install exim4 you run:
- # apt-get install exim4
- # apt-get install exim4-base
- # apt-get install exim4-config
Once exim4 is installed, the configuration files are stored in /etc/exim4/. In ubuntu, by default, the exim4 configuration files are splitted accross different files. You can change this behaviour by changing the following variable in /etc/exim4/update-exim4.conf.conf file.
- dc_use_split_config='true'
We can discuss more about exim4 configuration in next section.
Configuration
Mailman
Apache
Exim4
Administration
Users