User Mailbox statistics

Discuss your pilot or production implementation with other Zimbra admins or our engineers.
rsmith999
Posts: 2
Joined: Fri May 06, 2016 4:46 pm

User Mailbox statistics

Postby rsmith999 » Wed Aug 10, 2016 11:19 pm

All -

I am looking for a way (admin console or script) that will allow me to gather user mailbox statistics.
Specifically - user name, e-mail address, # e-mail sent, # e-mail received.

I have searched ad nauseum and cannot find an answer to this one. I am aware of the daily e-mail that lists top senders but I need to run this over a timeframe and/or lifetime of the server (it's 2 years old).
Is there a database field somewhere I can query to gather the information? I don't mind manually compiling this as it is a one time deal.

Thanks,

Rick


User avatar
esafonov
Posts: 24
Joined: Tue Jul 05, 2016 3:38 am

Re: User Mailbox statistics

Postby esafonov » Fri Aug 12, 2016 6:47 am

I suppose there is no secret place, where all this information collected.

Sending email :
1) add strings to log file (/var/log/maillog and /var/log/zimbra.log)
2) and (sometimes) adds message to a user folder

If you have not collected log files for 2 years,
and user have not collected all messages sent,
- then there is no way to count.
phoenix
Ambassador
Ambassador
Posts: 26711
Joined: Fri Sep 12, 2014 9:56 pm
Location: Liverpool, England

Re: User Mailbox statistics

Postby phoenix » Fri Aug 12, 2016 9:08 am

There is no 'secret place' for the mail counts, you'd have to produce them from the log files. As you've mentioned, unless you've kept the files for two years then you're out of luck. You can either put a mail gateway in front of ZCS that has a feature for collecting stats or forward the log files to a central syslog server and produce the information from that.
Regards

Bill

Rspamd: A high performance spamassassin replacement

Per ardua ad astra

Return to “Administrators”

Who is online

Users browsing this forum: No registered users and 26 guests