View Single Post
Old 3rd November 2008, 22:38
kalua kalua is offline
Join Date: Oct 2008
Posts: 30
Thanks: 3
Thanked 0 Times in 0 Posts

I just set up mailman on an virtual machine. This was surprising easy, here are the steps:
  • apt-get mailman
  • during setup you can choose languages
  • you will also be asked a few questions (mailman admin password, email etc)
  • newlist mailman (you will be remembered by the packet installer)
  • ln -s /etc/mailman/apache.conf /etc/apache2/conf.d/mailman.conf

After installing the packet you have to add the following to /etc/aliases

## mailman mailing list
mailman:              "|/var/lib/mailman/mail/mailman post mailman"
mailman-admin:        "|/var/lib/mailman/mail/mailman admin mailman"
mailman-bounces:      "|/var/lib/mailman/mail/mailman bounces mailman"
mailman-confirm:      "|/var/lib/mailman/mail/mailman confirm mailman"
mailman-join:         "|/var/lib/mailman/mail/mailman join mailman"
mailman-leave:        "|/var/lib/mailman/mail/mailman leave mailman"
mailman-owner:        "|/var/lib/mailman/mail/mailman owner mailman"
mailman-request:      "|/var/lib/mailman/mail/mailman request mailman"
mailman-subscribe:    "|/var/lib/mailman/mail/mailman subscribe mailman"
mailman-unsubscribe:  "|/var/lib/mailman/mail/mailman unsubscribe mailman"
The installer will give you the entries for your system, he just cant add it by himself.

In mailman.conf is a VirtualHost section which is commented out. Enable it and change the DocumentRoot (/usr/share/mailman/), ServerName (lists.domain.tld) and the LogFile (I just put these in ...client1/web1/log) destinations.

After that, restart apache and point your browser to:


Thats it. So I don't think its necessary to install mailmain from source. At least the installer of the debian packet did a pretty good job so I didn't need to change anything in /etc/mailman/

Last edited by kalua; 3rd November 2008 at 22:53. Reason: added aliases code
Reply With Quote