isolating mailman attributes/variables

Hi,
Hi
I have a few hundred lists. During migration some of my reply to variables were over written with wrong reply to address. This didn't happen to all of the lists but those that did have this overwrite need to be corrected. (All my lists have explicit reply to).
For example: List A@abc.xyz.com has an explicit reply to A@xyz.com, List B@abc.xyz.com has an explicit reply to B@xyz.com.
Now C@abc.xyz.com should have an explicit reply to C@xyz.com but somehow wound up with B@xyz.com as it's reply to address. In addition, B@xyz.com was written to some other lists as well.
Is there a way to weed out which lists have a given reply to address? I don't really want to walk through each list to find out which list contains the wrong variable.
We have ./find_member. Is there something like ./find_variable? I tried to use config_list to print out all my lists into one file so I can grep the reply to info but unfortunately each time the script looped to the next list it overwrote the results of the last result.
Thanks

Carconni wrote:
I have a few hundred lists. During migration some of my reply to variables were over written with wrong reply to address. This didn't happen to all of the lists but those that did have this overwrite need to be corrected. (All my lists have explicit reply to).
For example: List A@abc.xyz.com has an explicit reply to A@xyz.com, List B@abc.xyz.com has an explicit reply to B@xyz.com.
Now C@abc.xyz.com should have an explicit reply to C@xyz.com but somehow wound up with B@xyz.com as it's reply to address. In addition, B@xyz.com was written to some other lists as well.
It seems from your example that just setting all your lists' reply_goes_to_list to 'This list' would do what you want without bothering with reply_to_address.
Is there a way to weed out which lists have a given reply to address? I don't really want to walk through each list to find out which list contains the wrong variable.
You could put the following 3-line script:
begins on next line------------------------------------
def find_reply_to_address(mlist):
print 'List: %s: reply_to_address = %s' %
(mlist.real_name, mlist.reply_to_address)
ends on previous line----------------------------------
in the file bin/find_reply_to_address.py and then run
bin/withlist -a -r find_reply_to_address > output_file
Of course, you could put other logic in the script to only print the list name if reply_to_address = 'b@xyz.com' or even to figure what the address should be and change it, but the latter requires locking, saving and unlocking the list in the script.
-- Mark Sapiro <msapiro@value.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
participants (2)
-
Carconni
-
Mark Sapiro