Thanks, Mark. I was just starting to construct a script, but yours is much
more streamlined and works just fine. Thanks. Anyone else dealing with
zeusmail.org ?

On Mon, Jan 4, 2010 at 5:25 PM, Mark Sapiro <m...@msapiro.net> wrote:

> Christopher Adams wrote:
>
> >A spammer has subscribed completely unique addresses from the same domain
> to
> >many of the mailing lists that we host. Is there a way to unsubscribe
> >everything from this domain without writing a script that will do it?
>
>
> If you mean 'automatically' as opposed to just manually going through
> the lists and unsubscribing addresses, no. However, there are lots of
> very simple scripts. Consider
>
> #!/bin/sh
> for list in `bin/list_lists --bare`; do
>    bin/list_members $list | grep example.com | \
>    bin/remove_members -f - -n -N $list
> done
>
> where example.com is the domain.
>
> --
> Mark Sapiro <m...@msapiro.net>        The highway is for gamblers,
> San Francisco Bay Area, California    better use your sense - B. Dylan
>
>


-- 
Christopher Adams
adam...@gmail.com
------------------------------------------------------
Mailman-Users mailing list Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Reply via email to