2.1.5 and came across an interesting bug. We have some lists that
were moderated in the old style of 2.0 ie restrict-post-to-members
was set to NO and "special people" were added to the Addresses-of-members-accepted-for-posting-to-this-list-without-implicit-
approval window.
After copying everything across as detailed in the archives and running withlist and genaliases on the new server, I noted that the lists was not set up as moderated and I had to do it manually.
* Is this a bug? feature? Is there a way around it?
* Alternatively, is there a relatively painless way to at least identify such lists on the 2.0.12 side for manual conversion? (I'm guessing probably dumpdb and some snazzy grepping. Since this will cross lines and thus be a bit of a pain to script)
* BTW, the instructions for web redirections are flawed as the pattern- match is not specific enough: If you move over a list called, "mine" but leave a list called "mine-friends", guess what happens to the web page redirection for the latter...
The way I've converted lists was:
-----------------------On old listserver----------------------
/fs/mailman/bin/list_lists | awk '{print $1}' |tail +2 \
| tr '[A-Z]' '[a-z]' | while read LISTNAME do
scp -r /fs/mailman/lists/$LISTNAME [EMAIL PROTECTED]:/fs/mailman2/lists
scp -r /fs/mailman/archives/private/$LISTNAME \
[EMAIL PROTECTED]:/fs/mailman2/archives/private
scp -r /fs/mailman/archives/private/$LISTNAME.mbox \
[EMAIL PROTECTED]:/fs/mailman2/archives/private
scp -r /fs/mailman/archives/public/$LISTNAME \
[EMAIL PROTECTED]:/fs/mailman2/archives/public
scp -r /fs/mailman/archives/public/$LISTNAME.mbox \
[EMAIL PROTECTED]:/fs/mailman2/archives/public
done
scp /fs/mailman/tools/all-lists [EMAIL PROTECTED]:/fs/mailman2/tools ssh root$newlistserver /fs/mailman2/tools/move-all
------------------On new listserver, move-all-----------------
#ya, ya, no comments about useless cat awards, I know better, I'm lazy cat /fs/mailman2/tools/all-lists| while read LISTNAME do
/fs/mailman2/bin/withlist -l -r fix_url $LISTNAME
cp /fs/mailman2/tools/request.pck /fs/mailman2/lists/$LISTNAME chown -R mailman:mailman /fs/mailman2/archives/private/$LISTNAME chown -R mailman:mailman /fs/mailman2/archives/public/$LISTNAME chown mailman /fs/mailman2/lists/$LISTNAME done
/fs/mailman2/bin/genaliases >/tmp/newalias.txt echo "Append appropriate pieces of /tmp/newalias.txt to /fs/lists2/aliases"
Suggestions?
Thanks
=-=-=-=-=-=-=-=-=-=- generated by /dev/dave -=-=-=-=-=-=-=-=-=-=-=-= David Stern University of Maryland Institute for Advanced Computer Studies ------------------------------------------------------ Mailman-Users mailing list [EMAIL PROTECTED] http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
