With help from the list I wrote this script a while back.  The script emails
the users and the postmaster stats on tmda.  Maybe it will give you some
ideas.

Note: I am not much a coder so if a cleaner way to do this can be found I
would be interested in seeing it.

Darley

----- Original Message ----- 
From: "Mike Usmar" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, July 01, 2003 18:57
Subject: Statistics


> Hi All,
>
> Just a quick question on stats, if it hasn't been asked before.
> I want to able to record how many emails are either being dropped or
bounced
> from all our customers blacklists (we as an ISP implement a spamfilter
based
> on tmda to our customers).
> This is just for statistic purposes, to gauge how much spam is being
bounced
> from the customers using the filters.
>
> The only way I have thought of, is to add the following to each customers
> .tmdarc config file:
> FILTER_BOUNCE_CC = "spamstats @ actrix.co.nz"
> FILTER_DROP_CC       = "spamstats @ actrix.co.nz"
> (without the spaces obviously)
>
> And have that mailbox spamstats setup to receive all bounces, and then I
can
> just run a daily cronjob to check that mailbox for mail, count it, write
the
> count to a log, and delete the mail.
>
> However, doing it this way, creates more mail for the mailservers, by
coping
> all bounced/dropped spam to that stats mailbox.
> Is there any other way I could record numbers?
>
> Thanks.
>
> Regards
> Mike Usmar
> Web/IT/CyberFilter Developer
> Actrix Networks Ltd
> [EMAIL PROTECTED]
> 0800 ACTRIX (228749) - ext 411
> ____________________________
>
> _____________________________________________
> tmda-users mailing list ([EMAIL PROTECTED])
> http://tmda.net/lists/listinfo/tmda-users
>
>

Attachment: tmda.sh
Description: Binary data

Reply via email to