On Mon, Aug 20, 2007 at 12:06:21PM +0700, sato x wrote:
> Hi guys,
> 
> I'm trying to count incoming and outgoing email that flew through my
> qmail-ldap server. For the incoming spam, currently I have made a
> table (with mysql), count any row in /var/log/maillog that contains
> the words "identified spam" and update the table according to the
> result. I want to be sure if the way I used was right. Then if want to
> count the number of all the incoming emails, clear emails, etc, which
> keywords should I choose? Does each row in /var/log/maillog represent
> 1 incoming mail? Nb. I use simscan to filter all incoming mails from
> remote domain.
> 
> Similar to the incoming mail, which keywords should I choose if I want
> to count all the emails that processed by qmail-send? Is  "starting
> delivery" in /var/qmail/service/qmail/log/main/current correct? That's
> it. Thank you for your help.

Have a look at qmailmrtg:
http://www.inter7.com/index.php?page=qmailmrtg7

The output may look like this:
http://files.haeckser.net/qmailmrtg/
(Just a copy.)

Bye,
    Aiko
-- 
:wq

Attachment: pgpyJ4riWXDMg.pgp
Description: PGP signature

Reply via email to