[Mailman-Users] deleting users over multiple lists

Juan Miscaro scry_mr at yahoo.ca
Mon Jun 4 16:09:12 CEST 2007


--- Ryan Steele <steele at agora-net.com> 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 user at example.com

?

> ...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 *@example.com

but I read on the mailman FAQ that regexp/globs are not permitted.

Juan



      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


More information about the Mailman-Users mailing list