Web www.gerd-tentler.de
Version 1.2 (released Feb. 3, 2006) [Download]


Use this script to analyse sendmail logfiles created by the syslog daemon. It was tested with SuSE Linux 8.2. The generated report is available in HTML and ASCII format. It looks like this:

HTML Format ASCII Format

The ASCII format is useful if this class is included into a script that you run from the command line (e.g. "perl logcheck.pl").

Please note: By default, webservers like apache etc. don't have permission to read the sendmail logfile. You could copy the logfile into a password-protected directory within your webserver's document root, and change the permissions so that your webserver can access this file. Then, use the LOGCHECK-class with this file. For security reasons, you should not make the sendmail logfile world-readable.