welcome: please sign in

Diff for "DaemonAdmin/Mailman"

Differences between revisions 7 and 8
Revision 7 as of 2012-04-23 04:18:56
Size: 253
Editor: ClintonEbadi
Comment:
Revision 8 as of 2018-11-03 03:21:40
Size: 862
Editor: ClintonEbadi
Comment: remove obsolete gunk (verified it's not needed), add what i *think* it was we need to do to move to a new server again...
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
The following should be done after any update of the mailman package. == Migrating Mailman Between Servers ==
Line 3: Line 3:
{{{
chown -R list.list /usr/lib/cgi-bin/mailman
chown -R list /var/lib/mailman/lists/*
ln -s /etc/mailman/vhosts_cfg.py /var/lib/mailman/Mailman/
}}}
 0. Copy `/etc/mailman` to new server
    * Might just need `mm_cfg.py` and `vhosts_cfg.py`
 0. Copy `/etc/exim4/mailmandb` to new server
 0. Stop mailman to prevent messages from being delivered while copying data: `service mailman stop`
 0. Copy `/var/lib/mailman` to new server
 0. In `/etc/exim4/conf.d/main/01_exim4-config_listmacrosdef` on:
    * the new mailman host: unset `HCOOP_MAILMAN_RELAY_HOST`
    * all other mail servers: set `HCOOP_MAILMAN_RELAY_HOST` to the new mailman host
 0. Start mailman on new server: `service mailman start`
 0. Reload exim, and everything ought to work

=== Individual Lists ===

Not entirely sure, but [[https://mail.python.org/pipermail/mailman-users/2016-October/081482.html|an old post on mailman-users]] might have some insight.

1. Migrating Mailman Between Servers

  1. Copy /etc/mailman to new server

    • Might just need mm_cfg.py and vhosts_cfg.py

  2. Copy /etc/exim4/mailmandb to new server

  3. Stop mailman to prevent messages from being delivered while copying data: service mailman stop

  4. Copy /var/lib/mailman to new server

  5. In /etc/exim4/conf.d/main/01_exim4-config_listmacrosdef on:

    • the new mailman host: unset HCOOP_MAILMAN_RELAY_HOST

    • all other mail servers: set HCOOP_MAILMAN_RELAY_HOST to the new mailman host

  6. Start mailman on new server: service mailman start

  7. Reload exim, and everything ought to work

1.1. Individual Lists

Not entirely sure, but an old post on mailman-users might have some insight.


CategoryNeedsWork

DaemonAdmin/Mailman (last edited 2019-01-10 02:18:08 by ClintonEbadi)