Juan Miscaro wrote:
> --- Ryan Steele <[EMAIL PROTECTED]> wrote:
>
>   
>> Juan Miscaro wrote:
>>     
>>> Is there any way to delete subscriber addresses over multiple lists
>>> easily (command line)?  I am using Mailman 2.1.8 on OpenBSD 4.0.
>>>
>>>   
>>>       
>> Maybe something like this for a single user:
>> for list in `bin/list_lists | awk '{print $1}'` do;
>>      bin/remove_members $list username
>> done
>>     
>
> Can't I just go
>
> $ bin/remove_members --fromall [EMAIL PROTECTED]
>
> ?
>
>   

Yes, but only if you want them removed from every list.  Your request 
indicated to me you only wanted to remove them from a subset of all the 
lists - e.g., you said "multiple lists", not "all lists".

>> ...or this for multiple users
>> users='foo bar baz'
>> for list in `bin/list_lists | awk '{print $1}'` do;
>>      bin/remove_members $list users
>> done
>>
>>     
>>> I also want to be able to remove all addresses from particular
>>>       
>> domains.
>>     
>>>   
>>>       
>> You mean, remove all members from all lists belonging to a particular
>> domain name?
>>     
>
> Yes, that is what I mean.
>
> I want to be able to go
>
> $ bin/remove_members --fromall [EMAIL PROTECTED]
>
> but I read on the mailman FAQ that regexp/globs are not permitted.
>
> Juan
>
>   

You want to use bin/withlist, which will support regular expressions.

>
>       Ask a question on any topic and get answers from real people. Go to 
> Yahoo! Answers and share what you know at http://ca.answers.yahoo.com
>   


-- 
Ryan Steele
Systems Administrator

------------------------------------------------------
Mailman-Users mailing list
Mailman-Users@python.org
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