[Mimedefang] Counting mail traffic
Cormack, Ken
kcormack at acs.roadway.com
Fri Apr 16 08:15:37 EDT 2004
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: mimedefang-bounces at lists.roaringpenguin.com
[mailto:mimedefang-bounces at lists.roaringpenguin.com]On Behalf Of Egor
Moskvichev
Sent: Thursday, April 15, 2004 1:02 AM
To: mimedefang at lists.roaringpenguin.com
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
MIMEDefang at lists.roaringpenguin.com
http://lists.roaringpenguin.com/mailman/listinfo/mimedefang
More information about the MIMEDefang
mailing list