Derrick MacPherson wrote: >Sorry I'm not much of a programmer, I'm trying to figure out how to make > a couple site wide changes using the with_list command. I've stumbled >around and am not getting anywhere, nor have i yet found an example that >will do what I need. I'm trying to change the list owner and the >personalize option to 2. Anyone care to turn the lights on for me?
bin/withlist --help gives instructions. There are lots of specific withlist examples in the archives of this list, e.g. <http://mail.python.org/pipermail/mailman-users/2006-February/049447.html>. If you need something more specific to this task, assuming you want to set the same owner and personalize option for all lists, put the following in bin/my_change.py --------------------------------------------- def my_change(mlist): if not mlist.Locked(): mlist.Lock() mlist.personalise = 2 mlist.owner = ['[EMAIL PROTECTED]'] mlist.Save() mlist.Unlock() --------------------------------------------- and then run bin/withlist -a -r my_change In this case you can accomplish the same thing with config_list instead by putting the two lines personalise = 2 owner = ['[EMAIL PROTECTED]'] in a file and running something like the following shell script #! /bin/sh cd (the mailman install directory) for list in `ls lists/` do bin/config_list -i path/to/file $list done -- Mark Sapiro <[EMAIL PROTECTED]> 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://www.python.org/cgi-bin/faqw-mm.py Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org Security Policy: http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq01.027.htp