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
Statistics
-
- Outstanding Member
- Posts: 284
- Joined: Sat Sep 13, 2014 1:55 am
- ZCS/ZD Version: 8.8.15_FOSS Patch38
Re: Statistics
Hello,
to get when an account was created or last logged in you could use zmprov shell command as zimbra user:
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...
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
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
or use zmaccts and grep7224jobe wrote: you can create a script that queries Zimbra for all accounts and then, for example, filter out