[Mailman-Users] what's the easiest way to export/import a large list?

Mark Sapiro mark at msapiro.net
Mon Sep 21 23:44:45 CEST 2015


On 09/21/2015 09:06 AM, Ricardo Kleemann wrote:
> I have a list with around 50k users and I wanted to move from one server to
> another.
> 
> Does copying the the specific list's directory (e.g. under
> /var/lib/mailman/lists) from one server to another work?


Yes and no. You want to copy the lists/LISTNAME/config.pck file for
sure. You may or may not want to copy the others. In particular, if you
copy lists/LISTNAME/requests.pck and there are held messages for the
list, you also need to copy all the data/heldmsg-LISTNAME-* files or you
will wind up with non-existent held messages.


> Or, alternatively, does config_list output sufficient information of all
> the settings and characteristics such that I can then input on the other
> server?


It will do for the list's config, but it won't move list members or any
of their settings or passwords. Moving the config.pck will move these
things assuming you aren't using some non-standard MemberAdaptor.

See the FAQ at <http://wiki.list.org/x/4030682> and the list posts
linked therefrom.

-- 
Mark Sapiro <mark at msapiro.net>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan


More information about the Mailman-Users mailing list