mlmmj 1.2.17

An attempt at implementing a mailing list manager.

  Add it to your Download Basket!

 Add it to your Watch List!


Rate it!

What's new in mlmmj 1.2.16:

  • A security fix in contrib/web/perl-user.
  • Updated listtexts.
  • Postfix pipe backend support.
  • Support for static bounce addresses.
Read full changelog
send us
an update
MIT/X Consortium License 
3.6/5 16
Mads Martin Jorgensen
ROOT \ Communications \ Email
mlmmj project is an attempt at implementing a mailing list manager with the same functionality as the brilliant ezmlm, but with a decent license and mail server independency.


0) Compile it if you're not using a binary package such as dpkg, rpm or a ports collection from a BSD or Gentoo. To compile, untar the tar-ball and do:

$ ./configure && make && make install

1) Make sure your mailserver accepts '+' as a recipient delimiter. In Postfix it's done by adding

recipient_delimiter = +

to /etc/postfix/ In Exim it can be done by adding

local_part_suffix = +*

to the "userforward:" and the "localuser:" router in /etc/exim/exim.conf, and also add "local_part_suffix = +*" to the system_aliases function. Also make sure that exim will add the envelope from in the Return-Path: header.

There is a nice FAQ explaining recipient delimiter configuration here:

2) Create the mailinglist. There's a script,, that will make a mailinglist for mlmmj. It is highly recommended to use this script to make the lists! What is does is described here:

In the case of a list called mlmmj-test below /var/spool/mlmmj it makes the following directories:


NOTE: The mailinglist directory (/var/spool/mlmmj/mlmmj-test in our example) have to be owned by the user the mailserver writes as. On some Postfix installations Postfix is run by the user postfix, but still writes files as nobody:nogroup or nobody:nobody

3) Make the changes to your mailserver aliases that came as output from Following the example above they will look like this:

mlmmj-test: "|/usr/bin/mlmmj-recieve -L /var/spool/mlmmj/mlmmj-test"

NOTE: Don't forget newaliases.

4) Start mlmmj-maintd (remember full path when starting it!) or add it to crontab with -F switch. The recommended way for now is to run it via cron:

"0 */2 * * * /usr/bin/mlmmj-maintd -F -L /var/spool/mlmmj/mlmmj-test"

It should be started as root, as mlmmj-maintd will become the user owning the listdir (/var/spool/mlmmj/mlmmj-test), and log it's last maintenance run to listdir/mlmmj-maintd.lastrun.log.

If you have several lists below /var/spool/mlmmj you can use -d:
/usr/bin/mlmmj-maintd -F -d /var/spool/mlmmj

That's it! You probably want to go through the next steps too.

5) Subscribe some people

/usr/bin/mlmmj-sub -L /var/spool/mlmmj/mlmmj-test/ -a joe@domain.tld


6) If you want custom headers like X-Mailinglist, Reply-To: etc. just add a file called 'customheaders' in the list control/ directory like this:
$ cat /var/spool/mlmmj/mlmmj-test/control/customheaders
X-Mailinglist: mlmmj-test
Reply-To: mlmmj-test@domain.tld

7) If you want every mail to have something like:
To unsubscribe send a mail to

Just add what you want to a file named "footer" in the same dir as "customheader" (listdir/control/).

8) If you want a prefix on the subject, to make it look like this:
Subject: [mlmmj-test] how are we doing?
Simply do 'echo "[mlmmj-test]" > control/prefix

9) For having a moderated list, simply create a file called 'moderated' in the control/ directory. Moderators are added to a file called 'moderators' in the control/ dir as well.

10) Have a look at the file TUNABLES for runtime configurable things.

Tunables in include/mlmmj.h:

· There's some time intervals for how mlmmj-maintd operates. I've choosen non-strict defaults, so depending on your BOFH rate you might want to tweak. The defaults should be good for most people though.

Last updated on February 19th, 2010

feature list

#mailing list #list manager #mail manager #mlmmj #mailing #list #manager

Add your review!