Skip to main content

MailmanLists

Frequently asked questions

How can I migrate a list from another provider?

The steps outlined below are for migrating a GNU Mailman list from another server to ours, however we also welcome lists from other mailing-list managers -- Listserv, Majordomo, and Sympa.

Migrating your list from another GNU Mailman host is fairly straight forward and involves collecting some files from your old list for us to import.

If you want to collect the files yourself, the instructions are below. Otherwise, we're happy to do it for you once you've ordered your list. And there's no charge to have your list migrated by us.

The method of getting the files (in steps 1 to 4) depends on what type of access you have to your old list. Having privileged access (sudo) to the server makes things very easy. If you don't, should ask your existing host if they will export the files using the commands shown below. If they will do it for you you're in luck.

 

If you have privileged access ...

... you can run the following commands on your server to retrieve everything. Your file paths are probably different so you'll need to adjust accordingly.

$ cd ~/
$ sudo -s
$ mkdir LISTNAME-files
$ cd LISTNAME-files
$ /usr/lib/mailman/bin/list_members -f  -r LISTNAME > LISTNAME.regular
$ /usr/lib/mailman/bin/list_members -f  -d LISTNAME > LISTNAME.digest
$ cp /var/lib/mailman/archives/private/LISTNAME.mbox/LISTNAME.mbox ./LISTNAME.mbox
$ tar -czvf LISTNAME.attachments.tgz  /var/lib/mailman/archives/private/LISTNAME/attachments
$ cp /var/lib/mailman/lists/LISTNAME/config.pck ./LISTNAME.pck
$ cd ../
$ tar -czvf LISTNAME-files.tgz LISTNAME-files
$ rm -R LISTNAME-files

The resulting file -- LISTNAME-files.tgz -- is what you'll send to us, or permit us to retrieve.

Note: Archive .mbox files for importing are limited to 250 MB. If your file is larger we can can truncate it for you.

 

If you only have list-admin access ...

Only having list-admin access (to the web interface) makes things a little difficult. You won't be able to gather the archive's attachment folder, nor the configuration file. It's definitely worth asking your host if they will export them for you.

Step 1. Get your lists's subscribers (digest and regular)

Send an empty email
To: LISTNAME-request@MYLISTDOMAIN
Subject: who ADMINPASSWORD

For example: if your list's email address was committee@lists.widgets.co and your administrator password was abc123 you would send the email as:

To: committee-request@lists.widgets.co
Subject: who abc123

You would receive an email from the list-server that looked something like below.

- Results:
    Non-digest (regular) members:
        charlie@yahoo.com (Charlie Brown)
        gmeggs@bigpond (Ginger Meggs)
        homer.simpson@aol.com (Homer Simpson)
    Digest members:
        mickeymouse@aol.com (Mickey Mouse)
        bigears@hotmail.com (Bugs Bunny)
        dduck@gmail.com (Donald Duck)
        b.rubble@outlook.com (Barney Rubble)
        fred.flintstone@hotmail.com (Fred Flintsone)

Save that email as a text file (eg. subscribers.txt) in a folder.

 
Step 2. Get your list's message archive

Note: Archive mbox files for importing are limited to 250 MB. If your mbox is larger we can can truncate it for you.

If the archive isn't too large you can retrieve the archive file with your browser. As an example:

For a list -- committee@lists.widgets.co.uk -- with the Administrator password: XYZ123

… construct a URL like the one below, replacing the listname and domain with yours. Make sure it's all on one line with no spaces.

http://lists.widgets.co.uk/mailman/private/committee.mbox/committee.mbox?password=XYZ123&username=committee@lists.widgets.co.uk&submit=1

Entering the URL into the browser will display the mbox file looking something like this …

            
From homer.simpson@someserver.com  Thu Sep 24 08:58:39 2015
Return-Path: 
X-Original-To: committee@lists.widgets.co.uk
Delivered-To: committee@lists.widgets.co.uk
Received: from server.someserver.com (mail1.protonmail.ch [185.70.40.18])
 by www.mailmanlists.eu (Postfix) with ESMTPS id BC7DF2E0CB
 for ; Thu, 24 Sep 2015 08:58:39 +0200 (CEST)
Received: by server.someserver.com (Postfix, from userid 48)
 id 8DD9685890; Thu, 24 Sep 2015 02:58:39 -0400 (EDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=someserver.com;
 s=default; t=1443077919;
 bh=69SpIqx6V5czS6eC8BctH8xSa3tKr7GdlIbdnz0ARdk=;
 h=To:Subject:Date:From:Reply-To;
 b=W1blbkehvlElpLN7Fqlj4aLNqony9Nsq3RrLAqipT1bk/N0K9RlqJNgiTSsodkNQR
 wDR4k1D4lraB8pUic47lJfjl9GChK4QFPsBcoM9XV9sOBy76HXnKhXOkbiiO5IIvq/
 vqHP53vDUNaLXRiERnzUq7g1JZF1d2aI8pD6Kpxw=
To: "committee@lists.widgets.co.uk" 
Subject: Hello World!
Date: Thu, 24 Sep 2015 02:58:39 -0400
From: ... 
           

Right-click in the browser window and "Save page as" LISTNAME.mbox

 

If your archive is very large you'll probably get a timeout-error message. If so you'll need to go to your list's archive page and download the files one-by-one.

Right click on each of the [Gzip'd Text] links in the right-hand column and "Save Link As".

Save all the downloaded .gz files into the same folder with your subscribers file.

Screenshot
 

Step 3. Get your list's configuration

With only list-administrator access the settings will have to be copied manually.

You'll need to through every page in the list's Administration and copy what's there to a document -- which can be used to edit the settings of the list once it's setup on our servers.

 

Step 4: Send the files to us to import

Once you have all the files, put them into a folder and zip or tgz the folder, then send it to us.

Large files can be sent to us at support AT mailmanlists.net (using end-to-end encryption) via Mozilla's FireFox Send We Transfer.