Re: Dovecot 2.4 SETQUOTA, how to allow (admin) users to set quota (and write it back to LDAP)

Aki Tuomi via dovecot <[email protected]> Mon, 13 Apr 2026 14:34:48 +0300 (EEST)
Newsgroups gmane.mail.imap.dovecot
Message-ID <653989562.3752.1776080088903@appsuite-pro-sync-core-mw-groupware-0.appsuite-pro-sync-core-mw-hazelcast-headless.appsuite-dev.svc.cluster.local>
> On 13/04/2026 14:11 EEST Johannes Nohl via dovecot <[email protected]> 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/[email protected]/message/UYNR6GBP25XEGFCS633SWPR4HXV3NSS3/
> 
> 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
> [email protected]
> _______________________________________________


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

_______________________________________________
dovecot mailing list -- [email protected]
To unsubscribe send an email to [email protected]