[Mailman-Users] Mass change user's email address

Manuel Vacelet manuel.vacelet at gmail.com
Tue Feb 17 20:27:15 CET 2009


Hum it's just what I need, perfect !

It happens to be the only mailman command I didn't carefully study
because I though it wouldn't be useful in my context (based on it's
name) :)

Many thanks to both of you,
Cheers,
Manuel

On Tue, Feb 17, 2009 at 7:23 PM, Mark Sapiro <mark at msapiro.net> wrote:
> Manuel Vacelet wrote:
>>
>>I've googled a bit and browsed the FAQ but I didn't find the answer to
>>my question:
>>I there a way to mass change emails in all the mailing lists on a given server ?
>
>
> Yes, but only one address at a time.
>
>
>>I'm a mailman site admin and I have a lot of users that had their
>>email changed following a re-branding of their company
>>(john.doe at test.com -> john.doe at example.com). I have the map "old email
>>-> new email" and I'm looking for a way to update the membership of
>>the lists.
>>
>>Is there a well known way to do it or do I have to script something
>>around "add_members / remove_members" ?
>
>
> You have to script it, but use bin/clone_member which will just change
> the address without changing any other settings.
>
> bin/clone_member --admin --remove old_addr new_addr
>
> will change old_addr to new_addr on all lists including owner and
> moderator addresses.
>
> See bin/clone_member --help
>
> You still have to script it to run the command once for each old/new
> pair, but clone_member is the command to use.
>
> --
> Mark Sapiro <mark at msapiro.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