On 5/24/06, Benjamin Roger <[EMAIL PROTECTED]> wrote: > Isn't there something like a shell script for the withlist console? It > would really be cool to be able to apply those commands to all lists at > once, or, at least, to a particular list using a single command. > FAQ 03.016 has a good example of how to use withlist like this: http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq03.016.htp
The important bits are the 'changeuserpw.py' it uses and the 'withlist -l -r changeuserpw $list $member $passwd' line. Basically, wrap your commands inside a python function (subroutine? whatever python calls 'em), and give it arguments with the withlist commands. -- - Patrick Bogen ------------------------------------------------------ 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