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
-
- Advanced member
- Posts: 82
- Joined: Tue Sep 13, 2016 11:25 pm
-
- Advanced member
- Posts: 198
- Joined: Sat Sep 13, 2014 1:55 am
- ZCS/ZD Version: 8.8.15_GA_3869.RHEL7_64 Patch4
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
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
7224jobe wrote: you can create a script that queries Zimbra for all accounts and then, for example, filter out
or use zmaccts and grep
Who is online
Users browsing this forum: No registered users and 18 guests