[Mailman-Users] Mailman Migration to new server

Peter Merritt pwmerritt at weirdwater.org
Wed Aug 29 04:19:43 CEST 2012


Mark thank you for your help, unfortunately as I investigate further there is only one config.pck left an its corrupt. all the other lists have not config.pck. Is there anyway to recover a list of  members email addresses? 

                                      Peter



 
-----Original message-----
From:Mark Sapiro <mark at msapiro.net>
Sent:Tue 08-28-2012 06:51 pm
Subject:Re: [Mailman-Users] Mailman Migration to new server
To:Peter Merritt <pwmerritt at weirdwater.org>; 
CC:mailman-users at python.org; 
On 8/28/2012 6:25 PM, Peter Merritt wrote:
> 
> 
> Ok to add to this a dumpdb show that no config.pck has a
> data_version. In fact some config.pck are missing for some lists.


Mailman 2.1.5's Mailman/MailList.py had code to test and set if
necessary a list's data_version attribute every time the list was
instantiated.

I think you must be looking in the wrong directory. If there is no
lists/LISTNAME/config.pck (ignoring for the moment the possibility of a
Mailman 2.0.x config.db), the list doesn't exist for Mailman 2.1.x

Do you have any mods in your 2.1.5?

If you think your config.pck's are otherwise OK, you could always do

#!/bin/sh
file=`mktemp`
echo mlist.data_version = 0 > $file
for list in `/path/to/mailman/bin/list_lists --bare`; do
  /path/to/mailman/bin/config_list -i $file $list
done
rm $file


It doesn't matter what you set data_version to as long as it's less than 98.

-- 
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