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
participants (2)
-
Aki Tuomi
-
Johannes Nohl