Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Bandwidth usage monitoring

Status
Not open for further replies.

Nephila

Programmer
May 14, 2002
13
ZA
I have postfix setup using amavisd on linux. I'd like to know how much bandwidth each user is using, ie: monitor the bandwidth each mailbox sends and recieves. Any ideas how to do this?
 
You could set up a filter that would accumulate statistics. It would incorporate into postfix the same way as amavisd.
 
Hi, I was thinking along those lines, any idea how to go about it? Sorry, but I am a n00b at this and haven't found anything helpful on google.
 
Personally, I would write a filter script in my language of my choice that would read mail from stdin, parse out the sender address, count the number of characters in the message body and accumulate that information to a database table to be queried later.

But how to do that has nothing to do with postfix is completely beyond the scope of this form.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top