[Mailman-Users] getting a subscriber's lists

Greg Ward gward at mems-exchange.org
Tue Oct 2 20:09:50 CEST 2001

On 02 October 2001, Kiat Huang said:
> Is there a way through the web interface or other means (say as the
> mailman admin, or a user not root (linux)) that can list all the lists a
> given user is subscribed to?

This works for me as root (using bash):
  cd ~mailman
  for list in lists/* ; do
    ./bin/list_members $list | grep -s $address && echo $list

Any user in group "mailman" should be able to run this as well.  It's
inefficient, but as long as you don't have 100 lists with 10000
subscribers each, it shouldn't be too painful.

Greg Ward - software developer                gward at mems-exchange.org
MEMS Exchange                            http://www.mems-exchange.org

More information about the Mailman-Users mailing list