Dave Anderson wrote:
>
>All of our lists have separate list owners, but I would like to add a 
>secondary list owner to all the mailing lists, is there a way to do this by 
>command line?


There are a couple of ways to do this. The most flexible is probably
the withlist script at
<http://www.msapiro.net/scripts/change_admins.py> (mirrored at
<http://fog.ccsf.edu/~msapiro/scripts/change_admins.py>).

Another way to do it would be a shell script similar to

#!/bin/sh
f=`mktemp`
echo > $f "mlist.owner += ['aditional_ow...@example.com']"
cd /path/to/mailman
for list in `bin/list_lists --bare`; do
  bin/config_list -i $f $list
done
rm $f

The drawback of this shell script is it doesn't check if
'aditional_ow...@example.com' is already an owner, and if it is, the
list will wind up with a duplicate in owner. This is not an issue with
the change_admins.py script as it does check.

-- 
Mark Sapiro <m...@msapiro.net>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan

------------------------------------------------------
Mailman-Users mailing list Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Reply via email to