Christopher Adams wrote:

>Does remove_members allow wild cards?


No


>I am thinking now that I probably need to script this. 

#! bin/sh
for list in `bin/list_lists --bare`
do bin/list_members $list | grep @example\.com$ |\
 bin/remove_members --fromall --file=-
done

where example.com is the member domain to remove. The --fromall isn't
required and doesn't change the final result, but it shortens the
later lists from list_members.

-- 
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://www.python.org/cgi-bin/faqw-mm.py
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://www.python.org/cgi-bin/faqw-mm.py?req=show&amp;file=faq01.027.htp

Reply via email to