[Mailman-Users] Batch member attributes
pdbogen at gmail.com
Wed May 24 23:43:57 CEST 2006
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:
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
- Patrick Bogen
More information about the Mailman-Users