[Mailman-Users] Mailman Migration to new server
Mark Sapiro
mark at msapiro.net
Wed Aug 29 03:51:48 CEST 2012
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