Xref: utzoo comp.mail.sendmail:2767 comp.lang.perl:4273 Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!ccut!wnoc-tyo-news!sranha!sran230!sran84!utashiro From: utashiro@sran84.sra.co.jp (Kazumasa Utashiro) Newsgroups: comp.mail.sendmail,comp.lang.perl Subject: Re: Tools to analyze mail log Message-ID: <298@sran84.sra.co.jp> Date: 27 Feb 91 04:42:33 GMT References: Followup-To: comp.mail.sendmail Organization: Software Research Associates, Inc., Japan Lines: 27 In article ehrlich@cs.psu.edu (Dan Ehrlich) writes: >> Does anyone have or know of any tools that will analyze a sendmail log? I >> am looking for statistics like number of messages/bytes to/from by >> host/user. If there is something out there that will do this (do not really >> care if its C code, awk, perl, etc) I would appreciate hearing from you. I have a tool which reports from/to list from syslog file like this: Feb 27 02:05 root -> utashiro Feb 27 04:01 utashiro -> utashiro Feb 27 04:59 root@sragwa.sra.co.jp -> utashiro@sran84.sra.co.jp Feb 27 06:23 root@sranha.sra.co.jp -> utashiro@sran84.sra.co.jp Feb 27 06:23 root@sranha.sra.co.jp -> utashiro@sran84.sra.co.jp ... I think this is not exactly what you want, but it could be a base for your own command. It is available for anonymous ftp from sh.wide.ad.jp(133.4.11.11):~ftp/pub/fromto.0.1.shar This command, fromto, is written in perl and come with brief man page. Since I didn't touch this command for a long time, some of its features might be out-of-date. --- K. Utashiro utashiro@sra.co.jp