Dovecot 2.4 SETQUOTA, how to allow (admin) users to set quota (and write it back to LDAP)
Is it true that Dovecot dismissed the functionality of SETQUOTA with version 2.4.0 - without any replacement? see https://dovecot.org/mailman3/archives/list/dovecot-news@dovecot.org/message/...
Does this also applies to 2.4.2 and 2.4.3, or does the mechanism of plugin imap_quota returned (manual reads that there are no options to this plugin)?
IMAP always replies c008 NO [NOPERM] Permission denied (0.001 + 0.000 secs).
If you can activate the former quota_set option, how to combine it with LDAP? I know that you can read Quota from LDAP with userdb field quota_storage_size = {ldap:quotaBytes}B. But how to set it?
I also remember an old opinion that writing LDAP is to slow, you should store quota e.g. in a text file and write it back to LDAP time shifted. That would be fine for me - however, how to enable SETQUOTA then?
Thank you for help.
-- Johannes Nohl postmaster@i-t-cloud.de
On 13/04/2026 14:11 EEST Johannes Nohl via dovecot <dovecot@dovecot.org> wrote:
Is it true that Dovecot dismissed the functionality of SETQUOTA with version 2.4.0 - without any replacement? see https://dovecot.org/mailman3/archives/list/dovecot-news@dovecot.org/message/...
Does this also applies to 2.4.2 and 2.4.3, or does the mechanism of plugin imap_quota returned (manual reads that there are no options to this plugin)? IMAP always replies
c008 NO [NOPERM] Permission denied (0.001 + 0.000 secs).If you can activate the former
quota_setoption, how to combine it with LDAP? I know that you can read Quota from LDAP with userdb fieldquota_storage_size = {ldap:quotaBytes}B. But how to set it?I also remember an old opinion that writing LDAP is to slow, you should store quota e.g. in a text file and write it back to LDAP time shifted. That would be fine for me - however, how to enable SETQUOTA then?
Thank you for help.
-- Johannes Nohl postmaster@i-t-cloud.de
There has never been LDAP write support in Dovecot, so using SETQUOTA would've been useless.
I would recommend managing quota with something else than over IMAP.
Aki
Am Mo 13.04.26 , schrieb Aki Tuomi:
On 13/04/2026 14:11 EEST Johannes Nohl via dovecot <dovecot@dovecot.orgwrote:
Is it true that Dovecot dismissed the functionality of SETQUOTA with version 2.4.0 - without any replacement? see > > https://dovecot.org/mailman3/archives/list/dovecot-news@dovecot.org/message/...
There has never been LDAP write support in Dovecot, so using SETQUOTA would've been useless.
I would recommend managing quota with something else than over IMAP.
Dear Aki,
just to clarify, I understand there's no write support for LDAP. Does dovecot 2.4.x comes with any other mechanism to receive SETQUOTA (storage in e.g. text file)? Can I use any similar to quota_set option, not necessarily related to LDAP? Thanks.
-- Johannes Nohl
postmaster@i-t-cloud.de
Am Mo 13.04.26 , schrieb Aki Tuomi:
On 13/04/2026 14:11 EEST Johannes Nohl via dovecot
<dovecot@dovecot.orgwrote:
Is it true that Dovecot dismissed the functionality of SETQUOTA with
version 2.4.0 - without any replacement?
see
[1]https://dovecot.org/mailman3/archives/list/dovecot-news@dovecot.org/message/UYNR6GBP25XEGFCS633SWPR4HXV3NSS3/
There has never been LDAP write support in Dovecot, so using SETQUOTA
would've been useless.
I would recommend managing quota with something else than over IMAP.
Dear Aki,
just to clarify, I understand there's no write support for LDAP. Does
dovecot 2.4.x comes with any other mechanism to receive SETQUOTA (storage
in e.g. text file)? Can I use any similar to quota_set option, not
necessarily related to LDAP? Thanks.
--
Johannes Nohl postmaster@i-t-cloud.de
References
Visible links
On 04/20/2026 10:08 AM MDT Johannes Nohl via dovecot <dovecot@dovecot.org> wrote:
Am Mo 13.04.26 , schrieb Aki Tuomi:
On 13/04/2026 14:11 EEST Johannes Nohl via dovecot <dovecot@dovecot.orgwrote:
Is it true that Dovecot dismissed the functionality of SETQUOTA with version 2.4.0 - without any replacement? see > > https://dovecot.org/mailman3/archives/list/dovecot-news@dovecot.org/message/...
There has never been LDAP write support in Dovecot, so using SETQUOTA would've been useless.
I would recommend managing quota with something else than over IMAP.
Dear Aki, just to clarify, I understand there's no write support for LDAP. Does dovecot 2.4.x comes with any other mechanism to receive SETQUOTA (storage in e.g. text file)? Can I use any similar to
quota_setoption, not necessarily related to LDAP?
You should directly write/provision the value in your local userdb.
It would be a full-time job to abstract all the ways you could potentially write to the variety of userdb's that Dovecot supports, so it's just not something we pretend to support in the software anymore.
michael
participants (3)
-
Aki Tuomi
-
Johannes Nohl
-
Michael Slusarz