![](https://secure.gravatar.com/avatar/e8182135be0245df69df7ddf7f70856a.jpg?s=120&d=mm&r=g)
As a list admin, I dream of a roster interface that would help me go fast when I have 10 people to subscribe and 10 to remove because they don't know better than "Reply"-ing to me.
I can make it up with php, with a box for search, another for "add users", another for "remove users", and so on ("change address").
However there's something that could be very useful, that would be "search fuzzy matches", for instance if <mr.bean@rezo.net> writes to me saying that he needs to be unsubscribed, I can't easily locate his subscription if it's under <bean@mail.rezo.net>. Any idea on how to do this?
-- Fil
![](https://secure.gravatar.com/avatar/034cc23803b867507129a884741dff85.jpg?s=120&d=mm&r=g)
- On 2004.07.15, in <20040715135923.GI24700@rezo.net>,
- "Fil" <fil@rezo.net> wrote:
As a list admin, I dream of a roster interface that would help me go fast when I have 10 people to subscribe and 10 to remove because they don't know better than "Reply"-ing to me.
I can make it up with php, with a box for search, another for "add users", another for "remove users", and so on ("change address").
However there's something that could be very useful, that would be "search fuzzy matches", for instance if <mr.bean@rezo.net> writes to me saying that he needs to be unsubscribed, I can't easily locate his subscription if it's under <bean@mail.rezo.net>. Any idea on how to do this?
This isn't very webby, but we use it a lot. (With 2500 lists, it really helps deal with those "please remove me from your list" messages.) It's probably terrible python, but it does the job.
usage: /opt/bin/grep_members.py [!] regex [list [...]] /opt/bin/grep_members.py [!] = address [list [...]]
In your example, I might do: % grep_members.py bean listname
Or, to find all lists that mr.bean is on: % grep_members.py bean
The second form is to find a precise match among the specified lists, or among all lists. It also DTRT if called as grep_owners.py instead.
-- -D. dgc@uchicago.edu NSIT::ENSS
![](https://secure.gravatar.com/avatar/3a85436b1cb29201a044dd955df31e8f.jpg?s=120&d=mm&r=g)
On Thu, 15 Jul 2004 15:59:24 +0200, Fil <fil@rezo.net> wrote:
However there's something that could be very useful, that would be "search fuzzy matches", for instance if <mr.bean@rezo.net> writes to me saying that he needs to be unsubscribed, I can't easily locate his subscription if it's under <bean@mail.rezo.net>. Any idea on how to do this?
The Find Member function on the Membership List admin page supports regex, which is likely as fuzzy as you'll get without hacking your own stuff on. If you searched on bean, or even more precisely bean@.*rezo.net, you should get back either address.
There's also ~mailman/bin/find_members for site admins, which will do similar matches across some or all lists on a machine. Useful for dealing with users who can't read and insist on sending "TAKE ME OFF YOUR LIST!11!11" messages to majordomo-owner on the 1st of each month.
Bryan
participants (3)
-
Bryan Fullerton
-
David Champion
-
Fil