Thank you so much! I didn't pay attention to the braces. It's working as intended now.
Best regards,
Felipe Carneiro
On 9/28/26 06:16, Aki Tuomi wrote:
On 28/09/2026 09:01 EEST Felipe Carneiro via dovecot<dovecot@dovecot.org> wrote:
Hi, Thanks for your reply.
This is my current configuration, following this example: https://doc.dovecot.org/2.4.4/core/plugins/quota_clone.html
Quota is currently being applied, usage shown in the Roundcube IMAP client, but not being updated to the mysql database.
*30-dict-server.conf :*
dict_server { # dict quota { dict mysql { driver = sql sql_driver = mysql hostname = localhost dict_map priv/quota/storage { sql_table = quota2 username_field = username value_field bytes { } } dict_map priv/quota/messages { sql_table = quota2 username_field = username value_field messages { } } } quota_clone { dict proxy { name = mysql } } } You have wrong scope here, the quota_clone should be outside dict_server.
Aki
Thank you so much! I didn't pay attention to the braces. It's working as intended now.
Best regards,
Felipe Carneiro
On 9/28/26 06:16, Aki Tuomi wrote:
On 28/09/2026 09:01 EEST Felipe Carneiro via dovecot [1]<dovecot@dovecot.org> wrote:
Hi, Thanks for your reply.
This is my current configuration, following this example: [2]https://doc.dovecot.org/2.4.4/core/plugins/quota_clone.html
Quota is currently being applied, usage shown in the Roundcube IMAP client, but not being updated to the mysql database.
*30-dict-server.conf :*
dict_server {
dict quota {
dict mysql {
driver = sql
sql_driver = mysql
hostname = localhost
dict_map priv/quota/storage {
sql_table = quota2
username_field = username
value_field bytes {
}
}
dict_map priv/quota/messages {
sql_table = quota2
username_field = username
value_field messages {
}
}
}
quota_clone {
dict proxy {
name = mysql
}
}
}
You have wrong scope here, the quota_clone should be outside dict_server.
Aki
References
Visible links
- mailto:dovecot@dovecot.org
- https://doc.dovecot.org/2.4.4/core/plugins/quota_clone.html