[Mailman-Users] Last Email

Mark Sapiro msapiro at value.net
Mon Apr 16 00:29:48 CEST 2007


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 <msapiro at value.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