Using Mailman

Mailman is a mailing lists manager, an optional component on a mail server.

Mailman 2

Set a site password and the list creator password (more details):

$ sudo mmsitepass <your-site-password>
$ sudo mmsitepass -c <list-creator-password>

Mailman 3

Mailman 3 is in active developement, and –like Lino– uses Django for its web interface. The Mailman web interface consists of two Django apps, Postorious (lists management) and Hyperkitty (list archives), which may be used separately, or integrated into another Django project together with custom apps, or, –probably the most frequent use case– are combined into a Django project called the “Mailman Suite”. This is what we are going to install here.

Should we use the packaged version by saying sudo apt install mainman3-full? It seems that we prefer to use selected clones of the official git repository in order to be able to easily switch between versions. Though we didn’t yet fully explore the package approach (see 2020-08-13).

The following is not finished.

We assume that you have already installed and configured postfix (Postfix) and that your basic email system is working.

Get the sources

The mailman suite is like any other Lino site, except that the file is copied from

We assume that the master environment is installed (see Setting up a Lino production server).

Draft installation instructions with getlino:

$ sudo env PATH=$PATH getlino startsite --db-engine=postgresql std lists

Manually install mailman repository:

$ go mailman
$ a
$ mkdir env/repositories
$ cd $_
$ git clone
$ pip install -e mailman/
$ go mailman

Download config files from

$ mv
$ wget
$ wget

Install Python wrappers for using memcached and the Whoosh backend for HyperKitty archive search:

$ pip install pylibmc Whoosh

Tips and tricks

Add a new member on the command line

$ sudo add_members -r recipients.txt test


The following simulates quite closely what mailman does when sending its mails.

$ sudo apt install sendemail
$ dig MX
$ sendemail -f -t -u test -m test -s -v -o tls=no