Mental Patient on Tue, 23 Jul 2002 02:30:12 +0200


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] Script advice please?


Kam Salisbury wrote:
Though this may be a great opportunity to learn my perl scripting skill better, does anyone know of a script or utility that does bandwidth accounting per virtual domain?


Apache should be drop dead simple. Its all in the logs, or it can be easily.


Sendmail does log the data if you set the log level to like 9 or so. You just need to match up the msgid's. There's 2 lines logged per message. One line for when you recieved it, where, etc and one for who it wound up being delivered to, when, etc. The size of the message is reported both times. Check out anteater, it probably does what you want, or its close enough that it'll get you started.
http://anteater.drzoom.ch/





_________________________________________________________________________ Philadelphia Linux Users Group -- http://www.phillylinux.org Announcements - http://lists.netisland.net/mailman/listinfo/plug-announce General Discussion -- http://lists.netisland.net/mailman/listinfo/plug