MailMan: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
(Eine dazwischenliegende Version desselben Benutzers wird nicht angezeigt) | |||
Zeile 19: | Zeile 19: | ||
bin/check_perms -f | bin/check_perms -f | ||
bin/genaliases | bin/genaliases | ||
bin/withlist -l -r fix_url tdh-ag -u list.f-r-e-i.de | |||
bin/withlist -l -r fix_url tdh-freunde -u list.f-r-e-i.de | |||
</pre> | |||
== Links == | |||
* Debian-Tipps zum Umzug: http://www.debian-administration.org/articles/567 | |||
== Konfiguration MailMan == | |||
<pre> | |||
#/etc/mailman/mm_cfg.py | |||
DEFAULT_URL_HOST = 'list.f-r-e-i.de' | |||
DEFAULT_EMAIL_HOST = 'list.f-r-e-i.de' | |||
</pre> | |||
== Konfiguration PostFix == | |||
<pre> | |||
#/etc/postfix/master.cf | |||
mailman unix - n n - - pipe | |||
flags=FR user=list argv=/usr/lib/mailman/bin/postfix-to-mailman.py ${nexthop} ${user} | |||
</pre> | |||
<pre> | |||
# /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 | |||
</pre> | |||
<pre> | |||
cat <<EOS >/etc/postfix/transport | |||
list.f-r-e-i.de mailman: | |||
EOS | |||
</pre> | |||
<pre> | |||
cd /etc/postfix | |||
postmap /etc/postfix/transport | |||
postmap var/lib/mailman/data/virtual-mailman | |||
restart | |||
</pre> | </pre> |
Aktuelle Version vom 21. Juni 2012, 22:39 Uhr
Listen übertragen[Bearbeiten]
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 bin/withlist -l -r fix_url tdh-ag -u list.f-r-e-i.de bin/withlist -l -r fix_url tdh-freunde -u list.f-r-e-i.de
Links[Bearbeiten]
- Debian-Tipps zum Umzug: http://www.debian-administration.org/articles/567
Konfiguration MailMan[Bearbeiten]
#/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[Bearbeiten]
#/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