[Mailman-Users] Trying to make a coule site wide changes

Mark Sapiro msapiro at value.net
Sat Mar 4 17:42:00 CET 2006

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.

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.personalise = 2
    mlist.owner = ['owner at example.com']

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 = ['owner at example.com']

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

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