Setting up MailMan under Debian.

Submitted by rmiddle on Tue, 01/27/2009 - 14:17

http://www.debianhelp.co.uk/mailman.htm


#apt-get install mailman

This will install the latest version of mailman

after installation of postfix you need to do the following things

Edit /etc/postfix/main.cf

Ensure that the following line exist: owner_request_special = no

Ensure that in virtual_maps there's this entry: hash:/var/lib/mailman/data/virtual-mailman

Ensure that in alias_maps there's this entry: hash:/var/lib/mailman/data/aliases

Save & quit this file

Now you need to edit Mailman's config file

Edit /etc/mailman/mm_cfg.py

Ensure that the following line exist: MTA = "Postfix"

Ensure that the following line exist

POSTFIX_STYLE_VIRTUAL_DOMAINS = ['my.domain1.com', 'my.domain2.com', 'my.domain3.com']

Save & quit

If you want to add new list to mailman

Type newlist <list_name>@<my.domain1.com>, and answer the questions.

Type /usr/lib/mailman/bin/genaliases, which will update /var/lib/mailman/data/aliases and var/lib/mailman/data/virtual-mailman accordingly

Now restart mailman to take our new settings

#/etc/init.d/mailman force-reload

tax_term_view
Category Tags
Debian mailman