Mailing list options

There is several well known mailling list programs available. Those include Mailman, Majordomo, and Sympa. Mailman is generally regarded as the most mature and feature rich option, and integrates well with most mail servers, including Postfix (RimuHosting recommended).

Installing Mailman in Debian

Its easy to install the basic package, but there can be a few manual steps to get up and running, since the default debian install does not include some basic tweaks. Additionally a lot of documentation is a bit old now which we hope to address here. (Comands below are meant to be run in the server command shell, usually over ssh)

Download and install the package and any missing dependencies automatically...

apt-get install mailman

Follow the directions on screen to set the language. Complete the installation by creating the 'mailman' default mailing list and setting up the aliases for that, then finally start the Mailman service.

Set up scheduled tasks (archives, reminders, etc)

Mailman uses the system cron service to keep various components in sync. To set that up do crontab -u list /var/lib/mailman/cron/crontab.in.

To test if that looks right use crontab -u list -l. If you need to make changes edit the file in /var/lib/mailman/cron/crontab.in and rerun the command in the previous paragraph. Depending on your needs you will likely want to disable the 'gateway' job.

Enable Mailman web interface with Apache

Then under a standard apache install you will see mailman at http://<yourip>/cgi-bin/mailman/listinfo/mailman. There are a number of tweaks and tips in the above copied file which I recommend reading to make things integrate a bit more cleanly with your services.

Webmin modules for Mailman

As you may have seen mailman has a built in interface for web interaction. Webmin has a (currently experimental) module in development for administrative tasks which you can see at Sourceforge

Mailman in Plesk

Or Plesk install typically has Mailman installed an enabled by default. Much of the discussion above talks about manually managing the service, if you are using Plesk we recommend managing Mailman from the control panel instead to avoid conflicts with the control panel.

Some common Mailman issues

Mailman list messages not going through? Check that the Mailman service is running /etc/init.d/mailman restart. And if not start it and make it run on boot up (on Centos or Fedora run chkconfig --level 3 mailman on, under Debian or Ubuntu run update-rc.d mailman defaults).

You can see the mail queues at something like /var/mailman/qfiles or /var/lib/mailman/qfiles. If the queue is still not being cleared out then delete old lockfiles. e.g. locks/master-qrunner.domain.pid