Come to think of it ... there were some perl scripts packaged in with some of
the MajorCool code last year (can't say that it's part of the current version or
not; I haven't looked in awhile) which built the majordomo aliases file,
including a script as a recipient of each list which went something like:
"|head -1 >>$LISTDIR/$LIST.count
Then all you had to do was "wc -l $LISTDIR/$LIST.count" to get the count of
messages sent to that particular list.
- Burt Juda
Gunnar Lindberg wrote:
> Or you could create a mail alias that simply counts mail sent to
> it and then subscribe that alias to your own Majorodomo list.
> Gunnar Lindberg
> >From majordomo-users-owner@GreatCircle.COM Sat Jan 16 08:09:55 1999
> >Cc: majordomo-users@GreatCircle.COM
> >Message-ID: <369FC5D2.D05099C5@lucent.com>
> >Date: Fri, 15 Jan 1999 17:48:50 -0500
> >From: Burt Juda <firstname.lastname@example.org>
> >To: Ian Douglas <email@example.com>
> >Original-CC: majordomo-users@GreatCircle.COM
> >Subject: Re: message counting?
> >Ian Douglas wrote:
> >> Not sure if this is more of a system-level question...
> >> Is there any easy way of counting how many messages have been sent through
> >> Majordomo for a specific mailing list?
> >> I'm just curious to know how some services can charge monthly fees based on
> >> the volume of Email as opposed to the number of subscribers.
> >Scripts can be written to parse and tally sendmail's logs (typically in
> >/var/log/syslog), comparing destinations against the names of majordomo's lists.
> > - Burt Juda