MRTG on MailScanner 3.23-4

David While David.While at UCE.AC.UK
Sun Oct 6 15:15:49 IST 2002


As requested

sendmail.logs.pl can be found at
http://www.boys-brigade.org.uk/mrtg/sendamil.logs.pl
mrtg.cfg can be found at http://www.bys-brigade.org.uk/mrtg/mrtg.cfg

The sendmail.logs.pl works on the current mail log file (I use Redhat 7.3
so the log file is /var/log/maillog) and produces a temporary file
containing the last hours entries - it then analyses this as per Julian's
orginal and passes them to mrtg for graphing. If I were being a
perfectionist :) the graphs are actually an hour out since they are working
on historical data but what I am interested in is trends etc they are OK
for my needs. The advantage of these is that they will work with a standard
Redhat 7/3 installation with no messing about with log files etc.

-----------------------------------------------------------------
David While
Technical Development Manager
Faculty of Computing, Information & English
University of Central England
Tel: 0121 331 6211



                      Mike Kercher
                      <mike at CAMAROSS.NE        To:       MAILSCANNER at JISCMAIL.AC.UK
                      T>                       cc:
                      Sent by:                 Subject:  Re: MRTG on MailScanner 3.23-4
                      MailScanner
                      mailing list
                      <MAILSCANNER at JISC
                      MAIL.AC.UK>


                      06/10/2002 15:06
                      Please respond to
                      MailScanner
                      mailing list







Please post a link to your sendmail.logs.pl and the mrtf.cfg file so we
can compare notes :)

Mike


-----Original Message-----
From: MailScanner mailing list [mailto:MAILSCANNER at JISCMAIL.AC.UK] On
Behalf Of David While
Sent: Sunday, October 06, 2002 9:03 AM
To: MAILSCANNER at JISCMAIL.AC.UK
Subject: Re: MRTG on MailScanner 3.23-4


I have modified Julian's sendmail.logs.pl and mrtg.cfg to work on the
log file and update hourly. To see the results go to
http://www.boys-brigade.org.uk/mrtg/


-----------------------------------------------------------------
David While
Technical Development Manager
Faculty of Computing, Information & English
University of Central England
Tel: 0121 331 6211



                      Remco Barendse
                      <mailscanner at BARE        To:
MAILSCANNER at JISCMAIL.AC.UK
                      NDSE.TO>                 cc:
                      Sent by:                 Subject:  Re: MRTG on
MailScanner 3.23-4
                      MailScanner
                      mailing list
                      <MAILSCANNER at JISC
                      MAIL.AC.UK>


                      04/10/2002 21:01
                      Please respond to
                      MailScanner
                      mailing list







Hi Matt!

Could you please post the new sendmail.logs.pl file or a link to it?

Would like to try it myself too! Does it still require that the maillogs
need to be rotated daily?

Thanx!
Remco

On Fri, 4 Oct 2002, Matt wrote:

> I finally got sendmail.logs.pl to work on Mailscanner 3.23-4 by
> changing
the
> log directory and the search string for spam.  Now, how do I get MRTG
> to
do
> anything with this?  I have MRTG setup on my Raq to monitor my T1's
> but
have
> not idea on this.
>
> Matt
>



More information about the MailScanner mailing list