doing email traffic accounting (was: Re: email)

Joost van Baal joostvb at logreport.org
Mon Jan 27 21:35:20 CET 2003


On Mon, Jan 27, 2003 at 03:36:22PM +0300, ÷ÉÔÁÌÉÊ wrote:
> 
> i'm trying to configure email accounting.
> i have three different kind of users: foreign users, local users (free traffic), and inet users (traffic for pay); and two kind of nets: local and inet. i'm trying to calculate byte-traffic of users by following rules:
> 1.if recipient is own user - pay-traffic comes to the user.
> 2.if recipient is an foreign user - pay-traffic comes to the sender.
> 3.pay-traffic comes from localnet and from inet should be in different records (because of difference in cost). kind of net should be determine by ip (!).
> (optional 4.if recipient and sender are foreign users i should be alerted)
> 
> how to configure this? what options and rules should i use?

This depends on how you differ your three kind of users.  By client IP?
By envelope From email address?

In first case, you could do with tcp/ip traffic logging.  In second
case, parsing the email log seems the way to go.

Bye,

Joost

-- 
.    .                                        http://logreport.com/
| '.|                        /^LogReport$/
| Lire                                        http://logreport.org/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.logreport.org/pipermail/questions/attachments/20030127/28051f3b/attachment.bin 


More information about the Questions mailing list