Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Jun 2003 16:12:48 -0400
From:      Dragoncrest <dragoncrest@voyager.net>
To:        spamassassin-talk@lists.sourceforge.net, freebsd-questions@FreeBSD.ORG
Subject:   Need a little help with a proof of concept cgi.
Message-ID:  <5.2.0.9.2.20030625160311.00a09b10@pop.voyager.net>

next in thread | raw e-mail | index | archive | help
	hi all.  I've got a little proof of concept idea I want to do and I was 
looking to get some advice from some of the CGI experts on this list to 
help me with it.  What I want to do is simple.  I have like 3 users I want 
to track and retrieve the following stats on.

	1.  Total number of total messages received since XX date @ xx 
time.  (since last clearing of counter)
	2.  Total number of messages filtered as spam.
	3.  Total number of messages filtered as viruses.

	I'm sure that there has to be a way to do a very simple cgi script that 
will be able to be called each time an email is received and after it is 
sorted so as to increment the individual counters related to each of the 
sorting criteria.  Then when someone loads the cgi script via a web browser 
off your web server they can see the stats for each user and clear the 
counters/mailboxes if necessary.  The stats would be my biggest 
concern.  I'm no huge cgi expert and I also figured that this might be 
useful for a lot of other people in some form so I'm sharing the idea in 
hopes that those of you with more experience with CGI might be able to come 
up with a working cgi script.  I don't think it will be anything huge, but 
I'm unsure where to start.  Thanks for the input everyone!  :)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5.2.0.9.2.20030625160311.00a09b10>