On Mon, Aug 28, 2000 at 03:25:56PM +0100, Daniel Conlon wrote:
> Our hosting service like many others imposes a monthly data transfer allowance. The
>data transfer through http is fairly easy to calculate from apache log files. How can
>I calculate the data transfer through both incoming smtp and outgoing pop for each of
>my users?
SMTP:
the logs are something like:
info msg AAAAAA: bytes SSSS from <someone@somewhere> qp 25392 uid
502
starting delivery 5: msg AAAAAA to local [EMAIL PROTECTED]
Through the delivery number (AAAAAA) you can match this kind of lines. The
first one tells you the size (SSSS), the second one will give you the local
user.
POP3: AFAIK... no luck.
RC
--
+-------------------
| Ricardo Cerqueira
| PGP Key fingerprint - B7 05 13 CE 48 0A BF 1E 87 21 83 DB 28 DE 03 42
| Novis - Engenharia ISP / Rede Técnica
| Pç. Duque Saldanha, 1, 7º E / 1050-094 Lisboa / Portugal
| Tel: +351 21 0100000 - Fax: +351 21 0100001
PGP signature