Migrating mailman lists

Posted by anurag on Wed 28 Nov 2007 at 10:15

A couple of weeks back we had to migrate a few mailman based mailing lists across to a new server. Migration was successful and we had minimum downtime, since no changes were applied to the lists, they were simply moved to a new home. Here is how we did it.

1. Introduction
This HowTo assumes that the new server uses Postfix as an MTA. Using any other MTA is not a problem as long as it can read the Mailman generated aliases file.

Migrating mailman lists is a 3 step process.

2. Preparing New Server.

3. Copying Data to New Server.
Copying data involves copying over three directories, which hold list configuration(lists), held messages/bounce stats(data) and list archives(archives).


4. Post Migration checks.
After the data is migrated, check for any permission issues. Its possible that the new server is configured to run mailman with the user list or mailman. Change the ownership of the directories copied accordingly.



5. Finalising
Try to send an email to any of the lists's -request alias, with `help' in the subject line. Mailman should immediately respond with a list of available commands.

6. Refrences
Mailman Homepage - http://www.list.org
Mailman Installation Manual -http://list.org/mailman-install/index.html

This article can be found online at the Debian Administration website at the following bookmarkable URL:

This article is copyright 2007 anurag - please ask for permission to republish or translate.