Brad Knowles wrote:

>On 7/11/08, [EMAIL PROTECTED] wrote:
>
>>  I have a list that has a large number of members whose email domain
>>  has changes en mass. In particular, I need to change all of the
>>  subscribers @mmode.com to @txt.att.net. Is there a simple way to do
>>  this or am I going to have to delete and re-subscribe every one of
>>  them?
>
>You should be able to relatively easily fix these using a "with_list" 
>python script, or by dumping the entire list of subscribers to a 
>file, then editing the file, then re-importing the list of 
>subscribers.

If you have command line access, use Mailman's bin/clone_member to
actually change the addresses as that preserves all other member
options and settings.

Run

bin/list_members listname | grep @mmode.com > file

to get a list of addresses to be changed. Edit file to make a list of
commands like

bin/clone_member -r [EMAIL PROTECTED] [EMAIL PROTECTED]
bin/clone_member -r [EMAIL PROTECTED] [EMAIL PROTECTED]
...

and run it as a shell script.

-- 
Mark Sapiro <[EMAIL PROTECTED]>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan

------------------------------------------------------
Mailman-Users mailing list
[email protected]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: http://wiki.list.org/x/QIA9

Reply via email to