Steven Jones wrote: > >Is there a way to scan my 440 lists and look for lists with no subscribers? >it seems my localhost ipv6 problem has caused at least one list to be emptied >of all subscribers by the bounce processing.....so I have had to re-populate >it.
I don't know why this is a reply to my reply in the "Resetting bounce scores globally" thread, and did you resolve that? Anyway, there are various ways you could accomplish this. You could create a shell script along the lines of #!/bin/sh for list in `bin/list_lists --bare` do if ! (bin/list_members $list | grep @ > /dev/null); then echo $list: no members fi done Or you could create a withlist script like def find_empty(mlist): if len(mlist.getMembers()) == 0: print "%s has no members" % mlist.real_name save it as bin/find_empty.py and run bin/withlist -a -r find_empty >After that is there a way to extract all the subscribers off the old lists >server and inject them back into the new lists on the new lists server? Why not just copy the lists/LISTNAME/config.pck from the old server to the new. Or if for some reason you don't want to do that, you could copy it to lists/dummy_list/config.pck on the new server and then run bin/list_members dummy_list with the desired list_members options. -- Mark Sapiro <m...@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan ------------------------------------------------------ Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://wiki.list.org/x/AgA3 Security Policy: http://wiki.list.org/x/QIA9 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org