MailMan
Version vom 21. Juni 2012, 21:20 Uhr von Hamatoma (Diskussion | Beiträge)
Listen übertragen
Quellrechner:
cd /var/lib/mailman/ tar czf mmlists.tgz archives/ lists/ data/ scp mmlists.tgz hm@gn:/var/lib/mailman
Zielrechner:
cd /var/lib/mailman/ rm -Rf archives/ lists/ data/ tar xzf mmlists.tgz bin/withlist -l -r fix_url tdh-ag bin/withlist -l -r fix_url tdh-freunde bin/check_db bin/check_perms -f bin/genaliases
Konfiguration MailMan
#/etc/mailman/mm_cfg.py DEFAULT_URL_HOST = 'list.f-r-e-i.de' DEFAULT_EMAIL_HOST = 'list.f-r-e-i.de'
Konfiguration PostFix
#/etc/postfix/master.cf mailman unix - n n - - pipe flags=FR user=list argv=/usr/lib/mailman/bin/postfix-to-mailman.py ${nexthop} ${user}
# /etc/postfix/main.cf relay_domains = list.f-r-e-i.de relay_recipient_maps = hash:/var/lib/mailman/data/virtual-mailman transport_maps = hash:/etc/postfix/transport mailman_destination_recipient_limit = 1
cat <<EOS >/etc/postfix/transport list.f-r-e-i.de mailman: EOS
cd /etc/postfix postmap /etc/postfix/transport postmap var/lib/mailman/data/virtual-mailman restart