I have some internal mailman mailing lists on my intranet. The company domain name has changed.
Can I automate the process of resigning '[email protected]' and assigning '[email protected]' from/to the list?
I have 11 lists, the busiest one has 17 members. So, not huge, but a huge pain to deal with manually.
Mailman has many commands to dump information and manipulate the lists. These are the commands that should be relevant if you are asking how to change the subscribed addresses of users from one domain to another.
Given those commands you should probably be able run through a simple process described by this psuedo shell code. You'll obviously want to clean this up to actually work and test it first. I don't have a system available at the moment I can test on.
Using Zoredache's excellent suggestions, I ended up processing each list in 3 stages, one for regular members and one for digest members, then a final pass to remove the old addresses. So, for each list I did this:
The PATH statement is needed because the mailman binaries are in an uncommon directory (/usr/lib/mailman/bin on my Fedora system).