If you need a breakdown of mailsize per users, then it might be easiest to
parse your maillog.  Each log entry showing the "from=" also shows the
sendmail message ID and the "size=".  You would need to search for the
"size=", capture the message ID number, then search the log again, for the
"to=" entry that has the same message ID number.

Ken

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Egor
Moskvichev
Sent: Thursday, April 15, 2004 1:02 AM
To: [EMAIL PROTECTED]
Subject: Re: [Mimedefang] Counting mail traffic


> Simply use the "mailstats" command.  It will give you output that you
need.

Thank you for an answer.
I've tried your method, but it's not i really need. Mailstats output is very
lack of information:

Statistics from Thu Apr 15 12:49:43 2004
 M   msgsfr  bytes_from   msgsto    bytes_to  msgsrej msgsdis  Mailer
 3        0          0K        5         20K        0       0  local
 5        4         19K        0          0K        0       0  esmtp
=============================================================
 T        4         19K        5         20K        0       0
 C        6                    2                    0

I need to know mail traffic for each user exactly.

Egor Mockvichev

_______________________________________________
Visit http://www.mimedefang.org and http://www.canit.ca
MIMEDefang mailing list
[EMAIL PROTECTED]
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang
_______________________________________________
Visit http://www.mimedefang.org and http://www.canit.ca
MIMEDefang mailing list
[EMAIL PROTECTED]
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang
  • ... Егор Москвичев
    • ... Cormack, Ken
      • ... Egor Moskvichev
    • ... Cormack, Ken
      • ... Egor Moskvichev

Reply via email to