Page 1 of 1

Statistics

Posted: Wed Jan 16, 2019 9:21 pm
by Marcosebas
Dear All,

I would like to get some statistics from my ZCS 8.6.

I would like to know how many accounts were used during 2018 and how many mails were sent during that year.

Is it possible?

Best,

Marco

Re: Statistics

Posted: Thu Jan 17, 2019 10:43 am
by 7224jobe
Hello,
to get when an account was created or last logged in you could use zmprov shell command as zimbra user:

Code: Select all

zmprov getAccount name.surname@domain.it | grep -i timestamp


will return zimbraCreateTimestamp and zimbraLastLogonTimestamp attributes: you can create a script that queries Zimbra for all accounts and then, for example, filter out only the accounts that were created in 2018.

Talking about the total of email sent in 2018 I think that it is not possible, unless you keep zimbra log files or /var/log/mail.log for an year...

Re: Statistics

Posted: Thu Jan 17, 2019 1:46 pm
by gabrieles
7224jobe wrote: you can create a script that queries Zimbra for all accounts and then, for example, filter out

or use zmaccts and grep