Andrew Dunstan noticed that lots of mailing lists on PGFoundry had pending messages. I checked RubyForge to see if we had the same problem, and yup, we've got 313 MB of pending messages.
Andrew posted this series of shell commands to tot up the worst offenders:
So I wrapped it in a little Ruby script that creates the data on one run, puts it in a file, and then sends emails to the list admins on the next run:
Note the little gizmo to run the Mailman list_owners script and get multiple owners... fun stuff! And as I type this up, folks are cleaning up their lists - that directory's gone from 313 MB to 298 MB already!
Update: Also, Lyle Johnson asked about discard non-member postings. To do that, go to your admin page, click 'Privacy Options' and click on 'Sender filters'. At the bottom of the page there's a 'generic_nonmember_action' option at the bottom of the page. Just select 'discard' to, well, discard non-member postings. Alternatively there's the DEFAULT_MAX_DAYS_TO_HOLD option which can discard postings after 10 days or whatever; that's available now that we've upgraded to 2.1.6.