Re: [Mailman-Users] Can't Delete Corrupt Subscriber Address

If you maintain people's names on the list, then the same procedure can be used to remove someone based on some string in the name, in case you know the name but not the address (I often get such requests):
bin/list_members -f <list> | grep -e "<string>"| wc <count check> bin/list_members -f <list> | grep -v -e "<string>" > <list> bin/list_members -f <list> <list>
All this can, of course, be worked into a simple script that also does the count check and that will return 'ambiguous', 'OK', 'not found' as appropriate. Then you should be able to remove someone with just
delete_member <list> <some_string_of_characters>
As for adding to the FAQ, I'll respectfully bow out and leave it to more experienced users to do if they deem the above an appropriate addition.
Yours,
Allan
At 9:42 -0500 2/26/06, Tim wrote:
--
| Allan Hansen, Ph.D. | | P.O. Box 2423, Cypress, CA 90630, U.S.A. | | | | Work: Home: | | Phone: +1-714/952-6015 +1-714/875-8870 | | Fax: +1-714/952-6746 | | Email: allan.hansen@ugs.com allan@hansen-family.us | | WWW: http://www.ugs.com http://www.hansen-family.us/ | | | |_Anything is possible with the right tools and right information_|
| Allan Hansen, Ph.D. | | P.O. Box 2423, Cypress, CA 90630, U.S.A. | | | | Work: Home: | | Phone: +1-714/952-6015 +1-714/875-8870 | | Fax: +1-714/952-6746 | | Email: allan.hansen@ugs.com hansen@rc.org | | WWW: http://www.ugs.com http://www.rc.org/ | | | |_Anything is possible with the right tools and right information_|
participants (1)
-
Allan Hansen