Mailman
Version vom 3. April 2016, 11:35 Uhr von Martin Kirner (Diskussion | Beiträge)
Noch in Bearbeitung
Installation
sudo apt-get install mailman
Konfiguration
newlist mailman sudo newlist mailman
## mailman Mailingliste 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"
INSERT INTO aliases (source, destination) values ('mailman@<domain>', 'mailman@lists.<domain>'); INSERT INTO aliases (source, destination) values ('mailman-admin@<domain>', 'mailman-admin@lists.<domain>'); INSERT INTO aliases (source, destination) values ('mailman-bounces@<domain>', 'mailman-bounces@lists.<domain>'); INSERT INTO aliases (source, destination) values ('mailman-confirm@<domain>', 'mailman-confirm@lists.<domain>'); INSERT INTO aliases (source, destination) values ('mailman-join@<domain>', 'mailman-join@lists.<domain>'); INSERT INTO aliases (source, destination) values ('mailman-leave@<domain>', 'mailman-leave@lists.<domain>'); INSERT INTO aliases (source, destination) values ('mailman-owner@<domain>', 'mailman-owner@lists.<domain>'); INSERT INTO aliases (source, destination) values ('mailman-request@<domain>', 'mailman-request@lists.<domain>'); INSERT INTO aliases (source, destination) values ('mailman-subscribe@<domain>', 'mailman-subscribe@lists.<domain>'); INSERT INTO aliases (source, destination) values ('mailman-unsubscribe@<domain>', 'mailman-unsubscribe@lists.<domain>');
Postfix
Neue Datei /etc/postfix/transport anlegen:
cd /etc/postfix/ sudo su echo "lists.example.com mailman:" > transport exit sudo postmap transport
Checken, ob die Datei /etc/postfix/master.cf folgende Zeilen enthält:
mailman unix - n n - - pipe flags=FR user=list argv=/usr/lib/mailman/bin/postfix-to-mailman.py ${nexthop} ${user}
Apache
sudo cp /etc/mailman/apache.conf /etc/apache2/conf-available/mailman.conf sudo cp /etc/mailman/apache.conf /etc/apache2/sites-available/mailman-ssl.conf
Links
https://help.ubuntu.com/community/Mailman
http://freemars.org/howto/mailman.html
Zurück zu Mailserver einrichten