File tree Expand file tree Collapse file tree 2 files changed +39
-0
lines changed
docs/installation/upgrade Expand file tree Collapse file tree 2 files changed +39
-0
lines changed Original file line number Diff line number Diff line change @@ -86,6 +86,8 @@ https://github.com/dovecot/tools/blob/main/dovecot-2.4.0-example-config.tar.gz
8686
8787<!-- @include: include/2.4-converted-settings.inc -->
8888
89+ <!-- @include: include/2.4-external-configs.inc -->
90+
8991#### Default Settings
9092
9193| Setting | Old Default | New Default | Notes |
Original file line number Diff line number Diff line change 1+ # ### External Configuration Files
2+
3+ v2 .3 configured sql, ldap and some other features using ` .conf.ext`
4+ external configuration files. These have been replaced by regular settings,
5+ which can be used in the same place where they used to be referred to before.
6+ For example:
7+
8+ ::: code- group
9+ ` ` ` [dovecot-2.3.conf]
10+ passdb {
11+ driver = mysql
12+ args = /etc/dovecot/dovecot-sql.conf.ext
13+ }
14+ ` ` `
15+
16+ ` ` ` [dovecot-2.3-sql.conf.ext]
17+ connect = host=127.0.0.1 user=mysql_user pass=mysql_pass
18+ password_query = SELECT password FROM users WHERE user = '%u'
19+ ` ` `
20+
21+ ` ` ` [dovecot-2.4.conf.ext]
22+ # Use these mysql settings globally. These could be also inside passdb sql {}
23+ mysql 127.0.0.1 {
24+ user = mysql_user
25+ pass = mysql_pass
26+ }
27+ sql_driver = mysql
28+
29+ passdb sql {
30+ query = SELECT password FROM users WHERE user = '%{user}'
31+ }
32+ ` ` `
33+ :::
34+
35+ * [[link,auth_sql]]
36+ * [[link,auth_ldap]]
37+ * [[link,auth_oauth2]]
You can’t perform that action at this time.
0 commit comments