diff options
Diffstat (limited to 'doc/example-config/conf.d/auth-sql.conf.ext')
-rw-r--r-- | doc/example-config/conf.d/auth-sql.conf.ext | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/doc/example-config/conf.d/auth-sql.conf.ext b/doc/example-config/conf.d/auth-sql.conf.ext new file mode 100644 index 0000000..ccbea86 --- /dev/null +++ b/doc/example-config/conf.d/auth-sql.conf.ext @@ -0,0 +1,30 @@ +# Authentication for SQL users. Included from 10-auth.conf. +# +# <doc/wiki/AuthDatabase.SQL.txt> + +passdb { + driver = sql + + # Path for SQL configuration file, see example-config/dovecot-sql.conf.ext + args = /etc/dovecot/dovecot-sql.conf.ext +} + +# "prefetch" user database means that the passdb already provided the +# needed information and there's no need to do a separate userdb lookup. +# <doc/wiki/UserDatabase.Prefetch.txt> +#userdb { +# driver = prefetch +#} + +userdb { + driver = sql + args = /etc/dovecot/dovecot-sql.conf.ext +} + +# If you don't have any user-specific settings, you can avoid the user_query +# by using userdb static instead of userdb sql, for example: +# <doc/wiki/UserDatabase.Static.txt> +#userdb { + #driver = static + #args = uid=vmail gid=vmail home=/var/vmail/%u +#} |