Skip to content

Commit

Permalink
quota_clone: Use dict_maps directly instead of pointing to an externa…
Browse files Browse the repository at this point in the history
…l file

The external file wasn't even described in the documentation.
  • Loading branch information
sirainen committed Oct 10, 2024
1 parent a786056 commit c42fbbf
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion docs/core/plugins/quota_clone.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,20 @@ dict_server {
dict mysql {
driver = sql
sql_driver = mysql
!include /etc/dovecot/dovecot-dict-sql.conf.inc
dict_map priv/quota/messages {
sql_table = quota
username_field = username
value_field messages {
}
}
dict_map priv/quota/storage {
sql_table = quota
username_field = username
value_field bytes {
}
}
}
}
Expand Down

0 comments on commit c42fbbf

Please sign in to comment.