[Mailman-Users] move messages

Mark Sapiro mark at msapiro.net
Thu Jan 21 02:41:52 CET 2010

Dave Filchak wrote:
>Is it possible to move just the messages and archive from one list to 
>another? This would be the same instance of Mailman on the same server 

The cleanest way to do this is to stop Mailman and then move the
messages from the one list's archives/private/list1.mbox/list1.mbox to
the other list's archives/private/list2.mbox/list2.mbox.

I.e., remove the messages from the list1.mbox and add them to the
list2.mbox. This can be done with a text editor, but it can't be a
word processor that will wrap or fill lines in any way.

Once the .mbox files contain the desired messages, you can rebuild the
archives of the two lists with 'bin/arch --wipe'.

Also, see the FAQ at <http://wiki.list.org/x/2YA9> and note that this
process will renumber messages in both lists archives and break any
saved URL's that point to those archives.

If list1 is going away or won't have archives at all, and you want to
move all its messages to list2's archive, you can do this in Mailman's

Stop Mailman
cp archives/private/list2.mbox/list2.mbox backup/in/case
cat archives/private/list1.mbox/list1.mbox \
   >> archives/private/list2.mbox/list2.mbox
bin/arch --wipe list2
Start Mailman

This will add all of list1's messages to list2's archive with little if
any renumbering of list2's existing messages.

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