Sendmail WebStats (sort of a mod)

Kelly Hamlin fizz at BOMB.NET
Fri Jan 25 22:53:28 GMT 2002


Actually since this does some massive cpu usage for about 20 seconds, i found a better alternative :)
like u mentioned below, just have cron do /cgi-bin/stats.pl > /http/stats.html or the equivelent every 5 or 10 minutes. That way there is no huge load on server every time you refresh.
Hell you could prolly do every 1 minute and be fine, something like
*/1 * * * * /path-toscript/stats.pl > /path-to-webpages/pagename.html

  ----- Original Message ----- 
  From: Sander Jonkers 
  To: MAILSCANNER at JISCMAIL.AC.UK 
  Sent: Friday, January 25, 2002 5:21 PM
  Subject: Re: Sendmail WebStats (sort of a mod)


  > oops, u may have to edit it to point to your maillogs, sorry, knew i
  > forgot something :)

  It must be something else: I also get a white page, but the maillog dir and
  other settings are OK. Proof: 'perl stats.pl > test.html' from the
  commandline generates a perfect overview in test.html.

  Isn't it a CGI-BIN/rights setting that must be set or done?

  Sander


  >
  >   ----- Original Message -----
  >   From: Steve Evans
  >   To: MAILSCANNER at JISCMAIL.AC.UK
  >   Sent: Friday, January 25, 2002 4:31 PM
  >   Subject: Re: Sendmail WebStats (sort of a mod)
  >
  >
  >   So all I have to do is put it in my cgi-bin?  That's it?  If so all I
  > get is a blank page.
  >
  >   Steve
  >     -----Original Message-----
  >     From: Kelly Hamlin [mailto:fizz at BOMB.NET]
  >     Sent: Thursday, January 24, 2002 5:07 PM
  >     To: MAILSCANNER at JISCMAIL.AC.UK
  >     Subject: Sendmail WebStats (sort of a mod)
  >
  >
  >     For those interested
  >     http://sairys.bomb.net/sendmail-webstats.tar.gz
  >
  >     put in your cgi-bin dir and browse to it.
  >
  >     produces stats to the web, must have apache (or some httpd daemon
  > running)
  >
  >     To see a sample, http://sairys.bomb.net/sample.gif
  >
  >

  --
  Sent through GMX FreeMail - http://www.gmx.net


------------------------------------------------------------------------------


  oops, u may have to edit it to point to your maillogs, sorry, knew i forgot something :)

    ----- Original Message ----- 
    From: Steve Evans 
    To: MAILSCANNER at JISCMAIL.AC.UK 
    Sent: Friday, January 25, 2002 4:31 PM
    Subject: Re: Sendmail WebStats (sort of a mod)


    So all I have to do is put it in my cgi-bin?  That's it?  If so all I get is a blank page.

    Steve
      -----Original Message-----
      From: Kelly Hamlin [mailto:fizz at BOMB.NET]
      Sent: Thursday, January 24, 2002 5:07 PM
      To: MAILSCANNER at JISCMAIL.AC.UK
      Subject: Sendmail WebStats (sort of a mod)


      For those interested
      http://sairys.bomb.net/sendmail-webstats.tar.gz

      put in your cgi-bin dir and browse to it.

      produces stats to the web, must have apache (or some httpd daemon running)

      To see a sample, http://sairys.bomb.net/sample.gif

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.mailscanner.info/pipermail/mailscanner/attachments/20020125/c6c60502/attachment.html


More information about the MailScanner mailing list