mailman on debian notes

Notes on setting up mailman on debian jessie

The system
# cat /etc/debian_version /etc/issue
8.2
Debian GNU/Linux 8 \n \l




Remove exim
# apt-get remove --purge exim4 exim4-base exim4-config exim4-daemon-light


Install postfix
# apt-get update postfix


Install mailman
# apt-get install mailman


Configure apache2
# /etc/apache2/mods-available
# a2enmod cgid
# mkdir /var/www/mailman
add the following to /etc/apache2/apache2.conf

<Directory /var/lib/>
    Options Indexes FollowSymLinks
    AllowOverride None
    Require all granted
</Directory>

<Directory /usr/lib/>
    Options Indexes FollowSymLinks
    AllowOverride None
    Require all granted
</Directory>