[Mailman-Users] Amount of messages in a .mbox file

Barry A. Warsaw barry at python.org
Fri Sep 20 15:42:10 CEST 2002

>>>>> "DT" == Danny Terweij <danny at terweij.nl> writes:

    DT> I have a .mbox file of 890Mb in size. I want to know how many
    DT> messages are in it and how much messages per month.

Take a look at bin/cleanarch in the MM2.1 source.  It does more than
you're asking for here, but should provide enough example to write
your own script (which in Python could probably be under 30 lines).


More information about the Mailman-Users mailing list