[Mailman-Users] changing email address on multiple lists

Mark Sapiro msapiro at value.net
Wed Jun 13 16:59:28 CEST 2007


michael at livingroutes.org wrote:

>I work for an organization that maintains about 80 different private
>lists. Awhile back, we had our admissions director manually apply to all
>80 lists which took her about 2 hours and she has since left the
>organization. Is there any way to change her email address on all the
>lists simultaneously? What's the best way of getting another user onto all
>the lists?


There are several ways to do this.

If you know her password to any list, or the site admin password, log
on to her user options page for the list. From there, you can change
name and address globally (but not if you authorized with the list
admin password - only the user's or site admin password works for a
global change).

If you have command line access to the Mailman installation, you can
use bin/remove_members to remove her from all the lists with one
command an then use bin/add_members in a shell script to add a new
member to all lists. E.g. (for illustration only, may contain typos,
you may want more options on the add_members command)

#! /bin/bash
file=`mktemp`
echo Real Name \<user at example.com\> > $file
for list in `bin/list_lists -b`
do bin/add_members -r $file $list
done
rm $file

You might also use the withlist script at
<http://veenet.value.net/~msapiro/scripts/change_member_address.py>
(mirrored at
<http://fog.ccsf.edu/~msapiro/scripts/change_member_address.py>) to
change the address on all lists, but as it is, it won't change the
name.

-- 
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