[Mailman-Users] Batch member attributes

Mark Sapiro msapiro at value.net
Fri May 26 06:28:57 CEST 2006


Patrick Bogen wrote:

>On 5/24/06, Benjamin Roger <rogerben at rz.hu-berlin.de> 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


And

bin/withlist --help

also gives examples of using withlist with a script file.

Applying a script that needs the list locked to all lists (with the
'-a' option to withlist) is tricky because 'withlist -a' only unlocks
the last list so the script needs to do the unlocking. See
<http://mail.python.org/pipermail/mailman-users/2006-February/049447.html>
for a sample script that works whether or not you specify '-l' to
withlist.

-- 
Mark Sapiro <msapiro at value.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