On 26/01/2026 16:03, volker.jaenisch--- via dovecot wrote:
Dear Dovecot wizards!
I have a question concerning the migration from 2.3.4 to 2.4.1.
On 2.3.4 I had the following config
dict { sql_store_user_quota = pgsql:/etc/dovecot/dovecot-sql-store-user_quota.conf }
With /etc/dovecot/dovecot-sql-store-user_quota.conf:
connect = host=127.0.0.1 port=5433 dbname=dddd user=uuuu password=pppp:
map { pattern = priv/quota/storage table = fill_user username_field = username value_field = bytes } map { pattern = priv/quota/messages table = messages_user username_field = username value_field = messages }
On 2.4.1 I tried
dict_map priv/quota/storage { sql_table = emailaddress_fill username_field = emailaddress dict_map_value_field quota_bytes { type = uint } } dict fill { sql_driver = pgsql pgsql pg_mc2 { parameters { dbname = dddd host = hhhh password = ppppp user = uuuuu } } }
But it is doing nothing. Am sure I am missing something here (I guess howto connect these config snippets). Any help appreciated.
Cheers,
Volker
Hi Volker
my understanding is that Dict Quota is not available in 2.4, which could be the reason it isn't doing anything.
https://doc.dovecot.org/2.4.2/installation/upgrade/2.3-to-2.4.html
Even though I didn't get the time to upgrade to 2.4 as of yet, I already migrated on 2.3 to using the Quota Count which manages the quota internally in Dovecot and then on top of that I configured the quota-clone plugin which can replicate the data to a supported database.
John