Skip to content

Commit eb2265b

Browse files
sirainencmouse
authored andcommitted
quota_clone: Use dict_maps directly instead of pointing to an external file
The external file wasn't even described in the documentation.
1 parent 32f5e8d commit eb2265b

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

docs/core/plugins/quota_clone.md

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,20 @@ dict_server {
6565
dict mysql {
6666
driver = sql
6767
sql_driver = mysql
68-
!include /etc/dovecot/dovecot-dict-sql.conf.inc
68+
69+
dict_map priv/quota/messages {
70+
sql_table = quota
71+
username_field = username
72+
value_field messages {
73+
}
74+
}
75+
76+
dict_map priv/quota/storage {
77+
sql_table = quota
78+
username_field = username
79+
value_field bytes {
80+
}
81+
}
6982
}
7083
}
7184

0 commit comments

Comments
 (0)