MRTG on MailScanner 3.23-4

Mike Kercher mike at CAMAROSS.NET
Sun Oct 6 23:41:04 IST 2002


I run

./sendmail.logs.pl mail
./sendmail.logs.pl spam
./sendmail.logs.pl virus

To get output...

-----Original Message-----
From: MailScanner mailing list [mailto:MAILSCANNER at JISCMAIL.AC.UK] On
Behalf Of Brian Chivers
Sent: Sunday, October 06, 2002 3:09 PM
To: MAILSCANNER at JISCMAIL.AC.UK
Subject: Re: MRTG on MailScanner 3.23-4


I've tried to get this running but when I run the sendmail.logs.pl at a
command prompt using

perl sendmail.logs.pl

I get the following
0
Not Applicable
BB Mail Servers

I understand the last bit is because I haven't altered this in the
script but not the other two lines. I have ensured that the script is
looking in the correct place for mailog

What text should I be looking for in /var/log/mailog to ensure that they
are being tagged as Spam etc.

Help
Brian Chivers
Portsmouth College
----- Original Message -----
From: "David While" <David.While at UCE.AC.UK>
To: <MAILSCANNER at JISCMAIL.AC.UK>
Sent: Sunday, October 06, 2002 3:15 PM
Subject: Re: MRTG on MailScanner 3.23-4


> 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
> >
>
> --
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
>



--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



More information about the MailScanner mailing list