There were two basic approaches recommended: get Tom Christianson's
Perl script 'ssl' (Summarise Sendmail Logs), or rolling your own
program. Just about everyone who had their own program had used perl.
One respondant had written his own miler which was called via sendmail.
This allowed great flexibility but was alittle complex for my scenario.
ssl is available via anonymous ftp://ftp.perl.com/pub/perl/scripts/ssl
and several other sites. It produces a list sorted by user giving the
number of messages and the number of bytes. I'm going with this using a
couple of minor modifications.
Thanks to:
Glenn Rickersey <glennr@wormald.com.au>
stephent@bain.oz.au (Stephen Tremain)
blymn@awadi.com.au (Brett Lymn)
johnc@csdc.toshiba.com.au (John Creasey)
Anatoly.Lisovsky@kamaz.kazan.su (Anatoly M. Lisovsky)
Jeff Greer 5-3648 18-F-5 <jg3314@ainfs1.sbc.com>
regards,
-- Glenn Satchell glenn@uniq.com.au | There's a fine line Uniq Professional Services Pty Ltd ACN 056 279 335 | between fishing and PO Box 70, Paddington, NSW 2021, (Sydney) Australia | standing on the shore Phone 02 380 6360 Pager 016 287 000 Fax 02 380 6416 | looking like an idiot.> From sun-managers-request@uniq.com.au Sat Nov 11 07:25 EST 1995 > Date: Thu, 9 Nov 1995 21:49:48 +1100 > From: Glenn.Satchell@uniq.com.au (Glenn Satchell - Uniq Professional Services) > > A customer has several overseas offices and they want to be able to > look at the volume of email they send to and receive from each of these > particular sites. Ideally, they'd like to get a daily total for each of > several specific domains. > > Sendmail puts all the required information in /var/log/syslog. > Before I start re-inventing the wheel, has anyone written a program > that will pull this type of information out of the syslog file? > > They're running SunOS 4.1.3_U1 on a SS1 which relays mail via uucp to their > ISP. Running IDA Sendmail 5.67b. > > I'd rather not start hacking the sendmail source if at all possible. > I've also looked at the IDA mailstats program, but this just shows > which mailers were used (in our case TCP and UUCP). >
This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:10:35 CDT