参加しているメーリングリストを調べる Mailman編
- February 11, 2007 9:08 PM
- Permalink
- Comment (0)
- Track Back (0)
覚え書き。
メーリングリスト管理システム Mailmanでメーリングリストを複数管理していると、どのユーザがどのメーリングリストに入っているかを把握するのが大変になってくる。そんな時に「find_member」
fedora core 5にyumでインストールした場合
/usr/local/mailman/bin/find_member [ユーザ名(正規表現)] を実行することで、あるユーザがどのメーリングリストに入っているかを表示してくれる。
以下、引数入れなかった時のヘルプ
Find all lists that a member's address is on.Usage:
find_member [options] regex [regex [...]]Where:
--listname=listname
-l listname
Include only the named list in the search.--exclude=listname
-x listname
Exclude the named list from the search.--owners
-w
Search list owners as well as members.--help
-h
Print this help message and exit.regex
A Python regular expression to match against.The interaction between -l and -x is as follows. If any -l option is given
then only the named list will be included in the search. If any -x option is
given but no -l option is given, then all lists will be search except those
specifically excluded.Regular expression syntax is Perl5-like, using the Python re module. Complete
specifications are at:http://www.python.org/doc/current/lib/module-re.html
Address matches are case-insensitive, but case-preserved addresses are
displayed.
Search regular expression required








Comment & Track Back
Track Back URL