<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2712.300" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>download that file i put at <A 
href="http://sairys.bomb.net/sendmail-stats.tar.gz">http://sairys.bomb.net/sendmail-stats.tar.gz</A> 
and strip the ascii stuff from all the print statements at the 
bottom.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>create a file called 
stat.email.template</FONT></DIV>
<DIV><FONT face=Arial size=2>put the following in it</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>To: <A 
href="mailto:your@email.address.com">your@email.address.com</A></FONT></DIV>
<DIV><FONT face=Arial size=2>From: <A 
href="mailto:root@your.mailserver.com">root@your.mailserver.com</A></FONT></DIV>
<DIV><FONT face=Arial size=2>Subject: Nightly Stats</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>then</FONT></DIV>
<DIV><FONT face=Arial size=2>touch stat.email</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>then make a file called sendstat (chmod 
755)</FONT></DIV>
<DIV><FONT face=Arial size=2>#!/bin/sh</FONT></DIV>
<DIV><FONT face=Arial size=2>rm stat.email</FONT></DIV>
<DIV><FONT face=Arial size=2>cat /root/stat.email.template &gt; 
stat.email</FONT></DIV>
<DIV><FONT face=Arial size=2>/root/stats.pl &gt;&gt; stat.email</FONT></DIV>
<DIV><FONT face=Arial size=2>sendmail -t &lt; stat.email</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>then setup a cronjob for this to happen every 
night.</FONT></DIV>
<DIV><FONT face=Arial size=2>What this does is send you detailed stats about 
whats going on with your mail server at the time u specified for cronjob to 
start.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Includes total emails, viruses,spam as well as how 
much mail is in incoming queue and outgoing queue and how many sendmail 
processes for outgoing and incoming are currently running.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>PS. You might wanna consider running a forum, im a 
developer on OpenBB (<A href="http://www.openbb.net">http://www.openbb.net</A>) 
and can help with anything you might need. OBB needs MySQL and PHP. Its fast and 
powerful and a great way for us mailscanner junkies to 
communicate.</FONT></DIV></BODY></HTML>