WIP: dovecot 2.4 support

This commit is contained in:
Antoine Nguyen
2025-09-16 09:43:18 +02:00
parent e56868072f
commit 4b0c9e4376
38 changed files with 1737 additions and 31 deletions

View File

@@ -0,0 +1,42 @@
##
## Dictionary server settings
##
# Dictionary can be used to store key=value lists. This is used by several
# plugins. The dictionary can be accessed either directly or though a
# dictionary server. The following dict block maps dictionary names to URIs
# when the server is used. These can then be referenced using URIs in format
# "proxy::<name>".
dict_server {
dict quota {
driver = sql
sql_driver = %db_driver
hostname = %dbhost
dbname = %modoboa_dbname
user = %modoboa_dbuser
password = %modoboa_dbpassword
dict_map priv/quota/storage {
sql_table = admin_quota
username_field = username
value_field bytes {
type = uint
}
}
dict_map priv/quota/messages {
sql_table = admin_quota
username_field = username
value_field messages {
type = uint
}
}
}
}
quota_clone {
dict proxy {
name = quota
}
}