Mailing list server configuration

From The_Open_Source_Way

Jump to: navigation, search

Install notes

These are a collection of notes taken during installation and configuration.

Configure firewall to allow port 25.

iptables -A INPUT -p tcp --dport 25 -j ACCEPT
service iptables save

Install mailman - 'yum install mailman'

Add/change these bits in /etc/postfix/

myorigin = $mydomain
inet_interfaces = localhost, $myhostname, $mydomain,
mydestination = $myhostname, localhost.$mydomain, localhost,, $mydomain

Look at /etc/httpd/conf.d/mailman.conf.

Set /mailman to redirect to listinfo page:

# Uncomment the following line, to redirect queries to /mailman to the
# listinfo page (recommended).

RedirectMatch ^/mailman[/]*$

Edit /etc/mailman/


Add new virtual host to /etc/httpd/conf.d/

<VirtualHost *:80>
    DocumentRoot /var/www/html/
    ErrorLog logs/
    CustomLog logs/ common

Restart Apache.

chkconfig {postfix,mailman} on

Run /usr/lib/mailman/bin/mmsitepass to set mailman password password: (refer to /root/passwords)

Run /usr/lib/mailman/bin/newlist to create a new list

mailman - Special, required Mailman list password: (refer to /root/mailing-list-passwords)

metrics-wg - Metrics working group password: (refer to /root/mailing-list-passwords)

To finish creating your mailing list, you must edit your /etc/aliases (or
equivalent) file by adding the following lines, and possibly running the
`newaliases' program:

## mailman mailing list
mailman:              "|/usr/lib/mailman/mail/mailman post mailman"
mailman-admin:        "|/usr/lib/mailman/mail/mailman admin mailman"
mailman-bounces:      "|/usr/lib/mailman/mail/mailman bounces mailman"
mailman-confirm:      "|/usr/lib/mailman/mail/mailman confirm mailman"
mailman-join:         "|/usr/lib/mailman/mail/mailman join mailman"
mailman-leave:        "|/usr/lib/mailman/mail/mailman leave mailman"
mailman-owner:        "|/usr/lib/mailman/mail/mailman owner mailman"
mailman-request:      "|/usr/lib/mailman/mail/mailman request mailman"
mailman-subscribe:    "|/usr/lib/mailman/mail/mailman subscribe mailman"
mailman-unsubscribe:  "|/usr/lib/mailman/mail/mailman unsubscribe mailman"

## metrics-wg mailing list
metrics-wg:              "|/usr/lib/mailman/mail/mailman post metrics-wg"
metrics-wg-admin:        "|/usr/lib/mailman/mail/mailman admin metrics-wg"
metrics-wg-bounces:      "|/usr/lib/mailman/mail/mailman bounces metrics-wg"
metrics-wg-confirm:      "|/usr/lib/mailman/mail/mailman confirm metrics-wg"
metrics-wg-join:         "|/usr/lib/mailman/mail/mailman join metrics-wg"
metrics-wg-leave:        "|/usr/lib/mailman/mail/mailman leave metrics-wg"
metrics-wg-owner:        "|/usr/lib/mailman/mail/mailman owner metrics-wg"
metrics-wg-request:      "|/usr/lib/mailman/mail/mailman request metrics-wg"
metrics-wg-subscribe:    "|/usr/lib/mailman/mail/mailman subscribe metrics-wg"
metrics-wg-unsubscribe:  "|/usr/lib/mailman/mail/mailman unsubscribe metrics-wg"

Resources used


Personal tools