[Mailman-Users] Maximum number of members per list
Mark Sapiro
mark at msapiro.net
Mon Jun 7 16:34:20 CEST 2010
Sergi wrote:
>
>thanks for the reply, but I was thinking not on a list administration
>context but on a whole mailman server administration context, something
>set at list creation time and unavailable for a list administrator.
>I am thinking of an ugly method of watching config.pck files, counting
>members and taking action if thresholds are reached.
#!/bin/bash
cd ~mailman
for list in `bin/list_lists --bare`; do
if [ `bin/list_members $list | wc -l` -gt 200 ] ; then
echo $list has over 200 members
fi
done
--
Mark Sapiro <mark at msapiro.net> The highway is for gamblers,
San Francisco Bay Area, California better use your sense - B. Dylan
More information about the Mailman-Users
mailing list