[Mailman-Users] Last Email

Matt Zimmerman matt.l.zimmerman at gmail.com
Tue Apr 17 16:58:15 CEST 2007


Thanks for the script.

The only error I am getting is:

AttributeError: 'module' object has no attribute 'py'

Does this make any sense?

On 4/15/07, Mark Sapiro <msapiro at value.net> wrote:
>
> 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