Mailman on SnowLeopard Server

Snow Leopard Server (Mac OS 10.6.x) is until now the most solid server-system from Apple I had up and running. It comes with apache, postfix, dovecot and mailman preinstalled. All the software is well know open source software, but some things were changed by Apple. So the best is to leave the mailman installation as it was shipped by Apple.

Mountain Lion has mailman not preinstalled, so you need to do everything by yourself, like on any other Linux System.

Running mailman on SL Server with virtual domains is not supported by the Apple’s ServerAdmin, so one has to set up things by oneself. This is what I did to get things up and running:

1. I activated mailman in ServerAdmin and created one mailing list, called mailman, this will do the basic setup for Apache and mailman.

2. I edited /private/etc/postfix/ and added:

virtual_alias_maps = hash:/private/var/mailman/data/virtual-mailman

you probably already have a file for virtual aliases so you just can add it:

virtual_alias_maps = hash:/etc/postfix/virtual

3. I edited: /private/etc/postfix/ and uncommented these lines:

mailman   unix  –       n       n       –       –       pipe
flags=FR user=list argv=/usr/lib/mailman/bin/
${nexthop} ${user}

4. I edited /usr/share/mailman/Mailman/ and added this:

add_virtualhost(‘’, ‘’)

this domain of course also has to be in /private/etc/postfix/virtual_domains, which is created by ServerAdmin

4. restart postfix and mailman via terminal:

sudo postfix reload

sudo  /usr/share/mailman/bin/mailmanctl restart

5.  go to your browser and point it to:

6.  run sudo  /usr/share/mailman/bin/genaliases

and your list should be working.

Two things, you can’t have 2 lists with the same name on different domains and the list name can’t be equal to a short name in your OpenDirectory db.

For Q&A there’s a mailman wiki:

and for more tricky question you can subscribe to the mailman mailing list here:

Have fun and enjoy 🙂