| 192 |
- |
1 |
# Authentication for SQL users. Included from 10-auth.conf.
|
|
|
2 |
#
|
|
|
3 |
# <doc/wiki/AuthDatabase.SQL.txt>
|
|
|
4 |
|
|
|
5 |
passdb {
|
|
|
6 |
driver = sql
|
|
|
7 |
|
|
|
8 |
# Path for SQL configuration file, see example-config/dovecot-sql.conf.ext
|
|
|
9 |
args = /etc/dovecot/dovecot-sql.conf.ext
|
|
|
10 |
}
|
|
|
11 |
|
|
|
12 |
# "prefetch" user database means that the passdb already provided the
|
|
|
13 |
# needed information and there's no need to do a separate userdb lookup.
|
|
|
14 |
# <doc/wiki/UserDatabase.Prefetch.txt>
|
|
|
15 |
#userdb {
|
|
|
16 |
# driver = prefetch
|
|
|
17 |
#}
|
|
|
18 |
|
|
|
19 |
userdb {
|
|
|
20 |
driver = sql
|
|
|
21 |
args = /etc/dovecot/dovecot-sql.conf.ext
|
|
|
22 |
}
|
|
|
23 |
|
|
|
24 |
# If you don't have any user-specific settings, you can avoid the user_query
|
|
|
25 |
# by using userdb static instead of userdb sql, for example:
|
|
|
26 |
# <doc/wiki/UserDatabase.Static.txt>
|
|
|
27 |
#userdb {
|
|
|
28 |
#driver = static
|
|
|
29 |
#args = uid=vmail gid=vmail home=/var/vmail/%u
|
|
|
30 |
#}
|