Hello, it's my first post in this mailing list. I'm looking fot a tool (a simple script, or something like it) to analyse the mailman log in order to know the volume of the work managed by mailman for each list configured in it (how many post per day, how many new subscrive, etc...). Is there something that could help me?
Thanks a lot for you kind answer and help.
Best Regards, Roger
On 3/2/06, Roger Favero <roger@apf.it> wrote:
it's my first post in this mailing list. I'm looking fot a tool (a simple script, or something like it) to analyse the mailman log in order to know the volume of the work managed by mailman for each list configured in it (how many post per day, how many new subscrive, etc...). Is there something that could help me?
Have a look at the MMDSR script at Sourceforge in the files section, IIRC. It sounds like this is a perfect fit for what you need.
I'd give you the URL, but I can't get to Sourceforge at teh moment.
-- Bryan Carbonnell - carbonnb@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!"
Bryan Carbonnell wrote:
On 3/2/06, Roger Favero <roger@apf.it> wrote:
I'm looking fot a tool (a simple script, or something like it) to analyse the mailman log in order to know the volume of the work managed by mailman for each list configured in it (how many post per day, how many new subscrive, etc...). Is there something that could help me?
Have a look at the MMDSR script at Sourceforge in the files section, IIRC. It sounds like this is a perfect fit for what you need.
I'd give you the URL, but I can't get to Sourceforge at teh moment.
It's Mailman patch 1123383 at <http://sourceforge.net/tracker/index.php?func=detail&aid=1123383&group_id=103&atid=300103>.
It's also referenced in the FAQ at <http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq01.030.htp>.
And, since 2.1.7 it is in the contrib directory in the distribution, although the one on Sourceforge is more up to date than the 2.1.7 distribution.
-- Mark Sapiro <msapiro@value.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
Mark Sapiro ha scritto:
It's Mailman patch 1123383 at <http://sourceforge.net/tracker/index.php?func=detail&aid=1123383&group_id=103&atid=300103>.
It's also referenced in the FAQ at <http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq01.030.htp>.
And, since 2.1.7 it is in the contrib directory in the distribution, although the one on Sourceforge is more up to date than the 2.1.7 distribution.
Hello, thanks a lot for you answer. I downloaded the script and, after a few modification for customisation reason, it runs very well. But now I have a problem: I found out that my mailman post log is stop to the begin of february and I don't know why. The other log files (smtp, smtp-failure, ubscribe, vette, ......) are correctly updated to today. What could be happen? For sure I wrong somethig, but I can not understand what! :-(
Thanks a lot in advance for you kind answer. Roger
Roger Favero said the following on 3/3/2006 8:57 AM:
thanks a lot for you answer. I downloaded the script and, after a few modification for customisation reason, it runs very well. But now I have a problem: I found out that my mailman post log is stop to the begin of february and I don't know why. The other log files (smtp, smtp-failure, ubscribe, vette, ......) are correctly updated to today. What could be happen? For sure I wrong somethig, but I can not understand what! :-(
Thanks a lot in advance for you kind answer.
Are you rotating your Mailman logs with newsyslog or some other log rotator? If so, you have to be sure that you issue a HUP to the master-qrunner process.. for Newsyslog I do something like this (it's a single line entry in newsyslog.conf):
/usr/local/mailman/logs/mischief mailman:mailman 664 7 * @T000005 J /usr/local/mailman/data/master-qrunner.pid
Hope this helps!
Best, --Glenn
"They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety." ~Benjamin Franklin, Historical Review of Pennsylvania, 1759
Glenn Sieb wrote:
for Newsyslog I do something like this
And for logrotate, you need something like
postrotate
/var/mailman/bin/mailmanctl reopen >/dev/null 2>&1 || true
endscript
in the block for the Mailman logs.
-- Mark Sapiro <msapiro@value.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
At 1:19 PM +0100 2006-03-02, Roger Favero wrote:
I'm looking fot a tool (a simple script, or something like it) to analyse the mailman log in order to know the volume of the work managed by mailman for each list configured in it (how many post per day, how many new subscrive, etc...). Is there something that could help me?
Go to the Mailman FAQ Wizard at
<http://www.python.org/cgi-bin/faqw-mm.py> and search for "log analysis".
There's lots of good stuff in the FAQ Wizard. I recommend you go
to the index of all entries at <http://www.python.org/cgi-bin/faqw-mm.py?req=index> and read through as many as you can, and continue doing so until you've at least glanced at every entry in the FAQ. Most of the information probably won't stick, but you should at least get a good feel for what kind of information is there.
There's also lots of good stuff in the archives of the mailing
list. FAQ entry 1.18 should provide you enough information so that you can search the archives.
-- Brad Knowles, <brad@stop.mail-abuse.org>
"Those who would give up essential Liberty, to purchase a little temporary Safety, deserve neither Liberty nor Safety."
-- Benjamin Franklin (1706-1790), reply of the Pennsylvania
Assembly to the Governor, November 11, 1755
LOPSA member since December 2005. See <http://www.lopsa.org/>.
participants (5)
-
Brad Knowles
-
Bryan Carbonnell
-
Glenn Sieb
-
Mark Sapiro
-
Roger Favero