dovecot/rootfs/etc/confd/templates/auth-oauth2.conf.ext.tmpl

22 lines
420 B
Cheetah
Raw Normal View History

2021-08-22 20:45:28 +00:00
passdb {
driver = oauth2
2021-08-23 11:15:35 +00:00
mechanisms = oauthbearer xoauth2
args = /etc/dovecot/dovecot-oauth2.token.conf.ext
}
passdb {
driver = oauth2
mechanisms = plain login
args = /etc/dovecot/dovecot-oauth2.plain.conf.ext
2021-08-22 20:45:28 +00:00
}
2021-08-23 16:44:16 +00:00
#userdb {
# driver = static
# args = uid=vmail gid=vmail username_format=%n home=/var/lib/vmail/mail/%n
#}
2021-08-22 20:45:28 +00:00
userdb {
2021-08-23 16:44:16 +00:00
driver = lua
args = file=/etc/dovecot/oauth2-userdb-lua blocking=yes
2021-08-22 20:45:28 +00:00
}