Sergio, Eric,
It's nothing really worth worldwide attention. It's a simple php
script that collects data from various sources and aggregates them.
Here is the relevant part:
$res = sprintf( Antispam Statistics for: .date('d/m/Y',
time()-86400).
Mirko,
That answers the 'pretty formatting' part, but the meat of the sandwich
is collecting the stats. I'm afraid that Virus stats are collected
through clamav, bad_sender/rcpt are chkuser GREPs, and so on leaves us
hanging. :(
The data collection code is what I'm most interested in. Are the
Hi Eric,
At 06:50 03/09/2009 -0700, you wrote:
Mirko,
That answers the 'pretty formatting' part, but the meat of the sandwich
is collecting the stats. I'm afraid that Virus stats are collected
through clamav, bad_sender/rcpt are chkuser GREPs, and so on leaves us
hanging. :(
You can collect
Mirko Buffoni wrote:
Hi Eric,
At 06:50 03/09/2009 -0700, you wrote:
Mirko,
That answers the 'pretty formatting' part, but the meat of the sandwich
is collecting the stats. I'm afraid that Virus stats are collected
through clamav, bad_sender/rcpt are chkuser GREPs, and so on leaves us
Hey list,
I just looked at those stats and compared the output to what I am having
on our boxes and I started wondering:
When I check the log files, Spamdyke logs the following
FILTER_RBL_MATCH : When listed in the RDNS
DENIED_RBL_MATCH : For each recipient address in the mail
So basically it
I don't have any FILTER_RBL messages. I'm using log-level=2.
What log level are you using?
I think that it's appropriate to count each recipient as a separate
email. If the message came from a qmail server, it would be that way
anyhow. And after all, that's how many messages end up being
Hey Eric,
Yeah, my log level is higher - didn't think about that.
I was more thinking about a statistic for the incoming connection. If
you look at it as a mail counter for mails being delivered, yeah, DENIED
makes way more sense.
I will just keep the counters like they are now, they still give
spamdyke does not change the way incoming emails are received or
processed on a qmail server. Without spamdyke, an incoming connection
is accepted by a daemon called tcpserver, which starts a program
called qmail-smtpd and exits. qmail-smtpd communicates with the
remote server and accepts or