IMAP QUOTA - Not able to remove quota limits

IMAP QUOTA limits are always returned even if no domain default limit and no user override is set.

-- WebAdmin --
 Manage Domains > Domain > Account Defaults > Quotas and Restrictions
'Quotas and Restrictions' = 5000000K
'Limit total number of messages to:' = Unchecked
'Limit each folder size to:' = Unchecked
'Limit total number of messages to:' = Unchecked

.

-- CLI --
<#> update domain example.com
<domain#> update account testuser
<domain-account#> config Quota
<domain-account-quota#> show
messageCount = 10000000 [inherited]
messageSize = 5000000 [inherited]
totalMessageCount = 100000000 [inherited]
totalMessageSize = 5000000 [inherited]
<domain-account-quota#> done
<domain-account#> back
<domain#> config accountDefaultQuotas
<domain-accountDefaultQuotas#> show
messageCount = 10000000
messageSize = 4294967295
totalMessageCount = 100000000
totalMessageSize = 5000000

.

-- IMAP --
> a GETQUOTAROOT ""
< * QUOTAROOT "" "/" ""
< * QUOTA "/" (STORAGE 0 4294967295 MESSAGE 0 10000000)
< * QUOTA "" (STORAGE 728711 5000000 MESSAGE 64933 100000000)
< a OK GETQUOTAROOT completed

Now the big problem here is that is is impossible to not set (messageCount, messageSize, totalMessageCount, totalMessageSize). If via the WebAdmin uncheck the box for these the will default to the maximum allowed value.

Expected behaviour if these setting have been uncheck via WebAdmin or the value is say 0 (zero) is to not apply the limit and to not send the respective IMAP QUOTA response

-- IMAP --
> a GETQUOTAROOT ""
< * QUOTAROOT "" "/" ""
< * QUOTA "" (STORAGE 728711 5000000)
< a OK GETQUOTAROOT completed

Expected IMAP QUOTA response if the WebAdmin is set like above/top

Hello Tim,

Thank you for your message.

I’ve check it and could only say that this is the way Axigen has chosen to implement the quota IMAP extension (from RFC 2087)
It means that we choose to specify the maximum imposed values we have currently in our code.

Could you let us know which is your specific IMAP client / implementation that could not deal with our QUOTA response?

HTH,
Ioan

Hi indreias

Tested macOS 10.13.6 thru 11.3.1 Mail app

Also Thunderbird 78 displays a 4TB quota if a per folder quota is not set

This use of multiple quota roots is not commonly supported

It should be possible to not set any limits per folder but Axigen currently is not behaving in the manner that the WebAmin shows e.g. if in WebAdmin you uncheck all domain account default quota limits, Axigen does not remove the quota limit it just sets it to the maximum allowed value

I’m currently managing a client site of 18 Mac users. If I can’t get this resolved I’ll have to move them and another few clients from Axigen to an alternative

Hello Tim,

I have no other idea than the obvious one which is to set all needed quotas values (from CLI or WebAdmin > Domain > Account Defaults > Quotas & Restrictions > Quotas) instead of leaving them set to the maximum allowed values.

I’m sorry that there seems to be no other options at this moment.

BR,
Ioan