Revision as of 16:57, 11 January 2012

Contents

Mailman

Mailman is free software for managing electronic mail discussion and e-newsletter lists. Mailman is integrated with the web, making it easy for users to manage their accounts and for list owners to administer their lists. Mailman supports built-in archiving, automatic bounce processing, content filtering, digest delivery, spam filters, and more.

Apache has caused some extremely configurations to exist. Nginx tends to focus on simplicity. In the example below, I installed and configured mailman through the Ubuntu repositories.

Installation

To install mailman from the Ubuntu repository:

aptitudeinstall mailman

From here, it's best to just follow the Mailman website. Configuration of mailman itself is a massive topic beyond the scope of this page.

Nginx Config

If the above is how you installed then the below will be nearly a drop in working model.

Credits

The seemingly simple setup above actually took a lot of work because of the files being spread across the operating system. For that reason, we need to add a little bit of credit. Thanks goes to Michael Lustfield (MTecknology) and Jon Kolb (kolbyjack).

Recent notes: Mailman with Nginx 1.0.4 on Ubuntu 10.04

You can try to use /mailman/ instead of /cgi-bin/mailman/ but the authors of this page gave up and just accepted that extra. If you do try to do this, then in the Mailman config file mm_cfg.py you should change the default URL pattern and private archive URL like so:

My final working 'location /mailman' section is given below. I went through many nonworking iterations, so I'm not sure which of the differences are significant except one related to the fastcgi parameters file, mentioned below.