Carbonio CE 25.3.0 ...
 
Notifications
Clear all

Carbonio CE 25.3.0 not show Quota usage

11 Posts
5 Users
1 Reactions
695 Views
(@lctrack)
New Member
Joined: 2 years ago
Posts: 10
Topic starter  

Hello

I test Carbonio CE 25.3.0 on Ubuntu server 22.04 LTS and I detect that in admin console not show quota usage. Is there a way to get a report on actual email quota usage?

Thanks


   
Quote
(@thaveres69)
New Member
Joined: 8 months ago
Posts: 2
 

In Carbonio CE 25.3.0, if the admin console isn't displaying quota usage, you can manually retrieve the actual email quota usage. This can be done by querying the Carbonio database using appropriate SQL commands. Specifically, the carbonio-message-dispatcher-migration script can be used to migrate user data, including quota information, from the database.


   
ReplyQuote
(@thaveres69)
New Member
Joined: 8 months ago
Posts: 2
 

To obtain a report on actual email quota usage in Carbonio CE 25.3.0, you can utilize the zmmbox command-line tool. This tool allows you to query mailbox quota usage and retrieve reports without relying on the admin console. The zmmbox utility provides specific commands for listing mailboxes and their associated quotas.


   
ReplyQuote
(@vladki)
Active Member
Joined: 5 months ago
Posts: 20
 

I have the same problem. Admin web UI - domains - mailbox quota shows 0 GB / 0% for all mailboxes. I can set quota for individual accounts, and also the user can see it through settings - general - user quota. It shows that 20 GB out of 25 is used. But admin web UI says 0 for everyone.

I cannot find the above mentioned zmmbox CLI tool, found zmmailbox instead, but it does not have any quota related commands. Anyway, we need to let delegated admin view mailbox sizes (even if quota is not set) via web UI. We do not want them to use CLI.

This post was modified 2 months ago by vladki

   
ReplyQuote
(@hvillemoes)
Active Member
Joined: 3 years ago
Posts: 19
 

Recently I discovered, that if the COS limit under COS, Advanced is 0, then mailbox sizes are not computed, or at least shown.

I changed this limit from 0 to 3 GB, and the day after the usage was shown. A side effect was, that all users with higher usage than 3 GB had both in- and outgoing mail blocked 🙂

/ Harald

This post was modified 4 weeks ago by hvillemoes

   
ReplyQuote
(@sharif)
Reputable Member Admin
Joined: 4 years ago
Posts: 883
 

@hvillemoes 

Here 0 value in Mails Account Quota represents that the quota is not set for this account(also means infinite). It calculates but does not display it. On the other hand, when you explicitly set quota only then it shows how much quota is set/used.

Regards,


   
ReplyQuote
(@hvillemoes)
Active Member
Joined: 3 years ago
Posts: 19
 

@sharif 

This command run as zextra also does the job. One may continue in librecalc if so required.

zmprov gqu mail.vrc.dk | awk '{ $2="";suffix=" KMGT"; for(i=1; $3>1024 && i < length(suffix); i++) $3/=1024; printf "%6s%c ...%s\n", int($3),substr(suffix, i, 1), $1; }' | sort -h|awk '{ print $1 "; " $2 }'


   
Sharif reacted
ReplyQuote
(@vladki)
Active Member
Joined: 5 months ago
Posts: 20
 

Posted by: @hvillemoes

Recently I discovered, that if the COS limit under COS, Advanced is 0, then mailbox sizes are not computed, or at least shown.

I changed this limit from 0 to 3 GB, and the day after the usage was shown. A side effect was, that all users with higher usage than 3 GB had both in- and outgoing mail blocked 🙂

/ Harald

Unfortunately this did not work for me. I set quota to 200 GB in default COS, added the defualt COS to some domains, waited one day, and still there are zeros.

Maybe because the over-quota action is allow send/receive - i.e. quota is not enforced, maybe just a warning email will be sent if anything at all?

I'm trying to enforce quotas on one of the domains, let's see tomorrow.

All my domains are imported from zimbra and thus have no COS at all - and I have explicitly added defauilt COS to a few - but they still do not calculate quotas. Could that be the problem?

Actually we did not enforce quotas on zimbra either (except for one mailbox), we just want to see the mailbox sizes in a convenient way. We do not want delegated admins to have CLI access to run zmprov gqu ...

 

 


   
ReplyQuote
(@sharif)
Reputable Member Admin
Joined: 4 years ago
Posts: 883
 

@vladki 

Please help me with following details, I will try to check it:

1. What are your objectives

2. What are the steps you are taking

3. What are the results and where you are looking it.

Regards,


   
ReplyQuote
(@vladki)
Active Member
Joined: 5 months ago
Posts: 20
 

Posted by: @sharif

@vladki 

Please help me with following details, I will try to check it:

1. What are your objectives

I want to show mailbox sizes / quotas in a user friendly way - in the web admin UI (https port 6071) - accessible to delegated admins, even if those mailboxes are not limited by quota. (But I'm OK with setting high quotas instead of unlimited).

3. What are the results and where you are looking it.

Looking in the webUI at domains / mailbox quota - I see all zeros. 

2. What are the steps you are taking

- set quota on individual mailbox (domain / accounts / click on account / mailbox quota limit)

- set quota on the whole domain (domain / mailbox quota / max mailbox quota)

- change mail-over criteria from allow to block send/receive

- set quota in default and defaultExternal CoS (CoS / advanced / mails account quota) 

I still see all zeros at domains / mailbox quota

Getting quota usage via CLI vorks: "zmprov gqu `hostname`" returns non-zero values that look good. Quota is reported correctly, mailbox sizes look reasonable.

All my domains are imported form zimbra, and in the webUI their CoS is empty. For some domains I explicitly applied the "default" CoS (domains / general / default CoS) - but that was probably not necessary. CLI is reporting the quota set in default CoS for all domains. A few accouts were imported with defaultExternal CoS, and CLI is reporting different (and correct) quota for those.

Thanks in advance for help/fix.

Vladki

 


   
ReplyQuote
(@sharif)
Reputable Member Admin
Joined: 4 years ago
Posts: 883
 

@vladki 

Current Admin Panel UI can not show the mailbox quota the way you are expecting.

So for now CLI is the only way to find more details. Just like @hvillemoes mentioned.

For you and all other users' information:

  1. In future Carbonio CE will not manage and enforce quotas
  2. Delegated admin will not be a part of Carbonio CE.

For now they work partially.

Regards,

 

 


   
ReplyQuote