Matt Emerson wrote: > >We created a mailing list called "list-owners", which we update once >a day via the following command. > >/usr/share/mailman/bin/withlist -q -a -r printowners | tr A-Z a-z | >sort | uniq | /usr/share/mailman/bin/sync_members -w=no -g=no -f - >list-owners >>/tmp/list-owner-updates > >The printowners helper script, which we put in /usr/share/mailman/bin/ >printowners.py, contains the following. (It's probably better to >keep local stuff out of Mailman's bin directory, but since I'm a >python caveman, I just put the local script there anyway.) > >#!/usr/bin/python > >def printowners(m): > for i in m.owner: > print i
You could probably replace the /usr/share/mailman/bin/withlist -q -a -r printowners | tr A-Z a-z | sort | uniq part of this pipe with /usr/share/mailman/bin/list_owners -- Mark Sapiro <[EMAIL PROTECTED]> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan ------------------------------------------------------ Mailman-Users mailing list Mailman-Users@python.org http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org Security Policy: http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq01.027.htp