[Mailman-Users] Simple way to change one setting on multiple lists
Richard Barrett
R.Barrett at ftel.co.uk
Wed Apr 16 19:26:22 CEST 2003
At 18:14 16/04/2003, mailings at good-it.com wrote:
>Hi all,
>
>I have to change one setting for a lot of lists.
>Because i am a lazy system administrator i prefer not to do it with the
>webinterface for every list.
>Is there a way to do it with a script or something? (i use version 2.0.13)
As you have command line access then $prefix/bin/withlist is your friend
for this sort of thing.
For instance, if the contents of the short withlist script file
$prefix/bin/fix_remind.py is as follows:
>>>>>> snip--------------------------
def fix_remind(mlist):
mlist.send_reminders = 0
mlist.Save()
<<<<<< snip--------------------------
then executing the following command line from inside your $prefix directory:
ls -1 lists | xargs -n 1 bin/withlist -l -r fix_remind
will turn off "send password reminders" for all of your lists.
>--
>Kind Regards / Met vriendelijke groet,
>
>Johan Barelds,
>Good-IT! BV
>Strijplaan 320
>2285 HZ Rijswijk(ZH)
>Email j.barelds at good-it.com
>Tel. +31(0)70-3965230
>Fax. +31(0)70-3965271
>Mob. +31(0)6-54253750
More information about the Mailman-Users
mailing list