Matt Zimmerman wrote:
>
>I have about 1200 lists in mailman 2.1.8. I looking to try and clean these
>lists up. Has anybody written any scripts to look through the archives and
>find out when the last email was sent to each list.
Save the data between the dashed lines as bin/last_post_date.py and run
bin/withlist -a -r last_post_date
----------------------------------------------------------------
import time
def last_post_date(mlist):
print 'list - %s: last post - %s' % (mlist.real_name,
time.ctime(mlist.last_post_time))
----------------------------------------------------------------
--
Mark Sapiro <[EMAIL PROTECTED]> The highway is for gamblers,
San Francisco Bay Area, California better use your sense - B. Dylan
------------------------------------------------------
Mailman-Users mailing list
[email protected]
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