Another thing you might like..
Kelly Hamlin
fizz at BOMB.NET
Thu Jan 24 23:15:19 GMT 2002
download that file i put at http://sairys.bomb.net/sendmail-stats.tar.gz and strip the ascii stuff from all the print statements at the bottom.
create a file called stat.email.template
put the following in it
To: your at email.address.com
From: root at your.mailserver.com
Subject: Nightly Stats
then
touch stat.email
then make a file called sendstat (chmod 755)
#!/bin/sh
rm stat.email
cat /root/stat.email.template > stat.email
/root/stats.pl >> stat.email
sendmail -t < stat.email
then setup a cronjob for this to happen every night.
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.
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.
PS. You might wanna consider running a forum, im a developer on OpenBB (http://www.openbb.net) 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.mailscanner.info/pipermail/mailscanner/attachments/20020124/b431a027/attachment.html
More information about the MailScanner
mailing list