[Mailman-Users] Determine List Bandwidth

Bryan Carbonnell carbonnb at gmail.com
Mon Jan 23 20:21:09 CET 2006

On 22/01/06, Brad Knowles <brad at stop.mail-abuse.org> wrote:
> At 1:27 PM -0500 2006-01-22, Bryan Carbonnell wrote:
> >>  > Is there any facility within Mailman to determine the bandwidth used
> >>  > by a specific list?
> >>
> >>  Since there is no inbuilt way to do this with Mailman, I wrote a
> >>  Python script to parse the POST log and take the size of the posts to
> >>  a specific list and then multiply that by the number of active
> >>  subscribers at the time this script was run.

>         Thinking about this some more, this sounds kind of like what I'm
> doing with the "MailMan Daily Status Report (mmdsr)" script, which
> you can find at

Actually your script gave me the idea that it may be possible.

> I'm working to get this included in the contrib/ directory of
> Mailman, so that everyone will get a copy of it with the tarball, as
> opposed to having to download it separately.

Hopefully it'll be there with v2.1.8. It's a great script.

>         Of course, my stuff is written in Bourne shell and not Python,
> but there might be some stuff there that you find useful.  I
> recommend you check it out and see what you think.

I'm using it now and its working wonders. The only thing I have
noticed was when I rotated the logs, the e-mailed results would all be
0 or empty depending on if it was supposed to be a string or  a

It takes a restart of Mailman to get the stats going again.

>         If you find anything useful and that you want to incorporate into
> your tool, I would ask that you please let me know, although that
> isn't required according to the terms of the BSD-style license that I
> use.

I used your idea that the script can e-mail the results. I looked at
what you did and then figured out how to send an e-mail via Python.

>         If you've got stuff that you think I might find interesting, I'd
> appreciate getting more information from you on the kind of output
> you think is useful and how you're creating it.

Will do.

Bryan Carbonnell - carbonnb at gmail.com
Life's journey is not to arrive at the grave safely in a well
preserved body, but rather to skid in sideways, totally worn out,
shouting "What a great ride!"

More information about the Mailman-Users mailing list