On 27/01/2022 10:29, pmenzel+cyrus.topicbox.com@xxxxxxxxxxxxx wrote:
Dear Cyrus folks,
For an evaluation of the IT group, we need statistics. Does Cyrus
offer some statistics, on the number and sizes of inboxes and users,
average message sizes, transfer, …? Or do you know of scripts scraping
the file system and log files?
I am doubtful such statistics would give any meaningful insight on an
IT group performance, but it’s what management wants.
Hello,
We wrote a post-processor to the output of 'mbexamine' that condenses
the numbers considered most useful into a one-line-per-folder format.
We also perform a daily quota listing:
% cd quotareports
% ls -l|tail -1
-rw-r--r-- 1 cyrus mail 566821 Jan 27 06:05 quotareport_0127.gz
% gunzip -c quotareport_0127.gz | head -2
Quota % Used Used Root
1024000 11 114940 user/aaaXYZ
% gunzip -c quotareport_0127.gz | awk ' { s += $3 } END { print NR,s } '
67798 6786136646
mcs1%
% ctl_mboxlist -d | wc -l
239979
6.7 Terabyte of active mailbox data (+50% of ZFS snapshots kept for 180
days), 67798 users, 239979 mail folders
Every Sunday we produce a complete inventory using the mbexamine
postprocessor, this takes approximately one hour and three quarters.
Eric Luyten, VUB IT.
------------------------------------------
Cyrus: Info
Permalink: https://cyrus.topicbox.com/groups/info/Tbf8afd981dc19a57-M3800131bbd7489642e61ec46
Delivery options: https://cyrus.topicbox.com/groups/info/subscription